Interface DetachPolicyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudDirectoryRequest.Builder,CopyableBuilder<DetachPolicyRequest.Builder,DetachPolicyRequest>,SdkBuilder<DetachPolicyRequest.Builder,DetachPolicyRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DetachPolicyRequest
public static interface DetachPolicyRequest.Builder extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<DetachPolicyRequest.Builder,DetachPolicyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DetachPolicyRequest.BuilderdirectoryArn(String directoryArn)The Amazon Resource Name (ARN) that is associated with the Directory where both objects reside.default DetachPolicyRequest.BuilderobjectReference(Consumer<ObjectReference.Builder> objectReference)Reference that identifies the object whose policy object will be detached.DetachPolicyRequest.BuilderobjectReference(ObjectReference objectReference)Reference that identifies the object whose policy object will be detached.DetachPolicyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DetachPolicyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default DetachPolicyRequest.BuilderpolicyReference(Consumer<ObjectReference.Builder> policyReference)Reference that identifies the policy object.DetachPolicyRequest.BuilderpolicyReference(ObjectReference policyReference)Reference that identifies the policy object.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest.Builder
build
-
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
-
directoryArn
DetachPolicyRequest.Builder directoryArn(String directoryArn)
-
policyReference
DetachPolicyRequest.Builder policyReference(ObjectReference policyReference)
Reference that identifies the policy object.
- Parameters:
policyReference- Reference that identifies the policy object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyReference
default DetachPolicyRequest.Builder policyReference(Consumer<ObjectReference.Builder> policyReference)
Reference that identifies the policy object.
This is a convenience method that creates an instance of theObjectReference.Builderavoiding the need to create one manually viaObjectReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicyReference(ObjectReference).- Parameters:
policyReference- a consumer that will call methods onObjectReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
policyReference(ObjectReference)
-
objectReference
DetachPolicyRequest.Builder objectReference(ObjectReference objectReference)
Reference that identifies the object whose policy object will be detached.
- Parameters:
objectReference- Reference that identifies the object whose policy object will be detached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectReference
default DetachPolicyRequest.Builder objectReference(Consumer<ObjectReference.Builder> objectReference)
Reference that identifies the object whose policy object will be detached.
This is a convenience method that creates an instance of theObjectReference.Builderavoiding the need to create one manually viaObjectReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toobjectReference(ObjectReference).- Parameters:
objectReference- a consumer that will call methods onObjectReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
objectReference(ObjectReference)
-
overrideConfiguration
DetachPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DetachPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-