public static interface DeleteObjectRequest.Builder extends CloudDirectoryRequest.Builder, CopyableBuilder<DeleteObjectRequest.Builder,DeleteObjectRequest>
Modifier and Type | Method and Description |
---|---|
DeleteObjectRequest.Builder |
directoryArn(String directoryArn)
The Amazon Resource Name (ARN) that is associated with the Directory where the object resides.
|
default DeleteObjectRequest.Builder |
objectReference(Consumer<ObjectReference.Builder> objectReference)
A reference that identifies the object.
|
DeleteObjectRequest.Builder |
objectReference(ObjectReference objectReference)
A reference that identifies the object.
|
DeleteObjectRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
DeleteObjectRequest.Builder directoryArn(String directoryArn)
DeleteObjectRequest.Builder objectReference(ObjectReference objectReference)
A reference that identifies the object.
objectReference
- A reference that identifies the object.default DeleteObjectRequest.Builder objectReference(Consumer<ObjectReference.Builder> objectReference)
A reference that identifies the 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 objectReference(ObjectReference)
.objectReference
- a consumer that will call methods on ObjectReference.Builder
objectReference(ObjectReference)
DeleteObjectRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.