Class ElasticsearchDomainConfig
- java.lang.Object
-
- com.amazonaws.services.elasticsearch.model.ElasticsearchDomainConfig
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ElasticsearchDomainConfig extends Object implements Serializable, Cloneable
The configuration of an Elasticsearch domain.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchDomainConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElasticsearchDomainConfigclone()booleanequals(Object obj)AccessPoliciesStatusgetAccessPolicies()IAM access policy as a JSON-formatted string.AdvancedOptionsStatusgetAdvancedOptions()Specifies theAdvancedOptionsfor the domain.EBSOptionsStatusgetEBSOptions()Specifies theEBSOptionsfor the Elasticsearch domain.ElasticsearchClusterConfigStatusgetElasticsearchClusterConfig()Specifies theElasticsearchClusterConfigfor the Elasticsearch domain.SnapshotOptionsStatusgetSnapshotOptions()Specifies theSnapshotOptionsfor the Elasticsearch domain.inthashCode()voidsetAccessPolicies(AccessPoliciesStatus accessPolicies)IAM access policy as a JSON-formatted string.voidsetAdvancedOptions(AdvancedOptionsStatus advancedOptions)Specifies theAdvancedOptionsfor the domain.voidsetEBSOptions(EBSOptionsStatus eBSOptions)Specifies theEBSOptionsfor the Elasticsearch domain.voidsetElasticsearchClusterConfig(ElasticsearchClusterConfigStatus elasticsearchClusterConfig)Specifies theElasticsearchClusterConfigfor the Elasticsearch domain.voidsetSnapshotOptions(SnapshotOptionsStatus snapshotOptions)Specifies theSnapshotOptionsfor the Elasticsearch domain.StringtoString()Returns a string representation of this object; useful for testing and debugging.ElasticsearchDomainConfigwithAccessPolicies(AccessPoliciesStatus accessPolicies)IAM access policy as a JSON-formatted string.ElasticsearchDomainConfigwithAdvancedOptions(AdvancedOptionsStatus advancedOptions)Specifies theAdvancedOptionsfor the domain.ElasticsearchDomainConfigwithEBSOptions(EBSOptionsStatus eBSOptions)Specifies theEBSOptionsfor the Elasticsearch domain.ElasticsearchDomainConfigwithElasticsearchClusterConfig(ElasticsearchClusterConfigStatus elasticsearchClusterConfig)Specifies theElasticsearchClusterConfigfor the Elasticsearch domain.ElasticsearchDomainConfigwithSnapshotOptions(SnapshotOptionsStatus snapshotOptions)Specifies theSnapshotOptionsfor the Elasticsearch domain.
-
-
-
Method Detail
-
setElasticsearchClusterConfig
public void setElasticsearchClusterConfig(ElasticsearchClusterConfigStatus elasticsearchClusterConfig)
Specifies the
ElasticsearchClusterConfigfor the Elasticsearch domain.- Parameters:
elasticsearchClusterConfig- Specifies theElasticsearchClusterConfigfor the Elasticsearch domain.
-
getElasticsearchClusterConfig
public ElasticsearchClusterConfigStatus getElasticsearchClusterConfig()
Specifies the
ElasticsearchClusterConfigfor the Elasticsearch domain.- Returns:
- Specifies the
ElasticsearchClusterConfigfor the Elasticsearch domain.
-
withElasticsearchClusterConfig
public ElasticsearchDomainConfig withElasticsearchClusterConfig(ElasticsearchClusterConfigStatus elasticsearchClusterConfig)
Specifies the
ElasticsearchClusterConfigfor the Elasticsearch domain.- Parameters:
elasticsearchClusterConfig- Specifies theElasticsearchClusterConfigfor the Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEBSOptions
public void setEBSOptions(EBSOptionsStatus eBSOptions)
Specifies the
EBSOptionsfor the Elasticsearch domain.- Parameters:
eBSOptions- Specifies theEBSOptionsfor the Elasticsearch domain.
-
getEBSOptions
public EBSOptionsStatus getEBSOptions()
Specifies the
EBSOptionsfor the Elasticsearch domain.- Returns:
- Specifies the
EBSOptionsfor the Elasticsearch domain.
-
withEBSOptions
public ElasticsearchDomainConfig withEBSOptions(EBSOptionsStatus eBSOptions)
Specifies the
EBSOptionsfor the Elasticsearch domain.- Parameters:
eBSOptions- Specifies theEBSOptionsfor the Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAccessPolicies
public void setAccessPolicies(AccessPoliciesStatus accessPolicies)
IAM access policy as a JSON-formatted string.
- Parameters:
accessPolicies- IAM access policy as a JSON-formatted string.
-
getAccessPolicies
public AccessPoliciesStatus getAccessPolicies()
IAM access policy as a JSON-formatted string.
- Returns:
- IAM access policy as a JSON-formatted string.
-
withAccessPolicies
public ElasticsearchDomainConfig withAccessPolicies(AccessPoliciesStatus 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(SnapshotOptionsStatus snapshotOptions)
Specifies the
SnapshotOptionsfor the Elasticsearch domain.- Parameters:
snapshotOptions- Specifies theSnapshotOptionsfor the Elasticsearch domain.
-
getSnapshotOptions
public SnapshotOptionsStatus getSnapshotOptions()
Specifies the
SnapshotOptionsfor the Elasticsearch domain.- Returns:
- Specifies the
SnapshotOptionsfor the Elasticsearch domain.
-
withSnapshotOptions
public ElasticsearchDomainConfig withSnapshotOptions(SnapshotOptionsStatus snapshotOptions)
Specifies the
SnapshotOptionsfor the Elasticsearch domain.- Parameters:
snapshotOptions- Specifies theSnapshotOptionsfor the Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAdvancedOptions
public void setAdvancedOptions(AdvancedOptionsStatus advancedOptions)
Specifies the
AdvancedOptionsfor the domain. See Configuring Advanced Options for more information.- Parameters:
advancedOptions- Specifies theAdvancedOptionsfor the domain. See Configuring Advanced Options for more information.
-
getAdvancedOptions
public AdvancedOptionsStatus getAdvancedOptions()
Specifies the
AdvancedOptionsfor the domain. See Configuring Advanced Options for more information.- Returns:
- Specifies the
AdvancedOptionsfor the domain. See Configuring Advanced Options for more information.
-
withAdvancedOptions
public ElasticsearchDomainConfig withAdvancedOptions(AdvancedOptionsStatus advancedOptions)
Specifies the
AdvancedOptionsfor the domain. See Configuring Advanced Options for more information.- Parameters:
advancedOptions- Specifies theAdvancedOptionsfor the domain. See Configuring Advanced Options for more information.- Returns:
- 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 ElasticsearchDomainConfig clone()
-
-