Struct: s3.Grant
Overview
Container for grant information.
Implemented Interfaces
s3crypto.Cipher, s3manager.ReadSeekerWriteTo, request.Validator, s3manager.WriterReadFrom
Structure Field Summary collapse
-
Grantee *Grantee
The person being granted permissions.
-
Permission *string
Specifies the permission given to the grantee.
- _ struct{}
Service Operations collapse
-
GoString() string
operation
GoString returns the string representation.
-
SetGrantee(*Grantee) *Grant
operation
SetGrantee sets the Grantee field’s value.
-
SetPermission(string) *Grant
operation
SetPermission sets the Permission field’s value.
-
String() string
operation
String returns the string representation.
-
Validate() error
operation
Validate inspects the fields of the type to determine if they are valid.
Structure Field Details
Grantee *Grantee
`type:"structure" xmlPrefix:"xsi" xmlURI:"http://www.w3.org/2001/XMLSchema-instance"`
The person being granted permissions.
Permission *string
`type:"string" enum:"Permission"`
Specifies the permission given to the grantee.
_ struct{}
`type:"structure"`
Method Details
func (s Grant) GoString() string
GoString returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
14579 14580 14581 |
// File 'service/s3/api.go', line 14579
|
func (s *Grant) SetGrantee(v *Grantee) *Grant
SetGrantee sets the Grantee field’s value.
14599 14600 14601 14602 |
// File 'service/s3/api.go', line 14599
|
func (s *Grant) SetPermission(v string) *Grant
SetPermission sets the Permission field’s value.
14605 14606 14607 14608 |
// File 'service/s3/api.go', line 14605
|
func (s Grant) String() string
String returns the string representation.
API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.
14570 14571 14572 |
// File 'service/s3/api.go', line 14570
|