Interface CreateIndexResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateIndexResponse.Builder,CreateIndexResponse>,ResourceExplorer2Response.Builder,SdkBuilder<CreateIndexResponse.Builder,CreateIndexResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateIndexResponse
public static interface CreateIndexResponse.Builder extends ResourceExplorer2Response.Builder, SdkPojo, CopyableBuilder<CreateIndexResponse.Builder,CreateIndexResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateIndexResponse.Builderarn(String arn)The ARN of the new local index for the Region.CreateIndexResponse.BuildercreatedAt(Instant createdAt)The date and timestamp when the index was created.CreateIndexResponse.Builderstate(String state)Indicates the current state of the index.CreateIndexResponse.Builderstate(IndexState state)Indicates the current state of the index.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.resourceexplorer2.model.ResourceExplorer2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
CreateIndexResponse.Builder arn(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
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
CreateIndexResponse.Builder createdAt(Instant createdAt)
The date and timestamp when the index was created.
- Parameters:
createdAt- The date and timestamp when the index was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
CreateIndexResponse.Builder state(String 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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IndexState,IndexState
-
state
CreateIndexResponse.Builder state(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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IndexState,IndexState
-
-