Interface PrivateRegistryAccessRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PrivateRegistryAccessRequest.Builder,PrivateRegistryAccessRequest>,SdkBuilder<PrivateRegistryAccessRequest.Builder,PrivateRegistryAccessRequest>,SdkPojo
- Enclosing class:
- PrivateRegistryAccessRequest
public static interface PrivateRegistryAccessRequest.Builder extends SdkPojo, CopyableBuilder<PrivateRegistryAccessRequest.Builder,PrivateRegistryAccessRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PrivateRegistryAccessRequest.BuilderecrImagePullerRole(Consumer<ContainerServiceECRImagePullerRoleRequest.Builder> ecrImagePullerRole)An object to describe a request to activate or deactivate the role that you can use to grant an Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR) private repositories.PrivateRegistryAccessRequest.BuilderecrImagePullerRole(ContainerServiceECRImagePullerRoleRequest ecrImagePullerRole)An object to describe a request to activate or deactivate the role that you can use to grant an Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR) private repositories.-
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
-
ecrImagePullerRole
PrivateRegistryAccessRequest.Builder ecrImagePullerRole(ContainerServiceECRImagePullerRoleRequest ecrImagePullerRole)
An object to describe a request to activate or deactivate the role that you can use to grant an Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR) private repositories.
- Parameters:
ecrImagePullerRole- An object to describe a request to activate or deactivate the role that you can use to grant an Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR) private repositories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecrImagePullerRole
default PrivateRegistryAccessRequest.Builder ecrImagePullerRole(Consumer<ContainerServiceECRImagePullerRoleRequest.Builder> ecrImagePullerRole)
An object to describe a request to activate or deactivate the role that you can use to grant an Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR) private repositories.
This is a convenience method that creates an instance of theContainerServiceECRImagePullerRoleRequest.Builderavoiding the need to create one manually viaContainerServiceECRImagePullerRoleRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toecrImagePullerRole(ContainerServiceECRImagePullerRoleRequest).- Parameters:
ecrImagePullerRole- a consumer that will call methods onContainerServiceECRImagePullerRoleRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ecrImagePullerRole(ContainerServiceECRImagePullerRoleRequest)
-
-