Interface AddPolicyGrantRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<AddPolicyGrantRequest.Builder,,- AddPolicyGrantRequest> - DataZoneRequest.Builder,- SdkBuilder<AddPolicyGrantRequest.Builder,,- AddPolicyGrantRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- AddPolicyGrantRequest
- 
Method SummaryModifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.default AddPolicyGrantRequest.Builderdetail(Consumer<PolicyGrantDetail.Builder> detail) The details of the policy grant.detail(PolicyGrantDetail detail) The details of the policy grant.domainIdentifier(String domainIdentifier) The ID of the domain where you want to add a policy grant.entityIdentifier(String entityIdentifier) The ID of the entity (resource) to which you want to add a policy grant.entityType(String entityType) The type of entity (resource) to which the grant is added.entityType(TargetEntityType entityType) The type of entity (resource) to which the grant is added.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 policy that you want to grant.policyType(ManagedPolicyType policyType) The type of policy that you want to grant.default AddPolicyGrantRequest.Builderprincipal(Consumer<PolicyGrantPrincipal.Builder> principal) The principal to whom the permissions are granted.principal(PolicyGrantPrincipal principal) The principal to whom the permissions are granted.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
clientTokenA 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.
 
- 
detailThe details of the policy grant. - Parameters:
- detail- The details of the policy grant.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
detailThe details of the policy grant. This is a convenience method that creates an instance of thePolicyGrantDetail.Builderavoiding the need to create one manually viaPolicyGrantDetail.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetail(PolicyGrantDetail).- Parameters:
- detail- a consumer that will call methods on- PolicyGrantDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
domainIdentifierThe ID of the domain where you want to add a policy grant. - Parameters:
- domainIdentifier- The ID of the domain where you want to add a policy grant.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
entityIdentifierThe ID of the entity (resource) to which you want to add a policy grant. - Parameters:
- entityIdentifier- The ID of the entity (resource) to which you want to add a policy grant.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
entityTypeThe type of entity (resource) to which the grant is added. - Parameters:
- entityType- The type of entity (resource) to which the grant is added.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
entityTypeThe type of entity (resource) to which the grant is added. - Parameters:
- entityType- The type of entity (resource) to which the grant is added.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
policyTypeThe type of policy that you want to grant. - Parameters:
- policyType- The type of policy that you want to grant.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
policyTypeThe type of policy that you want to grant. - Parameters:
- policyType- The type of policy that you want to grant.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
principalThe principal to whom the permissions are granted. - Parameters:
- principal- The principal to whom the permissions are granted.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
principalThe principal to whom the permissions are granted. 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 on- PolicyGrantPrincipal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationAddPolicyGrantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationAddPolicyGrantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-