Class DomainInfo
- java.lang.Object
-
- software.amazon.awssdk.services.swf.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>
Contains general information about a 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 Stringarn()The ARN of the domain.static DomainInfo.Builderbuilder()Stringdescription()The description of the domain provided through RegisterDomain.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the domain.List<SdkField<?>>sdkFields()static Class<? extends DomainInfo.Builder>serializableBuilderClass()RegistrationStatusstatus()The status of the domain:StringstatusAsString()The status of the domain: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
-
name
public final String name()
The name of the domain. This name is unique within the account.
- Returns:
- The name of the domain. This name is unique within the account.
-
status
public final RegistrationStatus status()
The status of the domain:
-
REGISTERED– The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions. -
DEPRECATED– The domain was deprecated using DeprecateDomain, but is still in use. You should not create new workflow executions in this domain.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRegistrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the domain:
-
REGISTERED– The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions. -
DEPRECATED– The domain was deprecated using DeprecateDomain, but is still in use. You should not create new workflow executions in this domain.
-
- See Also:
RegistrationStatus
-
-
statusAsString
public final String statusAsString()
The status of the domain:
-
REGISTERED– The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions. -
DEPRECATED– The domain was deprecated using DeprecateDomain, but is still in use. You should not create new workflow executions in this domain.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRegistrationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the domain:
-
REGISTERED– The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions. -
DEPRECATED– The domain was deprecated using DeprecateDomain, but is still in use. You should not create new workflow executions in this domain.
-
- See Also:
RegistrationStatus
-
-
description
public final String description()
The description of the domain provided through RegisterDomain.
- Returns:
- The description of the domain provided through RegisterDomain.
-
arn
public final String arn()
The ARN of the domain.
- Returns:
- The ARN of the domain.
-
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.
-
-