Class DomainInfo
- java.lang.Object
-
- software.amazon.awssdk.services.opensearch.model.DomainInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DomainInfo.Builder,DomainInfo>
@Generated("software.amazon.awssdk:codegen") public final class DomainInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DomainInfo.Builder,DomainInfo>
Information about an OpenSearch Service domain.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDomainInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DomainInfo.Builderbuilder()StringdomainName()Name of the domain.EngineTypeengineType()The type of search engine that the domain is running.OpenSearchfor an OpenSearch engine, orElasticsearchfor a legacy Elasticsearch OSS engine.StringengineTypeAsString()The type of search engine that the domain is running.OpenSearchfor an OpenSearch engine, orElasticsearchfor a legacy Elasticsearch OSS engine.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DomainInfo.Builder>serializableBuilderClass()DomainInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
domainName
public final String domainName()
Name of the domain.
- Returns:
- Name of the domain.
-
engineType
public final EngineType engineType()
The type of search engine that the domain is running.
OpenSearchfor an OpenSearch engine, orElasticsearchfor a legacy Elasticsearch OSS engine.If the service returns an enum value that is not available in the current SDK version,
engineTypewill returnEngineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromengineTypeAsString().- Returns:
- The type of search engine that the domain is running.
OpenSearchfor an OpenSearch engine, orElasticsearchfor a legacy Elasticsearch OSS engine. - See Also:
EngineType
-
engineTypeAsString
public final String engineTypeAsString()
The type of search engine that the domain is running.
OpenSearchfor an OpenSearch engine, orElasticsearchfor a legacy Elasticsearch OSS engine.If the service returns an enum value that is not available in the current SDK version,
engineTypewill returnEngineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromengineTypeAsString().- Returns:
- The type of search engine that the domain is running.
OpenSearchfor an OpenSearch engine, orElasticsearchfor a legacy Elasticsearch OSS engine. - See Also:
EngineType
-
toBuilder
public DomainInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DomainInfo.Builder,DomainInfo>
-
builder
public static DomainInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends DomainInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-