Interface BatchDetachPolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BatchDetachPolicy.Builder,
,BatchDetachPolicy> SdkBuilder<BatchDetachPolicy.Builder,
,BatchDetachPolicy> SdkPojo
- Enclosing class:
BatchDetachPolicy
public static interface BatchDetachPolicy.Builder
extends SdkPojo, CopyableBuilder<BatchDetachPolicy.Builder,BatchDetachPolicy>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BatchDetachPolicy.Builder
objectReference
(Consumer<ObjectReference.Builder> objectReference) Reference that identifies the object whose policy object will be detached.objectReference
(ObjectReference objectReference) Reference that identifies the object whose policy object will be detached.default BatchDetachPolicy.Builder
policyReference
(Consumer<ObjectReference.Builder> policyReference) Reference that identifies the policy object.policyReference
(ObjectReference policyReference) Reference that identifies the policy object.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 Details
-
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 BatchDetachPolicy.Builder policyReference(Consumer<ObjectReference.Builder> policyReference) Reference that identifies the policy object.
This is a convenience method that creates an instance of theObjectReference.Builder
avoiding the need to create one manually viaObjectReference.builder()
.When the
Consumer
completes,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:
-
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 BatchDetachPolicy.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.Builder
avoiding the need to create one manually viaObjectReference.builder()
.When the
Consumer
completes,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:
-