CopyableBuilder<GrantListEntry.Builder,GrantListEntry>
, SdkBuilder<GrantListEntry.Builder,GrantListEntry>
public static interface GrantListEntry.Builder extends CopyableBuilder<GrantListEntry.Builder,GrantListEntry>
Modifier and Type | Method | Description |
---|---|---|
GrantListEntry.Builder |
constraints(GrantConstraints constraints) |
A list of key-value pairs that must be present in the encryption context of certain subsequent operations
that the grant allows.
|
GrantListEntry.Builder |
creationDate(Date creationDate) |
The date and time when the grant was created.
|
GrantListEntry.Builder |
granteePrincipal(String granteePrincipal) |
The principal that receives the grant's permissions.
|
GrantListEntry.Builder |
grantId(String grantId) |
The unique identifier for the grant.
|
GrantListEntry.Builder |
issuingAccount(String issuingAccount) |
The AWS account under which the grant was issued.
|
GrantListEntry.Builder |
keyId(String keyId) |
The unique identifier for the customer master key (CMK) to which the grant applies.
|
GrantListEntry.Builder |
name(String name) |
The friendly name that identifies the grant.
|
GrantListEntry.Builder |
operations(String... operations) |
The list of operations permitted by the grant.
|
GrantListEntry.Builder |
operations(Collection<String> operations) |
The list of operations permitted by the grant.
|
GrantListEntry.Builder |
operations(GrantOperation... operations) |
The list of operations permitted by the grant.
|
GrantListEntry.Builder |
retiringPrincipal(String retiringPrincipal) |
The principal that can retire the grant.
|
copy
apply, build
GrantListEntry.Builder keyId(String keyId)
The unique identifier for the customer master key (CMK) to which the grant applies.
keyId
- The unique identifier for the customer master key (CMK) to which the grant applies.GrantListEntry.Builder grantId(String grantId)
The unique identifier for the grant.
grantId
- The unique identifier for the grant.GrantListEntry.Builder name(String name)
The friendly name that identifies the grant. If a name was provided in the CreateGrant request, that name is returned. Otherwise this value is null.
name
- The friendly name that identifies the grant. If a name was provided in the CreateGrant request,
that name is returned. Otherwise this value is null.GrantListEntry.Builder creationDate(Date creationDate)
The date and time when the grant was created.
creationDate
- The date and time when the grant was created.GrantListEntry.Builder granteePrincipal(String granteePrincipal)
The principal that receives the grant's permissions.
granteePrincipal
- The principal that receives the grant's permissions.GrantListEntry.Builder retiringPrincipal(String retiringPrincipal)
The principal that can retire the grant.
retiringPrincipal
- The principal that can retire the grant.GrantListEntry.Builder issuingAccount(String issuingAccount)
The AWS account under which the grant was issued.
issuingAccount
- The AWS account under which the grant was issued.GrantListEntry.Builder operations(Collection<String> operations)
The list of operations permitted by the grant.
operations
- The list of operations permitted by the grant.GrantOperation
GrantListEntry.Builder operations(String... operations)
The list of operations permitted by the grant.
NOTE: This method appends the values to the existing list (if any). Use
#setOperations(java.util.Collection)
or #withOperations(java.util.Collection)
if you want to
override the existing values.
operations
- The list of operations permitted by the grant.GrantOperation
GrantListEntry.Builder operations(GrantOperation... operations)
The list of operations permitted by the grant.
NOTE: This method appends the values to the existing list (if any). Use
#setOperations(java.util.Collection)
or #withOperations(java.util.Collection)
if you want to
override the existing values.
operations
- The list of operations permitted by the grant.GrantOperation
GrantListEntry.Builder constraints(GrantConstraints constraints)
A list of key-value pairs that must be present in the encryption context of certain subsequent operations that the grant allows.
constraints
- A list of key-value pairs that must be present in the encryption context of certain subsequent
operations that the grant allows.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.