Interface RemovePolicyGrantRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<RemovePolicyGrantRequest.Builder,RemovePolicyGrantRequest>,DataZoneRequest.Builder,SdkBuilder<RemovePolicyGrantRequest.Builder,RemovePolicyGrantRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- RemovePolicyGrantRequest
public static interface RemovePolicyGrantRequest.Builder extends DataZoneRequest.Builder, SdkPojo, CopyableBuilder<RemovePolicyGrantRequest.Builder,RemovePolicyGrantRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RemovePolicyGrantRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.RemovePolicyGrantRequest.BuilderdomainIdentifier(String domainIdentifier)The ID of the domain where you want to remove a policy grant.RemovePolicyGrantRequest.BuilderentityIdentifier(String entityIdentifier)The ID of the entity from which you want to remove a policy grant.RemovePolicyGrantRequest.BuilderentityType(String entityType)The type of the entity from which you want to remove a policy grant.RemovePolicyGrantRequest.BuilderentityType(TargetEntityType entityType)The type of the entity from which you want to remove a policy grant.RemovePolicyGrantRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RemovePolicyGrantRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)RemovePolicyGrantRequest.BuilderpolicyType(String policyType)The type of the policy that you want to remove.RemovePolicyGrantRequest.BuilderpolicyType(ManagedPolicyType policyType)The type of the policy that you want to remove.default RemovePolicyGrantRequest.Builderprincipal(Consumer<PolicyGrantPrincipal.Builder> principal)The principal from which you want to remove a policy grant.RemovePolicyGrantRequest.Builderprincipal(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, sdkFields
-
-
-
-
Method Detail
-
clientToken
RemovePolicyGrantRequest.Builder clientToken(String 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
RemovePolicyGrantRequest.Builder domainIdentifier(String 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
RemovePolicyGrantRequest.Builder entityIdentifier(String 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
RemovePolicyGrantRequest.Builder entityType(String 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:
TargetEntityType,TargetEntityType
-
entityType
RemovePolicyGrantRequest.Builder entityType(TargetEntityType 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:
TargetEntityType,TargetEntityType
-
policyType
RemovePolicyGrantRequest.Builder policyType(String 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:
ManagedPolicyType,ManagedPolicyType
-
policyType
RemovePolicyGrantRequest.Builder policyType(ManagedPolicyType 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:
ManagedPolicyType,ManagedPolicyType
-
principal
RemovePolicyGrantRequest.Builder principal(PolicyGrantPrincipal 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.Builderavoiding the need to create one manually viaPolicyGrantPrincipal.builder().When the
Consumercompletes,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:
principal(PolicyGrantPrincipal)
-
overrideConfiguration
RemovePolicyGrantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RemovePolicyGrantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-