Interface RegistryAlias.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RegistryAlias.Builder,RegistryAlias>,SdkBuilder<RegistryAlias.Builder,RegistryAlias>,SdkPojo
- Enclosing class:
- RegistryAlias
public static interface RegistryAlias.Builder extends SdkPojo, CopyableBuilder<RegistryAlias.Builder,RegistryAlias>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RegistryAlias.BuilderdefaultRegistryAlias(Boolean defaultRegistryAlias)Indicates whether the registry alias is the default alias for the registry.RegistryAlias.Buildername(String name)The name of the registry alias.RegistryAlias.BuilderprimaryRegistryAlias(Boolean primaryRegistryAlias)Indicates whether the registry alias is the primary alias for the registry.RegistryAlias.Builderstatus(String status)The status of the registry alias.RegistryAlias.Builderstatus(RegistryAliasStatus status)The status of the registry alias.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
RegistryAlias.Builder name(String name)
The name of the registry alias.
- Parameters:
name- The name of the registry alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
RegistryAlias.Builder status(String status)
The status of the registry alias.
- Parameters:
status- The status of the registry alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RegistryAliasStatus,RegistryAliasStatus
-
status
RegistryAlias.Builder status(RegistryAliasStatus status)
The status of the registry alias.
- Parameters:
status- The status of the registry alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RegistryAliasStatus,RegistryAliasStatus
-
primaryRegistryAlias
RegistryAlias.Builder primaryRegistryAlias(Boolean primaryRegistryAlias)
Indicates whether 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 pullcommands on the Amazon ECR Public Gallery.A registry alias that isn't the primary registry alias can be used in the repository URI in a
docker pullcommand.- Parameters:
primaryRegistryAlias- Indicates whether 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 thedocker pullcommands on the Amazon ECR Public Gallery.A registry alias that isn't the primary registry alias can be used in the repository URI in a
docker pullcommand.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultRegistryAlias
RegistryAlias.Builder defaultRegistryAlias(Boolean defaultRegistryAlias)
Indicates whether 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.
- Parameters:
defaultRegistryAlias- Indicates whether 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-