BucketPolicy
Last updated
Last updated
Name | Type | Description | Notes |
---|---|---|---|
func NewBucketPolicy(statement []BucketPolicyStatement, ) *BucketPolicy
NewBucketPolicy instantiates a new BucketPolicy 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
func NewBucketPolicyWithDefaults() *BucketPolicy
NewBucketPolicyWithDefaults instantiates a new BucketPolicy 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
func (o *BucketPolicy) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *BucketPolicy) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BucketPolicy) SetId(v string)
SetId sets Id field to given value.
func (o *BucketPolicy) HasId() bool
HasId returns a boolean if a field has been set.
func (o *BucketPolicy) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *BucketPolicy) GetVersionOk() (*string, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BucketPolicy) SetVersion(v string)
SetVersion sets Version field to given value.
func (o *BucketPolicy) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (o *BucketPolicy) GetStatement() []BucketPolicyStatement
GetStatement returns the Statement field if non-nil, zero value otherwise.
func (o *BucketPolicy) GetStatementOk() (*[]BucketPolicyStatement, bool)
GetStatementOk returns a tuple with the Statement field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BucketPolicy) SetStatement(v []BucketPolicyStatement)
SetStatement sets Statement field to given value.
Id
Pointer to string
Specifies an optional identifier for the policy.
[optional]
Version
Pointer to string
Policy version
[optional]
Statement