@Generated(value="software.amazon.awssdk:codegen") public final class RegistryAlias extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RegistryAlias.Builder,RegistryAlias>
An object representing the aliases for a public registry. A public registry is given an alias upon creation but a custom alias can be set using the Amazon ECR console. For more information, see Registries in the Amazon Elastic Container Registry User Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RegistryAlias.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RegistryAlias.Builder |
builder() |
Boolean |
defaultRegistryAlias()
Whether or not the registry alias is the default alias for the registry.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the registry alias.
|
Boolean |
primaryRegistryAlias()
Whether or not the registry alias is the primary alias for the registry.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RegistryAlias.Builder> |
serializableBuilderClass() |
RegistryAliasStatus |
status()
The status of the registry alias.
|
String |
statusAsString()
The status of the registry alias.
|
RegistryAlias.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the registry alias.
public final RegistryAliasStatus status()
The status of the registry alias.
If the service returns an enum value that is not available in the current SDK version, status will
return RegistryAliasStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
RegistryAliasStatuspublic final String statusAsString()
The status of the registry alias.
If the service returns an enum value that is not available in the current SDK version, status will
return RegistryAliasStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
RegistryAliasStatuspublic final Boolean primaryRegistryAlias()
Whether or not the registry alias is the primary alias for the registry. If true, the alias is the primary
registry alias and is displayed in both the repository URL and the image URI used in the docker pull
commands on the Amazon ECR Public Gallery.
A registry alias that is not the primary registry alias can be used in the repository URI in a
docker pull command.
docker pull commands on the Amazon ECR Public Gallery.
A registry alias that is not the primary registry alias can be used in the repository URI in a
docker pull command.
public final Boolean defaultRegistryAlias()
Whether or not the registry alias is the default alias for the registry. When the first public repository is created, your public registry is assigned a default registry alias.
public RegistryAlias.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RegistryAlias.Builder,RegistryAlias>public static RegistryAlias.Builder builder()
public static Class<? extends RegistryAlias.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.