Class AttachToIndexRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.clouddirectory.model.CloudDirectoryRequest
-
- software.amazon.awssdk.services.clouddirectory.model.AttachToIndexRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AttachToIndexRequest.Builder,AttachToIndexRequest>
@Generated("software.amazon.awssdk:codegen") public final class AttachToIndexRequest extends CloudDirectoryRequest implements ToCopyableBuilder<AttachToIndexRequest.Builder,AttachToIndexRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAttachToIndexRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttachToIndexRequest.Builderbuilder()StringdirectoryArn()The Amazon Resource Name (ARN) of the directory where the object and index exist.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ObjectReferenceindexReference()A reference to the index that you are attaching the object to.List<SdkField<?>>sdkFields()static Class<? extends AttachToIndexRequest.Builder>serializableBuilderClass()ObjectReferencetargetReference()A reference to the object that you are attaching to the index.AttachToIndexRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
directoryArn
public final String directoryArn()
The Amazon Resource Name (ARN) of the directory where the object and index exist.
- Returns:
- The Amazon Resource Name (ARN) of the directory where the object and index exist.
-
indexReference
public final ObjectReference indexReference()
A reference to the index that you are attaching the object to.
- Returns:
- A reference to the index that you are attaching the object to.
-
targetReference
public final ObjectReference targetReference()
A reference to the object that you are attaching to the index.
- Returns:
- A reference to the object that you are attaching to the index.
-
toBuilder
public AttachToIndexRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AttachToIndexRequest.Builder,AttachToIndexRequest>- Specified by:
toBuilderin classCloudDirectoryRequest
-
builder
public static AttachToIndexRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AttachToIndexRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-