# BucketPolicyStatementPrincipal

## Properties

| Name              | Type                     | Description | Notes       |
| ----------------- | ------------------------ | ----------- | ----------- |
| **CanonicalUser** | Pointer to **\[]string** |             | \[optional] |

## Methods

### NewBucketPolicyStatementPrincipal

`func NewBucketPolicyStatementPrincipal() *BucketPolicyStatementPrincipal`

NewBucketPolicyStatementPrincipal instantiates a new BucketPolicyStatementPrincipal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

### NewBucketPolicyStatementPrincipalWithDefaults

`func NewBucketPolicyStatementPrincipalWithDefaults() *BucketPolicyStatementPrincipal`

NewBucketPolicyStatementPrincipalWithDefaults instantiates a new BucketPolicyStatementPrincipal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

### GetCanonicalUser

`func (o *BucketPolicyStatementPrincipal) GetCanonicalUser() []string`

GetCanonicalUser returns the CanonicalUser field if non-nil, zero value otherwise.

### GetCanonicalUserOk

`func (o *BucketPolicyStatementPrincipal) GetCanonicalUserOk() (*[]string, bool)`

GetCanonicalUserOk returns a tuple with the CanonicalUser field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

### SetCanonicalUser

`func (o *BucketPolicyStatementPrincipal) SetCanonicalUser(v []string)`

SetCanonicalUser sets CanonicalUser field to given value.

### HasCanonicalUser

`func (o *BucketPolicyStatementPrincipal) HasCanonicalUser() bool`

HasCanonicalUser returns a boolean if a field has been set.
