Interface DetachFromIndexRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudDirectoryRequest.Builder,CopyableBuilder<DetachFromIndexRequest.Builder,DetachFromIndexRequest>,SdkBuilder<DetachFromIndexRequest.Builder,DetachFromIndexRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DetachFromIndexRequest
public static interface DetachFromIndexRequest.Builder extends CloudDirectoryRequest.Builder, SdkPojo, CopyableBuilder<DetachFromIndexRequest.Builder,DetachFromIndexRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest.Builder
build
-
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
-
directoryArn
DetachFromIndexRequest.Builder directoryArn(String directoryArn)
The Amazon Resource Name (ARN) of the directory the index and object exist in.
- Parameters:
directoryArn- The Amazon Resource Name (ARN) of the directory the index and object exist in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexReference
DetachFromIndexRequest.Builder indexReference(ObjectReference indexReference)
A reference to the index object.
- Parameters:
indexReference- A reference to the index object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexReference
default DetachFromIndexRequest.Builder indexReference(Consumer<ObjectReference.Builder> indexReference)
A reference to the index 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 toindexReference(ObjectReference).- Parameters:
indexReference- 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:
indexReference(ObjectReference)
-
targetReference
DetachFromIndexRequest.Builder targetReference(ObjectReference targetReference)
A reference to the object being detached from the index.
- Parameters:
targetReference- A reference to the object being detached from the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetReference
default DetachFromIndexRequest.Builder targetReference(Consumer<ObjectReference.Builder> targetReference)
A reference to the object being detached from the index.
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 totargetReference(ObjectReference).- Parameters:
targetReference- 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:
targetReference(ObjectReference)
-
overrideConfiguration
DetachFromIndexRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DetachFromIndexRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-