Class DomainDescription
- java.lang.Object
-
- software.amazon.awssdk.services.codeartifact.model.DomainDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DomainDescription.Builder,DomainDescription>
@Generated("software.amazon.awssdk:codegen") public final class DomainDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DomainDescription.Builder,DomainDescription>
Information about a domain. A domain is a container for repositories. When you create a domain, it is empty until you add one or more repositories.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDomainDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the domain.LongassetSizeBytes()The total size of all assets in the domain.static DomainDescription.Builderbuilder()InstantcreatedTime()A timestamp that represents the date and time the domain was created.StringencryptionKey()The ARN of an Key Management Service (KMS) key associated with a 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 Amazon Web Services account ID that owns the domain.IntegerrepositoryCount()The number of repositories in the domain.Strings3BucketArn()The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to store package assets in the domain.List<SdkField<?>>sdkFields()static Class<? extends DomainDescription.Builder>serializableBuilderClass()DomainStatusstatus()The current status of a domain.StringstatusAsString()The current status of a domain.DomainDescription.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 Amazon Web Services account ID that owns the domain.
- Returns:
- The Amazon Web Services account ID that owns the domain.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the domain.
- Returns:
- The Amazon Resource Name (ARN) of the domain.
-
status
public final DomainStatus status()
The current status of a 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:
- The current status of a domain.
- See Also:
DomainStatus
-
statusAsString
public final String statusAsString()
The current status of a 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:
- The current status of a domain.
- See Also:
DomainStatus
-
createdTime
public final Instant createdTime()
A timestamp that represents the date and time the domain was created.
- Returns:
- A timestamp that represents the date and time the domain was created.
-
encryptionKey
public final String encryptionKey()
The ARN of an Key Management Service (KMS) key associated with a domain.
- Returns:
- The ARN of an Key Management Service (KMS) key associated with a domain.
-
repositoryCount
public final Integer repositoryCount()
The number of repositories in the domain.
- Returns:
- The number of repositories in the domain.
-
assetSizeBytes
public final Long assetSizeBytes()
The total size of all assets in the domain.
- Returns:
- The total size of all assets in the domain.
-
s3BucketArn
public final String s3BucketArn()
The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to store package assets in the domain.
- Returns:
- The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to store package assets in the domain.
-
toBuilder
public DomainDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DomainDescription.Builder,DomainDescription>
-
builder
public static DomainDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends DomainDescription.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.
-
-