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
Modifier and TypeMethodDescriptionecrImagePullerRole
(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.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.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 Details
-
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.Builder
avoiding the need to create one manually viaContainerServiceECRImagePullerRoleRequest.builder()
.When the
Consumer
completes,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:
-