Interface RemovePolicyGrantRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<RemovePolicyGrantRequest.Builder,
,RemovePolicyGrantRequest> DataZoneRequest.Builder
,SdkBuilder<RemovePolicyGrantRequest.Builder,
,RemovePolicyGrantRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
RemovePolicyGrantRequest
@Mutable
@NotThreadSafe
public static interface RemovePolicyGrantRequest.Builder
extends DataZoneRequest.Builder, SdkPojo, CopyableBuilder<RemovePolicyGrantRequest.Builder,RemovePolicyGrantRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.domainIdentifier
(String domainIdentifier) The ID of the domain where you want to remove a policy grant.entityIdentifier
(String entityIdentifier) The ID of the entity from which you want to remove a policy grant.entityType
(String entityType) The type of the entity from which you want to remove a policy grant.entityType
(TargetEntityType entityType) The type of the entity from which you want to remove a policy grant.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.policyType
(String policyType) The type of the policy that you want to remove.policyType
(ManagedPolicyType policyType) The type of the policy that you want to remove.default RemovePolicyGrantRequest.Builder
principal
(Consumer<PolicyGrantPrincipal.Builder> principal) The principal from which you want to remove a policy grant.principal
(PolicyGrantPrincipal principal) The principal from which you want to remove a policy grant.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientToken
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
- Parameters:
clientToken
- A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainIdentifier
The ID of the domain where you want to remove a policy grant.
- Parameters:
domainIdentifier
- The ID of the domain where you want to remove a policy grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityIdentifier
The ID of the entity from which you want to remove a policy grant.
- Parameters:
entityIdentifier
- The ID of the entity from which you want to remove a policy grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityType
The type of the entity from which you want to remove a policy grant.
- Parameters:
entityType
- The type of the entity from which you want to remove a policy grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityType
The type of the entity from which you want to remove a policy grant.
- Parameters:
entityType
- The type of the entity from which you want to remove a policy grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyType
The type of the policy that you want to remove.
- Parameters:
policyType
- The type of the policy that you want to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
policyType
The type of the policy that you want to remove.
- Parameters:
policyType
- The type of the policy that you want to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
principal
The principal from which you want to remove a policy grant.
- Parameters:
principal
- The principal from which you want to remove a policy grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principal
default RemovePolicyGrantRequest.Builder principal(Consumer<PolicyGrantPrincipal.Builder> principal) The principal from which you want to remove a policy grant.
This is a convenience method that creates an instance of thePolicyGrantPrincipal.Builder
avoiding the need to create one manually viaPolicyGrantPrincipal.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprincipal(PolicyGrantPrincipal)
.- Parameters:
principal
- a consumer that will call methods onPolicyGrantPrincipal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
RemovePolicyGrantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
RemovePolicyGrantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-