Interface PrivateRegistryAccess.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PrivateRegistryAccess.Builder,,PrivateRegistryAccess> SdkBuilder<PrivateRegistryAccess.Builder,,PrivateRegistryAccess> SdkPojo
- Enclosing class:
PrivateRegistryAccess
public static interface PrivateRegistryAccess.Builder
extends SdkPojo, CopyableBuilder<PrivateRegistryAccess.Builder,PrivateRegistryAccess>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PrivateRegistryAccess.BuilderecrImagePullerRole(Consumer<ContainerServiceECRImagePullerRole.Builder> ecrImagePullerRole) An object that describes the activation status of the role that you can use to grant a Lightsail container service access to Amazon ECR private repositories.ecrImagePullerRole(ContainerServiceECRImagePullerRole ecrImagePullerRole) An object that describes the activation status of the role that you can use to grant a Lightsail container service access to Amazon ECR private repositories.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
ecrImagePullerRole
PrivateRegistryAccess.Builder ecrImagePullerRole(ContainerServiceECRImagePullerRole ecrImagePullerRole) An object that describes the activation status of the role that you can use to grant a Lightsail container service access to Amazon ECR private repositories. If the role is activated, the Amazon Resource Name (ARN) of the role is also listed.
- Parameters:
ecrImagePullerRole- An object that describes the activation status of the role that you can use to grant a Lightsail container service access to Amazon ECR private repositories. If the role is activated, the Amazon Resource Name (ARN) of the role is also listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecrImagePullerRole
default PrivateRegistryAccess.Builder ecrImagePullerRole(Consumer<ContainerServiceECRImagePullerRole.Builder> ecrImagePullerRole) An object that describes the activation status of the role that you can use to grant a Lightsail container service access to Amazon ECR private repositories. If the role is activated, the Amazon Resource Name (ARN) of the role is also listed.
This is a convenience method that creates an instance of theContainerServiceECRImagePullerRole.Builderavoiding the need to create one manually viaContainerServiceECRImagePullerRole.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toecrImagePullerRole(ContainerServiceECRImagePullerRole).- Parameters:
ecrImagePullerRole- a consumer that will call methods onContainerServiceECRImagePullerRole.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-