public static interface BatchAttachPolicy.Builder extends CopyableBuilder<BatchAttachPolicy.Builder,BatchAttachPolicy>
| Modifier and Type | Method and Description |
|---|---|
default BatchAttachPolicy.Builder |
objectReference(Consumer<ObjectReference.Builder> objectReference)
The reference that identifies the object to which the policy will be attached.
|
BatchAttachPolicy.Builder |
objectReference(ObjectReference objectReference)
The reference that identifies the object to which the policy will be attached.
|
default BatchAttachPolicy.Builder |
policyReference(Consumer<ObjectReference.Builder> policyReference)
The reference that is associated with the policy object.
|
BatchAttachPolicy.Builder |
policyReference(ObjectReference policyReference)
The reference that is associated with the policy object.
|
copyapply, buildBatchAttachPolicy.Builder policyReference(ObjectReference policyReference)
The reference that is associated with the policy object.
policyReference - The reference that is associated with the policy object.default BatchAttachPolicy.Builder policyReference(Consumer<ObjectReference.Builder> policyReference)
The reference that is associated with the policy object.
This is a convenience that creates an instance of theObjectReference.Builder avoiding the need to
create one manually via ObjectReference.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to policyReference(ObjectReference).policyReference - a consumer that will call methods on ObjectReference.BuilderpolicyReference(ObjectReference)BatchAttachPolicy.Builder objectReference(ObjectReference objectReference)
The reference that identifies the object to which the policy will be attached.
objectReference - The reference that identifies the object to which the policy will be attached.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 that creates an instance of theObjectReference.Builder avoiding the need to
create one manually via ObjectReference.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to objectReference(ObjectReference).objectReference - a consumer that will call methods on ObjectReference.BuilderobjectReference(ObjectReference)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.