public static interface GrantListEntry.Builder extends CopyableBuilder<GrantListEntry.Builder,GrantListEntry>
| Modifier and Type | Method and Description |
|---|---|
default GrantListEntry.Builder |
constraints(Consumer<GrantConstraints.Builder> 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 |
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(Instant 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(Collection<String> operations)
The list of operations permitted by the grant.
|
GrantListEntry.Builder |
operations(String... operations)
The list of operations permitted by the grant.
|
GrantListEntry.Builder |
retiringPrincipal(String retiringPrincipal)
The principal that can retire the grant.
|
copyapply, buildGrantListEntry.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(Instant 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.GrantListEntry.Builder operations(String... operations)
The list of operations permitted by the grant.
operations - The list of operations permitted by the grant.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.default GrantListEntry.Builder constraints(Consumer<GrantConstraints.Builder> constraints)
A list of key-value pairs that must be present in the encryption context of certain subsequent operations that the grant allows.
This is a convenience that creates an instance of theGrantConstraints.Builder avoiding the need to
create one manually via GrantConstraints.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to constraints(GrantConstraints).constraints - a consumer that will call methods on GrantConstraints.Builderconstraints(GrantConstraints)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.