@Generated(value="software.amazon.awssdk:codegen") public final class CreateIndexResponse extends ResourceExplorer2Response implements ToCopyableBuilder<CreateIndexResponse.Builder,CreateIndexResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateIndexResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN of the new local index for the Region.
|
static CreateIndexResponse.Builder |
builder() |
Instant |
createdAt()
The date and timestamp when the index was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateIndexResponse.Builder> |
serializableBuilderClass() |
IndexState |
state()
Indicates the current state of the index.
|
String |
stateAsString()
Indicates the current state of the index.
|
CreateIndexResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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
public final Instant createdAt()
The date and timestamp when the index was created.
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 CREATING or UPDATING state 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, state will return
IndexState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
The state can remain in the CREATING or UPDATING state for several hours as
Resource Explorer discovers the information about your resources and populates the index.
IndexStatepublic 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 CREATING or UPDATING state 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, state will return
IndexState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
The state can remain in the CREATING or UPDATING state for several hours as
Resource Explorer discovers the information about your resources and populates the index.
IndexStatepublic CreateIndexResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateIndexResponse.Builder,CreateIndexResponse>toBuilder in class AwsResponsepublic static CreateIndexResponse.Builder builder()
public static Class<? extends CreateIndexResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.