Class DomainSummary
- java.lang.Object
-
- software.amazon.awssdk.services.codeartifact.model.DomainSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DomainSummary.Builder,DomainSummary>
@Generated("software.amazon.awssdk:codegen") public final class DomainSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DomainSummary.Builder,DomainSummary>
Information about a domain, including its name, Amazon Resource Name (ARN), and status. The ListDomains operation returns a list of
DomainSummaryobjects.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDomainSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the domain.static DomainSummary.Builderbuilder()InstantcreatedTime()A timestamp that contains the date and time the domain was created.StringencryptionKey()The key used to encrypt the domain.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the domain.Stringowner()The 12-digit account number of the Amazon Web Services account that owns the domain.List<SdkField<?>>sdkFields()static Class<? extends DomainSummary.Builder>serializableBuilderClass()DomainStatusstatus()A string that contains the status of the domain.StringstatusAsString()A string that contains the status of the domain.DomainSummary.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.
- Returns:
- The name of the domain.
-
owner
public final String owner()
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
- Returns:
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
-
arn
public final String arn()
The ARN of the domain.
- Returns:
- The ARN of the domain.
-
status
public final DomainStatus status()
A string that contains the status of the domain.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDomainStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- A string that contains the status of the domain.
- See Also:
DomainStatus
-
statusAsString
public final String statusAsString()
A string that contains the status of the domain.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnDomainStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- A string that contains the status of the domain.
- See Also:
DomainStatus
-
createdTime
public final Instant createdTime()
A timestamp that contains the date and time the domain was created.
- Returns:
- A timestamp that contains the date and time the domain was created.
-
encryptionKey
public final String encryptionKey()
The key used to encrypt the domain.
- Returns:
- The key used to encrypt the domain.
-
toBuilder
public DomainSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DomainSummary.Builder,DomainSummary>
-
builder
public static DomainSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends DomainSummary.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.
-
-