Interface Grant.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Grant.Builder,Grant>,SdkBuilder<Grant.Builder,Grant>,SdkPojo
- Enclosing class:
- Grant
public static interface Grant.Builder extends SdkPojo, CopyableBuilder<Grant.Builder,Grant>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Grant.BuildergrantArn(String grantArn)Amazon Resource Name (ARN) of the grant.Grant.BuildergrantedOperations(Collection<AllowedOperation> grantedOperations)Granted operations.Grant.BuildergrantedOperations(AllowedOperation... grantedOperations)Granted operations.Grant.BuildergrantedOperationsWithStrings(String... grantedOperations)Granted operations.Grant.BuildergrantedOperationsWithStrings(Collection<String> grantedOperations)Granted operations.Grant.BuildergranteePrincipalArn(String granteePrincipalArn)The grantee principal ARN.Grant.BuildergrantName(String grantName)Grant name.Grant.BuildergrantStatus(String grantStatus)Grant status.Grant.BuildergrantStatus(GrantStatus grantStatus)Grant status.Grant.BuilderhomeRegion(String homeRegion)Home Region of the grant.Grant.BuilderlicenseArn(String licenseArn)License ARN.default Grant.Builderoptions(Consumer<Options.Builder> options)The options specified for the grant.Grant.Builderoptions(Options options)The options specified for the grant.Grant.BuilderparentArn(String parentArn)Parent ARN.Grant.BuilderstatusReason(String statusReason)Grant status reason.Grant.Builderversion(String version)Grant version.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
grantArn
Grant.Builder grantArn(String grantArn)
Amazon Resource Name (ARN) of the grant.
- Parameters:
grantArn- Amazon Resource Name (ARN) of the grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantName
Grant.Builder grantName(String grantName)
Grant name.
- Parameters:
grantName- Grant name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentArn
Grant.Builder parentArn(String parentArn)
Parent ARN.
- Parameters:
parentArn- Parent ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseArn
Grant.Builder licenseArn(String licenseArn)
License ARN.
- Parameters:
licenseArn- License ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
granteePrincipalArn
Grant.Builder granteePrincipalArn(String granteePrincipalArn)
The grantee principal ARN.
- Parameters:
granteePrincipalArn- The grantee principal ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
homeRegion
Grant.Builder homeRegion(String homeRegion)
Home Region of the grant.
- Parameters:
homeRegion- Home Region of the grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantStatus
Grant.Builder grantStatus(String grantStatus)
Grant status.
- Parameters:
grantStatus- Grant status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GrantStatus,GrantStatus
-
grantStatus
Grant.Builder grantStatus(GrantStatus grantStatus)
Grant status.
- Parameters:
grantStatus- Grant status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GrantStatus,GrantStatus
-
statusReason
Grant.Builder statusReason(String statusReason)
Grant status reason.
- Parameters:
statusReason- Grant status reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
Grant.Builder version(String version)
Grant version.
- Parameters:
version- Grant version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantedOperationsWithStrings
Grant.Builder grantedOperationsWithStrings(Collection<String> grantedOperations)
Granted operations.
- Parameters:
grantedOperations- Granted operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantedOperationsWithStrings
Grant.Builder grantedOperationsWithStrings(String... grantedOperations)
Granted operations.
- Parameters:
grantedOperations- Granted operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantedOperations
Grant.Builder grantedOperations(Collection<AllowedOperation> grantedOperations)
Granted operations.
- Parameters:
grantedOperations- Granted operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grantedOperations
Grant.Builder grantedOperations(AllowedOperation... grantedOperations)
Granted operations.
- Parameters:
grantedOperations- Granted operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Grant.Builder options(Options options)
The options specified for the grant.
- Parameters:
options- The options specified for the grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
default Grant.Builder options(Consumer<Options.Builder> options)
The options specified for the grant.
This is a convenience method that creates an instance of theOptions.Builderavoiding the need to create one manually viaOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptions(Options).- Parameters:
options- a consumer that will call methods onOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
options(Options)
-
-