Interface BatchAttachPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BatchAttachPolicy.Builder,BatchAttachPolicy>,SdkBuilder<BatchAttachPolicy.Builder,BatchAttachPolicy>,SdkPojo
- Enclosing class:
- BatchAttachPolicy
public static interface BatchAttachPolicy.Builder extends SdkPojo, CopyableBuilder<BatchAttachPolicy.Builder,BatchAttachPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BatchAttachPolicy.BuilderobjectReference(Consumer<ObjectReference.Builder> objectReference)The reference that identifies the object to which the policy will be attached.BatchAttachPolicy.BuilderobjectReference(ObjectReference objectReference)The reference that identifies the object to which the policy will be attached.default BatchAttachPolicy.BuilderpolicyReference(Consumer<ObjectReference.Builder> policyReference)The reference that is associated with the policy object.BatchAttachPolicy.BuilderpolicyReference(ObjectReference policyReference)The reference that is associated with 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
BatchAttachPolicy.Builder policyReference(ObjectReference policyReference)
The reference that is associated with the policy object.
- Parameters:
policyReference- The reference that is associated with the policy object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyReference
default BatchAttachPolicy.Builder policyReference(Consumer<ObjectReference.Builder> policyReference)
The reference that is associated with 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
BatchAttachPolicy.Builder objectReference(ObjectReference objectReference)
The reference that identifies the object to which the policy will be attached.
- Parameters:
objectReference- The reference that identifies the object to which the policy will be attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
objectReference
default BatchAttachPolicy.Builder objectReference(Consumer<ObjectReference.Builder> objectReference)
The reference that identifies the object to which the policy will be attached.
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)
-
-