@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DomainInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about an OpenSearch Service domain.
Constructor and Description |
---|
DomainInfo() |
Modifier and Type | Method and Description |
---|---|
DomainInfo |
clone() |
boolean |
equals(Object obj) |
String |
getDomainName()
Name of the domain.
|
String |
getEngineType()
The type of search engine that the domain is running.
OpenSearch for an OpenSearch engine, or
Elasticsearch for a legacy Elasticsearch OSS engine. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDomainName(String domainName)
Name of the domain.
|
void |
setEngineType(String engineType)
The type of search engine that the domain is running.
OpenSearch for an OpenSearch engine, or
Elasticsearch for a legacy Elasticsearch OSS engine. |
String |
toString()
Returns a string representation of this object.
|
DomainInfo |
withDomainName(String domainName)
Name of the domain.
|
DomainInfo |
withEngineType(EngineType engineType)
The type of search engine that the domain is running.
OpenSearch for an OpenSearch engine, or
Elasticsearch for a legacy Elasticsearch OSS engine. |
DomainInfo |
withEngineType(String engineType)
The type of search engine that the domain is running.
OpenSearch for an OpenSearch engine, or
Elasticsearch for a legacy Elasticsearch OSS engine. |
public void setDomainName(String domainName)
Name of the domain.
domainName
- Name of the domain.public String getDomainName()
Name of the domain.
public DomainInfo withDomainName(String domainName)
Name of the domain.
domainName
- Name of the domain.public void setEngineType(String engineType)
The type of search engine that the domain is running.OpenSearch
for an OpenSearch engine, or
Elasticsearch
for a legacy Elasticsearch OSS engine.
engineType
- The type of search engine that the domain is running.OpenSearch
for an OpenSearch engine, or
Elasticsearch
for a legacy Elasticsearch OSS engine.EngineType
public String getEngineType()
The type of search engine that the domain is running.OpenSearch
for an OpenSearch engine, or
Elasticsearch
for a legacy Elasticsearch OSS engine.
OpenSearch
for an OpenSearch engine, or
Elasticsearch
for a legacy Elasticsearch OSS engine.EngineType
public DomainInfo withEngineType(String engineType)
The type of search engine that the domain is running.OpenSearch
for an OpenSearch engine, or
Elasticsearch
for a legacy Elasticsearch OSS engine.
engineType
- The type of search engine that the domain is running.OpenSearch
for an OpenSearch engine, or
Elasticsearch
for a legacy Elasticsearch OSS engine.EngineType
public DomainInfo withEngineType(EngineType engineType)
The type of search engine that the domain is running.OpenSearch
for an OpenSearch engine, or
Elasticsearch
for a legacy Elasticsearch OSS engine.
engineType
- The type of search engine that the domain is running.OpenSearch
for an OpenSearch engine, or
Elasticsearch
for a legacy Elasticsearch OSS engine.EngineType
public String toString()
toString
in class Object
Object.toString()
public DomainInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.