@Generated(value="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.
Modifier and Type | Class and Description |
---|---|
static interface |
DomainDescription.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The Amazon Resource Name (ARN) of the domain.
|
Long |
assetSizeBytes()
The total size of all assets in the domain.
|
static DomainDescription.Builder |
builder() |
Instant |
createdTime()
A timestamp that represents the date and time the domain was created.
|
String |
encryptionKey()
The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the domain.
|
String |
owner()
The AWS account ID that owns the domain.
|
Integer |
repositoryCount()
The number of repositories in the domain.
|
String |
s3BucketArn()
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() |
DomainStatus |
status()
The current status of a domain.
|
String |
statusAsString()
The current status of a domain.
|
DomainDescription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String name()
The name of the domain.
public final String owner()
The AWS account ID that owns the domain.
public final String arn()
The Amazon Resource Name (ARN) of the domain.
public final DomainStatus status()
The current status of a domain. The valid values are
Active
Deleted
If the service returns an enum value that is not available in the current SDK version, status
will
return DomainStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
Active
Deleted
DomainStatus
public final String statusAsString()
The current status of a domain. The valid values are
Active
Deleted
If the service returns an enum value that is not available in the current SDK version, status
will
return DomainStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
Active
Deleted
DomainStatus
public final Instant createdTime()
A timestamp that represents the date and time the domain was created.
public final String encryptionKey()
The ARN of an AWS Key Management Service (AWS KMS) key associated with a domain.
public final Integer repositoryCount()
The number of repositories in the domain.
public final Long assetSizeBytes()
The total size of all assets in the domain.
public final String s3BucketArn()
The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to store package assets in the domain.
public DomainDescription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DomainDescription.Builder,DomainDescription>
public static DomainDescription.Builder builder()
public static Class<? extends DomainDescription.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.