@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetIndexResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetIndexResult() |
| Modifier and Type | Method and Description |
|---|---|
GetIndexResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetIndexResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetIndexResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon resource name
(ARN) of the index.
|
Date |
getCreatedAt()
The date and time when the index was originally created.
|
Date |
getLastUpdatedAt()
The date and time when the index was last updated.
|
List<String> |
getReplicatingFrom()
If this index is
Type=AGGREGATOR, then this response value contains a list of the Amazon Web
Services Regions that replicate their content to the index in this Region. |
List<String> |
getReplicatingTo()
Identifies the Amazon Web Services Region that has an index set to
Type=AGGREGATOR, if one exists. |
String |
getState()
Indicates the current state of the index in this Amazon Web Services Region.
|
Map<String,String> |
getTags()
Tag key and value pairs that are attached to the index.
|
String |
getType()
Specifies the type of the index in this Region.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon resource name
(ARN) of the index.
|
void |
setCreatedAt(Date createdAt)
The date and time when the index was originally created.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The date and time when the index was last updated.
|
void |
setReplicatingFrom(Collection<String> replicatingFrom)
If this index is
Type=AGGREGATOR, then this response value contains a list of the Amazon Web
Services Regions that replicate their content to the index in this Region. |
void |
setReplicatingTo(Collection<String> replicatingTo)
Identifies the Amazon Web Services Region that has an index set to
Type=AGGREGATOR, if one exists. |
void |
setState(String state)
Indicates the current state of the index in this Amazon Web Services Region.
|
void |
setTags(Map<String,String> tags)
Tag key and value pairs that are attached to the index.
|
void |
setType(String type)
Specifies the type of the index in this Region.
|
String |
toString()
Returns a string representation of this object.
|
GetIndexResult |
withArn(String arn)
The Amazon resource name
(ARN) of the index.
|
GetIndexResult |
withCreatedAt(Date createdAt)
The date and time when the index was originally created.
|
GetIndexResult |
withLastUpdatedAt(Date lastUpdatedAt)
The date and time when the index was last updated.
|
GetIndexResult |
withReplicatingFrom(Collection<String> replicatingFrom)
If this index is
Type=AGGREGATOR, then this response value contains a list of the Amazon Web
Services Regions that replicate their content to the index in this Region. |
GetIndexResult |
withReplicatingFrom(String... replicatingFrom)
If this index is
Type=AGGREGATOR, then this response value contains a list of the Amazon Web
Services Regions that replicate their content to the index in this Region. |
GetIndexResult |
withReplicatingTo(Collection<String> replicatingTo)
Identifies the Amazon Web Services Region that has an index set to
Type=AGGREGATOR, if one exists. |
GetIndexResult |
withReplicatingTo(String... replicatingTo)
Identifies the Amazon Web Services Region that has an index set to
Type=AGGREGATOR, if one exists. |
GetIndexResult |
withState(IndexState state)
Indicates the current state of the index in this Amazon Web Services Region.
|
GetIndexResult |
withState(String state)
Indicates the current state of the index in this Amazon Web Services Region.
|
GetIndexResult |
withTags(Map<String,String> tags)
Tag key and value pairs that are attached to the index.
|
GetIndexResult |
withType(IndexType type)
Specifies the type of the index in this Region.
|
GetIndexResult |
withType(String type)
Specifies the type of the index in this Region.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setArn(String arn)
The Amazon resource name (ARN) of the index.
arn - The Amazon resource
name (ARN) of the index.public String getArn()
The Amazon resource name (ARN) of the index.
public GetIndexResult withArn(String arn)
The Amazon resource name (ARN) of the index.
arn - The Amazon resource
name (ARN) of the index.public void setCreatedAt(Date createdAt)
The date and time when the index was originally created.
createdAt - The date and time when the index was originally created.public Date getCreatedAt()
The date and time when the index was originally created.
public GetIndexResult withCreatedAt(Date createdAt)
The date and time when the index was originally created.
createdAt - The date and time when the index was originally created.public void setLastUpdatedAt(Date lastUpdatedAt)
The date and time when the index was last updated.
lastUpdatedAt - The date and time when the index was last updated.public Date getLastUpdatedAt()
The date and time when the index was last updated.
public GetIndexResult withLastUpdatedAt(Date lastUpdatedAt)
The date and time when the index was last updated.
lastUpdatedAt - The date and time when the index was last updated.public List<String> getReplicatingFrom()
If this index is Type=AGGREGATOR, then this response value contains a list of the Amazon Web
Services Regions that replicate their content to the index in this Region. Not present for a local index.
Type=AGGREGATOR, then this response value contains a list of the Amazon Web
Services Regions that replicate their content to the index in this Region. Not present for a local index.public void setReplicatingFrom(Collection<String> replicatingFrom)
If this index is Type=AGGREGATOR, then this response value contains a list of the Amazon Web
Services Regions that replicate their content to the index in this Region. Not present for a local index.
replicatingFrom - If this index is Type=AGGREGATOR, then this response value contains a list of the Amazon Web
Services Regions that replicate their content to the index in this Region. Not present for a local index.public GetIndexResult withReplicatingFrom(String... replicatingFrom)
If this index is Type=AGGREGATOR, then this response value contains a list of the Amazon Web
Services Regions that replicate their content to the index in this Region. Not present for a local index.
NOTE: This method appends the values to the existing list (if any). Use
setReplicatingFrom(java.util.Collection) or withReplicatingFrom(java.util.Collection) if you
want to override the existing values.
replicatingFrom - If this index is Type=AGGREGATOR, then this response value contains a list of the Amazon Web
Services Regions that replicate their content to the index in this Region. Not present for a local index.public GetIndexResult withReplicatingFrom(Collection<String> replicatingFrom)
If this index is Type=AGGREGATOR, then this response value contains a list of the Amazon Web
Services Regions that replicate their content to the index in this Region. Not present for a local index.
replicatingFrom - If this index is Type=AGGREGATOR, then this response value contains a list of the Amazon Web
Services Regions that replicate their content to the index in this Region. Not present for a local index.public List<String> getReplicatingTo()
Identifies the Amazon Web Services Region that has an index set to Type=AGGREGATOR, if one exists.
If it does, then the Region you called this operation in replicates its index information to the Region specified
in this response value. Not present if there isn't an aggregator index in the account.
Type=AGGREGATOR, if one
exists. If it does, then the Region you called this operation in replicates its index information to the
Region specified in this response value. Not present if there isn't an aggregator index in the account.public void setReplicatingTo(Collection<String> replicatingTo)
Identifies the Amazon Web Services Region that has an index set to Type=AGGREGATOR, if one exists.
If it does, then the Region you called this operation in replicates its index information to the Region specified
in this response value. Not present if there isn't an aggregator index in the account.
replicatingTo - Identifies the Amazon Web Services Region that has an index set to Type=AGGREGATOR, if one
exists. If it does, then the Region you called this operation in replicates its index information to the
Region specified in this response value. Not present if there isn't an aggregator index in the account.public GetIndexResult withReplicatingTo(String... replicatingTo)
Identifies the Amazon Web Services Region that has an index set to Type=AGGREGATOR, if one exists.
If it does, then the Region you called this operation in replicates its index information to the Region specified
in this response value. Not present if there isn't an aggregator index in the account.
NOTE: This method appends the values to the existing list (if any). Use
setReplicatingTo(java.util.Collection) or withReplicatingTo(java.util.Collection) if you want
to override the existing values.
replicatingTo - Identifies the Amazon Web Services Region that has an index set to Type=AGGREGATOR, if one
exists. If it does, then the Region you called this operation in replicates its index information to the
Region specified in this response value. Not present if there isn't an aggregator index in the account.public GetIndexResult withReplicatingTo(Collection<String> replicatingTo)
Identifies the Amazon Web Services Region that has an index set to Type=AGGREGATOR, if one exists.
If it does, then the Region you called this operation in replicates its index information to the Region specified
in this response value. Not present if there isn't an aggregator index in the account.
replicatingTo - Identifies the Amazon Web Services Region that has an index set to Type=AGGREGATOR, if one
exists. If it does, then the Region you called this operation in replicates its index information to the
Region specified in this response value. Not present if there isn't an aggregator index in the account.public void setState(String state)
Indicates the current state of the index in this Amazon Web Services Region.
state - Indicates the current state of the index in this Amazon Web Services Region.IndexStatepublic String getState()
Indicates the current state of the index in this Amazon Web Services Region.
IndexStatepublic GetIndexResult withState(String state)
Indicates the current state of the index in this Amazon Web Services Region.
state - Indicates the current state of the index in this Amazon Web Services Region.IndexStatepublic GetIndexResult withState(IndexState state)
Indicates the current state of the index in this Amazon Web Services Region.
state - Indicates the current state of the index in this Amazon Web Services Region.IndexStatepublic Map<String,String> getTags()
Tag key and value pairs that are attached to the index.
public void setTags(Map<String,String> tags)
Tag key and value pairs that are attached to the index.
tags - Tag key and value pairs that are attached to the index.public GetIndexResult withTags(Map<String,String> tags)
Tag key and value pairs that are attached to the index.
tags - Tag key and value pairs that are attached to the index.public GetIndexResult addTagsEntry(String key, String value)
public GetIndexResult clearTagsEntries()
public void setType(String type)
Specifies 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.
type - Specifies 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.IndexTypepublic String getType()
Specifies 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.
IndexTypepublic GetIndexResult withType(String type)
Specifies 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.
type - Specifies 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.IndexTypepublic GetIndexResult withType(IndexType type)
Specifies 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.
type - Specifies 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.IndexTypepublic String toString()
toString in class ObjectObject.toString()public GetIndexResult clone()
Copyright © 2022. All rights reserved.