Class ElasticsearchDomainStatus
- java.lang.Object
-
- com.amazonaws.services.elasticsearch.model.ElasticsearchDomainStatus
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ElasticsearchDomainStatus extends Object implements Serializable, Cloneable
The current status of an Elasticsearch domain.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchDomainStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElasticsearchDomainStatusaddAdvancedOptionsEntry(String key, String value)ElasticsearchDomainStatusclearAdvancedOptionsEntries()Removes all the entries added into AdvancedOptions.ElasticsearchDomainStatusclone()booleanequals(Object obj)StringgetAccessPolicies()IAM access policy as a JSON-formatted string.Map<String,String>getAdvancedOptions()Specifies the status of theAdvancedOptionsStringgetARN()The Amazon resource name (ARN) of an Elasticsearch domain.BooleangetCreated()The domain creation status.BooleangetDeleted()The domain deletion status.StringgetDomainId()The unique identifier for the specified Elasticsearch domain.StringgetDomainName()The name of an Elasticsearch domain.EBSOptionsgetEBSOptions()TheEBSOptionsfor the specified domain.ElasticsearchClusterConfiggetElasticsearchClusterConfig()The type and number of instances in the domain cluster.StringgetEndpoint()The Elasticsearch domain endpoint that you use to submit index and search requests.BooleangetProcessing()The status of the Elasticsearch domain configuration.SnapshotOptionsgetSnapshotOptions()Specifies the status of theSnapshotOptionsinthashCode()BooleanisCreated()The domain creation status.BooleanisDeleted()The domain deletion status.BooleanisProcessing()The status of the Elasticsearch domain configuration.voidsetAccessPolicies(String accessPolicies)IAM access policy as a JSON-formatted string.voidsetAdvancedOptions(Map<String,String> advancedOptions)Specifies the status of theAdvancedOptionsvoidsetARN(String aRN)The Amazon resource name (ARN) of an Elasticsearch domain.voidsetCreated(Boolean created)The domain creation status.voidsetDeleted(Boolean deleted)The domain deletion status.voidsetDomainId(String domainId)The unique identifier for the specified Elasticsearch domain.voidsetDomainName(String domainName)The name of an Elasticsearch domain.voidsetEBSOptions(EBSOptions eBSOptions)TheEBSOptionsfor the specified domain.voidsetElasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)The type and number of instances in the domain cluster.voidsetEndpoint(String endpoint)The Elasticsearch domain endpoint that you use to submit index and search requests.voidsetProcessing(Boolean processing)The status of the Elasticsearch domain configuration.voidsetSnapshotOptions(SnapshotOptions snapshotOptions)Specifies the status of theSnapshotOptionsStringtoString()Returns a string representation of this object; useful for testing and debugging.ElasticsearchDomainStatuswithAccessPolicies(String accessPolicies)IAM access policy as a JSON-formatted string.ElasticsearchDomainStatuswithAdvancedOptions(Map<String,String> advancedOptions)Specifies the status of theAdvancedOptionsElasticsearchDomainStatuswithARN(String aRN)The Amazon resource name (ARN) of an Elasticsearch domain.ElasticsearchDomainStatuswithCreated(Boolean created)The domain creation status.ElasticsearchDomainStatuswithDeleted(Boolean deleted)The domain deletion status.ElasticsearchDomainStatuswithDomainId(String domainId)The unique identifier for the specified Elasticsearch domain.ElasticsearchDomainStatuswithDomainName(String domainName)The name of an Elasticsearch domain.ElasticsearchDomainStatuswithEBSOptions(EBSOptions eBSOptions)TheEBSOptionsfor the specified domain.ElasticsearchDomainStatuswithElasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)The type and number of instances in the domain cluster.ElasticsearchDomainStatuswithEndpoint(String endpoint)The Elasticsearch domain endpoint that you use to submit index and search requests.ElasticsearchDomainStatuswithProcessing(Boolean processing)The status of the Elasticsearch domain configuration.ElasticsearchDomainStatuswithSnapshotOptions(SnapshotOptions snapshotOptions)Specifies the status of theSnapshotOptions
-
-
-
Method Detail
-
setDomainId
public void setDomainId(String domainId)
The unique identifier for the specified Elasticsearch domain.
- Parameters:
domainId- The unique identifier for the specified Elasticsearch domain.
-
getDomainId
public String getDomainId()
The unique identifier for the specified Elasticsearch domain.
- Returns:
- The unique identifier for the specified Elasticsearch domain.
-
withDomainId
public ElasticsearchDomainStatus withDomainId(String domainId)
The unique identifier for the specified Elasticsearch domain.
- Parameters:
domainId- The unique identifier for the specified Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDomainName
public void setDomainName(String domainName)
The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
- Parameters:
domainName- The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
-
getDomainName
public String getDomainName()
The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
- Returns:
- The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
-
withDomainName
public ElasticsearchDomainStatus withDomainName(String domainName)
The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
- Parameters:
domainName- The name of an Elasticsearch domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setARN
public void setARN(String aRN)
The Amazon resource name (ARN) of an Elasticsearch domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.
- Parameters:
aRN- The Amazon resource name (ARN) of an Elasticsearch domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.
-
getARN
public String getARN()
The Amazon resource name (ARN) of an Elasticsearch domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.
- Returns:
- The Amazon resource name (ARN) of an Elasticsearch domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.
-
withARN
public ElasticsearchDomainStatus withARN(String aRN)
The Amazon resource name (ARN) of an Elasticsearch domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.
- Parameters:
aRN- The Amazon resource name (ARN) of an Elasticsearch domain. See Identifiers for IAM Entities in Using AWS Identity and Access Management for more information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreated
public void setCreated(Boolean created)
The domain creation status.
Trueif the creation of an Elasticsearch domain is complete.Falseif domain creation is still in progress.- Parameters:
created- The domain creation status.Trueif the creation of an Elasticsearch domain is complete.Falseif domain creation is still in progress.
-
getCreated
public Boolean getCreated()
The domain creation status.
Trueif the creation of an Elasticsearch domain is complete.Falseif domain creation is still in progress.- Returns:
- The domain creation status.
Trueif the creation of an Elasticsearch domain is complete.Falseif domain creation is still in progress.
-
withCreated
public ElasticsearchDomainStatus withCreated(Boolean created)
The domain creation status.
Trueif the creation of an Elasticsearch domain is complete.Falseif domain creation is still in progress.- Parameters:
created- The domain creation status.Trueif the creation of an Elasticsearch domain is complete.Falseif domain creation is still in progress.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isCreated
public Boolean isCreated()
The domain creation status.
Trueif the creation of an Elasticsearch domain is complete.Falseif domain creation is still in progress.- Returns:
- The domain creation status.
Trueif the creation of an Elasticsearch domain is complete.Falseif domain creation is still in progress.
-
setDeleted
public void setDeleted(Boolean deleted)
The domain deletion status.
Trueif a delete request has been received for the domain but resource cleanup is still in progress.Falseif the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned.- Parameters:
deleted- The domain deletion status.Trueif a delete request has been received for the domain but resource cleanup is still in progress.Falseif the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned.
-
getDeleted
public Boolean getDeleted()
The domain deletion status.
Trueif a delete request has been received for the domain but resource cleanup is still in progress.Falseif the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned.- Returns:
- The domain deletion status.
Trueif a delete request has been received for the domain but resource cleanup is still in progress.Falseif the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned.
-
withDeleted
public ElasticsearchDomainStatus withDeleted(Boolean deleted)
The domain deletion status.
Trueif a delete request has been received for the domain but resource cleanup is still in progress.Falseif the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned.- Parameters:
deleted- The domain deletion status.Trueif a delete request has been received for the domain but resource cleanup is still in progress.Falseif the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isDeleted
public Boolean isDeleted()
The domain deletion status.
Trueif a delete request has been received for the domain but resource cleanup is still in progress.Falseif the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned.- Returns:
- The domain deletion status.
Trueif a delete request has been received for the domain but resource cleanup is still in progress.Falseif the domain has not been deleted. Once domain deletion is complete, the status of the domain is no longer returned.
-
setEndpoint
public void setEndpoint(String endpoint)
The Elasticsearch domain endpoint that you use to submit index and search requests.
- Parameters:
endpoint- The Elasticsearch domain endpoint that you use to submit index and search requests.
-
getEndpoint
public String getEndpoint()
The Elasticsearch domain endpoint that you use to submit index and search requests.
- Returns:
- The Elasticsearch domain endpoint that you use to submit index and search requests.
-
withEndpoint
public ElasticsearchDomainStatus withEndpoint(String endpoint)
The Elasticsearch domain endpoint that you use to submit index and search requests.
- Parameters:
endpoint- The Elasticsearch domain endpoint that you use to submit index and search requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setProcessing
public void setProcessing(Boolean processing)
The status of the Elasticsearch domain configuration.
Trueif Amazon Elasticsearch Service is processing configuration changes.Falseif the configuration is active.- Parameters:
processing- The status of the Elasticsearch domain configuration.Trueif Amazon Elasticsearch Service is processing configuration changes.Falseif the configuration is active.
-
getProcessing
public Boolean getProcessing()
The status of the Elasticsearch domain configuration.
Trueif Amazon Elasticsearch Service is processing configuration changes.Falseif the configuration is active.- Returns:
- The status of the Elasticsearch domain configuration.
Trueif Amazon Elasticsearch Service is processing configuration changes.Falseif the configuration is active.
-
withProcessing
public ElasticsearchDomainStatus withProcessing(Boolean processing)
The status of the Elasticsearch domain configuration.
Trueif Amazon Elasticsearch Service is processing configuration changes.Falseif the configuration is active.- Parameters:
processing- The status of the Elasticsearch domain configuration.Trueif Amazon Elasticsearch Service is processing configuration changes.Falseif the configuration is active.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isProcessing
public Boolean isProcessing()
The status of the Elasticsearch domain configuration.
Trueif Amazon Elasticsearch Service is processing configuration changes.Falseif the configuration is active.- Returns:
- The status of the Elasticsearch domain configuration.
Trueif Amazon Elasticsearch Service is processing configuration changes.Falseif the configuration is active.
-
setElasticsearchClusterConfig
public void setElasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)
The type and number of instances in the domain cluster.
- Parameters:
elasticsearchClusterConfig- The type and number of instances in the domain cluster.
-
getElasticsearchClusterConfig
public ElasticsearchClusterConfig getElasticsearchClusterConfig()
The type and number of instances in the domain cluster.
- Returns:
- The type and number of instances in the domain cluster.
-
withElasticsearchClusterConfig
public ElasticsearchDomainStatus withElasticsearchClusterConfig(ElasticsearchClusterConfig elasticsearchClusterConfig)
The type and number of instances in the domain cluster.
- Parameters:
elasticsearchClusterConfig- The type and number of instances in the domain cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEBSOptions
public void setEBSOptions(EBSOptions eBSOptions)
The
EBSOptionsfor the specified domain. See Configuring EBS-based Storage for more information.- Parameters:
eBSOptions- TheEBSOptionsfor the specified domain. See Configuring EBS-based Storage for more information.
-
getEBSOptions
public EBSOptions getEBSOptions()
The
EBSOptionsfor the specified domain. See Configuring EBS-based Storage for more information.- Returns:
- The
EBSOptionsfor the specified domain. See Configuring EBS-based Storage for more information.
-
withEBSOptions
public ElasticsearchDomainStatus withEBSOptions(EBSOptions eBSOptions)
The
EBSOptionsfor the specified domain. See Configuring EBS-based Storage for more information.- Parameters:
eBSOptions- TheEBSOptionsfor the specified domain. See Configuring EBS-based Storage for more information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAccessPolicies
public void setAccessPolicies(String accessPolicies)
IAM access policy as a JSON-formatted string.
- Parameters:
accessPolicies- IAM access policy as a JSON-formatted string.
-
getAccessPolicies
public String getAccessPolicies()
IAM access policy as a JSON-formatted string.
- Returns:
- IAM access policy as a JSON-formatted string.
-
withAccessPolicies
public ElasticsearchDomainStatus withAccessPolicies(String accessPolicies)
IAM access policy as a JSON-formatted string.
- Parameters:
accessPolicies- IAM access policy as a JSON-formatted string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnapshotOptions
public void setSnapshotOptions(SnapshotOptions snapshotOptions)
Specifies the status of the
SnapshotOptions- Parameters:
snapshotOptions- Specifies the status of theSnapshotOptions
-
getSnapshotOptions
public SnapshotOptions getSnapshotOptions()
Specifies the status of the
SnapshotOptions- Returns:
- Specifies the status of the
SnapshotOptions
-
withSnapshotOptions
public ElasticsearchDomainStatus withSnapshotOptions(SnapshotOptions snapshotOptions)
Specifies the status of the
SnapshotOptions- Parameters:
snapshotOptions- Specifies the status of theSnapshotOptions- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getAdvancedOptions
public Map<String,String> getAdvancedOptions()
Specifies the status of the
AdvancedOptions- Returns:
- Specifies the status of the
AdvancedOptions
-
setAdvancedOptions
public void setAdvancedOptions(Map<String,String> advancedOptions)
Specifies the status of the
AdvancedOptions- Parameters:
advancedOptions- Specifies the status of theAdvancedOptions
-
withAdvancedOptions
public ElasticsearchDomainStatus withAdvancedOptions(Map<String,String> advancedOptions)
Specifies the status of the
AdvancedOptions- Parameters:
advancedOptions- Specifies the status of theAdvancedOptions- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addAdvancedOptionsEntry
public ElasticsearchDomainStatus addAdvancedOptionsEntry(String key, String value)
-
clearAdvancedOptionsEntries
public ElasticsearchDomainStatus clearAdvancedOptionsEntries()
Removes all the entries added into AdvancedOptions. <p> Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ElasticsearchDomainStatus clone()
-
-