Class UpdateIndexTypeRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.resourceexplorer2.model.ResourceExplorer2Request
-
- software.amazon.awssdk.services.resourceexplorer2.model.UpdateIndexTypeRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateIndexTypeRequest.Builder,UpdateIndexTypeRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateIndexTypeRequest extends ResourceExplorer2Request implements ToCopyableBuilder<UpdateIndexTypeRequest.Builder,UpdateIndexTypeRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateIndexTypeRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon resource name (ARN) of the index that you want to update.static UpdateIndexTypeRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends UpdateIndexTypeRequest.Builder>serializableBuilderClass()UpdateIndexTypeRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.IndexTypetype()The type of the index.StringtypeAsString()The type of the index.-
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
-
arn
public final String arn()
The Amazon resource name (ARN) of the index that you want to update.
- Returns:
- The Amazon resource name (ARN) of the index that you want to update.
-
type
public final IndexType type()
The type of the index. To understand the difference between
LOCALandAGGREGATOR, see Turning on cross-Region search in the Amazon Web Services Resource Explorer User Guide.If the service returns an enum value that is not available in the current SDK version,
typewill returnIndexType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the index. To understand the difference between
LOCALandAGGREGATOR, see Turning on cross-Region search in the Amazon Web Services Resource Explorer User Guide. - See Also:
IndexType
-
typeAsString
public final String typeAsString()
The type of the index. To understand the difference between
LOCALandAGGREGATOR, see Turning on cross-Region search in the Amazon Web Services Resource Explorer User Guide.If the service returns an enum value that is not available in the current SDK version,
typewill returnIndexType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the index. To understand the difference between
LOCALandAGGREGATOR, see Turning on cross-Region search in the Amazon Web Services Resource Explorer User Guide. - See Also:
IndexType
-
toBuilder
public UpdateIndexTypeRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateIndexTypeRequest.Builder,UpdateIndexTypeRequest>- Specified by:
toBuilderin classResourceExplorer2Request
-
builder
public static UpdateIndexTypeRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateIndexTypeRequest.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
-
-