Class CreateIndexResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.resourceexplorer2.model.ResourceExplorer2Response
-
- software.amazon.awssdk.services.resourceexplorer2.model.CreateIndexResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateIndexResponse.Builder,CreateIndexResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateIndexResponse extends ResourceExplorer2Response implements ToCopyableBuilder<CreateIndexResponse.Builder,CreateIndexResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateIndexResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the new local index for the Region.static CreateIndexResponse.Builderbuilder()InstantcreatedAt()The date and timestamp when the index was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CreateIndexResponse.Builder>serializableBuilderClass()IndexStatestate()Indicates the current state of the index.StringstateAsString()Indicates the current state of the index.CreateIndexResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.resourceexplorer2.model.ResourceExplorer2Response
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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 ARN of the new local index for the Region. You can reference this ARN in IAM permission policies to authorize the following operations: DeleteIndex | GetIndex | UpdateIndexType | CreateView
- Returns:
- The ARN of the new local index for the Region. You can reference this ARN in IAM permission policies to authorize the following operations: DeleteIndex | GetIndex | UpdateIndexType | CreateView
-
createdAt
public final Instant createdAt()
The date and timestamp when the index was created.
- Returns:
- The date and timestamp when the index was created.
-
state
public final IndexState state()
Indicates the current state of the index. You can check for changes to the state for asynchronous operations by calling the GetIndex operation.
The state can remain in the
CREATINGorUPDATINGstate for several hours as Resource Explorer discovers the information about your resources and populates the index.If the service returns an enum value that is not available in the current SDK version,
statewill returnIndexState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Indicates the current state of the index. You can check for changes to the state for asynchronous
operations by calling the GetIndex operation.
The state can remain in the
CREATINGorUPDATINGstate for several hours as Resource Explorer discovers the information about your resources and populates the index. - See Also:
IndexState
-
stateAsString
public final String stateAsString()
Indicates the current state of the index. You can check for changes to the state for asynchronous operations by calling the GetIndex operation.
The state can remain in the
CREATINGorUPDATINGstate for several hours as Resource Explorer discovers the information about your resources and populates the index.If the service returns an enum value that is not available in the current SDK version,
statewill returnIndexState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- Indicates the current state of the index. You can check for changes to the state for asynchronous
operations by calling the GetIndex operation.
The state can remain in the
CREATINGorUPDATINGstate for several hours as Resource Explorer discovers the information about your resources and populates the index. - See Also:
IndexState
-
toBuilder
public CreateIndexResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateIndexResponse.Builder,CreateIndexResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateIndexResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateIndexResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
-