Interface GetIndexResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetIndexResponse.Builder,GetIndexResponse>,ResourceExplorer2Response.Builder,SdkBuilder<GetIndexResponse.Builder,GetIndexResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetIndexResponse
public static interface GetIndexResponse.Builder extends ResourceExplorer2Response.Builder, SdkPojo, CopyableBuilder<GetIndexResponse.Builder,GetIndexResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetIndexResponse.Builderarn(String arn)The Amazon resource name (ARN) of the index.GetIndexResponse.BuildercreatedAt(Instant createdAt)The date and time when the index was originally created.GetIndexResponse.BuilderlastUpdatedAt(Instant lastUpdatedAt)The date and time when the index was last updated.GetIndexResponse.BuilderreplicatingFrom(String... replicatingFrom)This response value is present only if this index isType=AGGREGATOR.GetIndexResponse.BuilderreplicatingFrom(Collection<String> replicatingFrom)This response value is present only if this index isType=AGGREGATOR.GetIndexResponse.BuilderreplicatingTo(String... replicatingTo)This response value is present only if this index isType=LOCAL.GetIndexResponse.BuilderreplicatingTo(Collection<String> replicatingTo)This response value is present only if this index isType=LOCAL.GetIndexResponse.Builderstate(String state)The current state of the index in this Amazon Web Services Region.GetIndexResponse.Builderstate(IndexState state)The current state of the index in this Amazon Web Services Region.GetIndexResponse.Buildertags(Map<String,String> tags)Tag key and value pairs that are attached to the index.GetIndexResponse.Buildertype(String type)The type of the index in this Region.GetIndexResponse.Buildertype(IndexType type)The type of the index in this Region.-
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
GetIndexResponse.Builder arn(String arn)
The Amazon resource name (ARN) of the index.
- Parameters:
arn- The Amazon resource name (ARN) of the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
GetIndexResponse.Builder createdAt(Instant createdAt)
The date and time when the index was originally created.
- Parameters:
createdAt- The date and time when the index was originally created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
GetIndexResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)
The date and time when the index was last updated.
- Parameters:
lastUpdatedAt- The date and time when the index was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicatingFrom
GetIndexResponse.Builder replicatingFrom(Collection<String> replicatingFrom)
This response value is present only if this index is
Type=AGGREGATOR.A list of the Amazon Web Services Regions that replicate their content to the index in this Region.
- Parameters:
replicatingFrom- This response value is present only if this index isType=AGGREGATOR.A list of the Amazon Web Services Regions that replicate their content to the index in this Region.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicatingFrom
GetIndexResponse.Builder replicatingFrom(String... replicatingFrom)
This response value is present only if this index is
Type=AGGREGATOR.A list of the Amazon Web Services Regions that replicate their content to the index in this Region.
- Parameters:
replicatingFrom- This response value is present only if this index isType=AGGREGATOR.A list of the Amazon Web Services Regions that replicate their content to the index in this Region.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicatingTo
GetIndexResponse.Builder replicatingTo(Collection<String> replicatingTo)
This response value is present only if this index is
Type=LOCAL.The Amazon Web Services Region that contains the aggregator index, if one exists. If an aggregator index does exist then the Region in which you called this operation replicates its index information to the Region specified in this response value.
- Parameters:
replicatingTo- This response value is present only if this index isType=LOCAL.The Amazon Web Services Region that contains the aggregator index, if one exists. If an aggregator index does exist then the Region in which you called this operation replicates its index information to the Region specified in this response value.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicatingTo
GetIndexResponse.Builder replicatingTo(String... replicatingTo)
This response value is present only if this index is
Type=LOCAL.The Amazon Web Services Region that contains the aggregator index, if one exists. If an aggregator index does exist then the Region in which you called this operation replicates its index information to the Region specified in this response value.
- Parameters:
replicatingTo- This response value is present only if this index isType=LOCAL.The Amazon Web Services Region that contains the aggregator index, if one exists. If an aggregator index does exist then the Region in which you called this operation replicates its index information to the Region specified in this response value.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
GetIndexResponse.Builder state(String state)
The current state of the index in this Amazon Web Services Region.
- Parameters:
state- The current state of the index in this Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IndexState,IndexState
-
state
GetIndexResponse.Builder state(IndexState state)
The current state of the index in this Amazon Web Services Region.
- Parameters:
state- The current state of the index in this Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IndexState,IndexState
-
tags
GetIndexResponse.Builder tags(Map<String,String> tags)
Tag key and value pairs that are attached to the index.
- Parameters:
tags- Tag key and value pairs that are attached to the index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
GetIndexResponse.Builder type(String type)
The type of the index in this Region. For information about the aggregator index and how it differs from a local index, see Turning on cross-Region search by creating an aggregator index.
- Parameters:
type- The type of the index in this Region. For information about the aggregator index and how it differs from a local index, see Turning on cross-Region search by creating an aggregator index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IndexType,IndexType
-
type
GetIndexResponse.Builder type(IndexType type)
The type of the index in this Region. For information about the aggregator index and how it differs from a local index, see Turning on cross-Region search by creating an aggregator index.
- Parameters:
type- The type of the index in this Region. For information about the aggregator index and how it differs from a local index, see Turning on cross-Region search by creating an aggregator index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IndexType,IndexType
-
-