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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BatchDetachPolicy.BuilderobjectReference(Consumer<ObjectReference.Builder> objectReference)Reference that identifies the object whose policy object will be detached.BatchDetachPolicy.BuilderobjectReference(ObjectReference objectReference)Reference that identifies the object whose policy object will be detached.default BatchDetachPolicy.BuilderpolicyReference(Consumer<ObjectReference.Builder> policyReference)Reference that identifies the policy object.BatchDetachPolicy.BuilderpolicyReference(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 Detail
-
policyReference
BatchDetachPolicy.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 BatchDetachPolicy.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
BatchDetachPolicy.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 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.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)
-
-