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”.
14428 14429 14430 |
// File 'service/s3/api.go', line 14428
|
func (s *Grant) SetGrantee(v *Grantee) *Grant
SetGrantee sets the Grantee field's value.
14448 14449 14450 14451 |
// File 'service/s3/api.go', line 14448
|
func (s *Grant) SetPermission(v string) *Grant
SetPermission sets the Permission field's value.
14454 14455 14456 14457 |
// File 'service/s3/api.go', line 14454
|
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”.
14419 14420 14421 |
// File 'service/s3/api.go', line 14419
|