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:
  • Constructor Details

    • ElasticsearchDomainConfig

      public ElasticsearchDomainConfig()
  • Method Details

    • setElasticsearchClusterConfig

      public void setElasticsearchClusterConfig(ElasticsearchClusterConfigStatus elasticsearchClusterConfig)

      Specifies the ElasticsearchClusterConfig for the Elasticsearch domain.

      Parameters:
      elasticsearchClusterConfig - Specifies the ElasticsearchClusterConfig for the Elasticsearch domain.
    • getElasticsearchClusterConfig

      public ElasticsearchClusterConfigStatus getElasticsearchClusterConfig()

      Specifies the ElasticsearchClusterConfig for the Elasticsearch domain.

      Returns:
      Specifies the ElasticsearchClusterConfig for the Elasticsearch domain.
    • withElasticsearchClusterConfig

      public ElasticsearchDomainConfig withElasticsearchClusterConfig(ElasticsearchClusterConfigStatus elasticsearchClusterConfig)

      Specifies the ElasticsearchClusterConfig for the Elasticsearch domain.

      Parameters:
      elasticsearchClusterConfig - Specifies the ElasticsearchClusterConfig for 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 EBSOptions for the Elasticsearch domain.

      Parameters:
      eBSOptions - Specifies the EBSOptions for the Elasticsearch domain.
    • getEBSOptions

      public EBSOptionsStatus getEBSOptions()

      Specifies the EBSOptions for the Elasticsearch domain.

      Returns:
      Specifies the EBSOptions for the Elasticsearch domain.
    • withEBSOptions

      public ElasticsearchDomainConfig withEBSOptions(EBSOptionsStatus eBSOptions)

      Specifies the EBSOptions for the Elasticsearch domain.

      Parameters:
      eBSOptions - Specifies the EBSOptions for 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 SnapshotOptions for the Elasticsearch domain.

      Parameters:
      snapshotOptions - Specifies the SnapshotOptions for the Elasticsearch domain.
    • getSnapshotOptions

      public SnapshotOptionsStatus getSnapshotOptions()

      Specifies the SnapshotOptions for the Elasticsearch domain.

      Returns:
      Specifies the SnapshotOptions for the Elasticsearch domain.
    • withSnapshotOptions

      public ElasticsearchDomainConfig withSnapshotOptions(SnapshotOptionsStatus snapshotOptions)

      Specifies the SnapshotOptions for the Elasticsearch domain.

      Parameters:
      snapshotOptions - Specifies the SnapshotOptions for 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 AdvancedOptions for the domain. See Configuring Advanced Options for more information.

      Parameters:
      advancedOptions - Specifies the AdvancedOptions for the domain. See Configuring Advanced Options for more information.
    • getAdvancedOptions

      public AdvancedOptionsStatus getAdvancedOptions()

      Specifies the AdvancedOptions for the domain. See Configuring Advanced Options for more information.

      Returns:
      Specifies the AdvancedOptions for the domain. See Configuring Advanced Options for more information.
    • withAdvancedOptions

      public ElasticsearchDomainConfig withAdvancedOptions(AdvancedOptionsStatus advancedOptions)

      Specifies the AdvancedOptions for the domain. See Configuring Advanced Options for more information.

      Parameters:
      advancedOptions - Specifies the AdvancedOptions for 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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ElasticsearchDomainConfig clone()
      Overrides:
      clone in class Object