Class CfnContainerPropsMixin.EcrImagePullerRoleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lightsail.CfnContainerPropsMixin.EcrImagePullerRoleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnContainerPropsMixin.EcrImagePullerRoleProperty>
- Enclosing interface:
CfnContainerPropsMixin.EcrImagePullerRoleProperty
@Stability(Stable)
public static final class CfnContainerPropsMixin.EcrImagePullerRoleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnContainerPropsMixin.EcrImagePullerRoleProperty>
A builder for
CfnContainerPropsMixin.EcrImagePullerRoleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnContainerPropsMixin.EcrImagePullerRoleProperty.getIsActive()isActive(IResolvable isActive) Sets the value ofCfnContainerPropsMixin.EcrImagePullerRoleProperty.getIsActive()principalArn(String principalArn) Sets the value ofCfnContainerPropsMixin.EcrImagePullerRoleProperty.getPrincipalArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isActive
@Stability(Stable) public CfnContainerPropsMixin.EcrImagePullerRoleProperty.Builder isActive(Boolean isActive) Sets the value ofCfnContainerPropsMixin.EcrImagePullerRoleProperty.getIsActive()- Parameters:
isActive- A boolean value that indicates whether theECRImagePullerRoleis active.- Returns:
this
-
isActive
@Stability(Stable) public CfnContainerPropsMixin.EcrImagePullerRoleProperty.Builder isActive(IResolvable isActive) Sets the value ofCfnContainerPropsMixin.EcrImagePullerRoleProperty.getIsActive()- Parameters:
isActive- A boolean value that indicates whether theECRImagePullerRoleis active.- Returns:
this
-
principalArn
@Stability(Stable) public CfnContainerPropsMixin.EcrImagePullerRoleProperty.Builder principalArn(String principalArn) Sets the value ofCfnContainerPropsMixin.EcrImagePullerRoleProperty.getPrincipalArn()- Parameters:
principalArn- The principle Amazon Resource Name (ARN) of the role. This property is read-only.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnContainerPropsMixin.EcrImagePullerRoleProperty>- Returns:
- a new instance of
CfnContainerPropsMixin.EcrImagePullerRoleProperty - Throws:
NullPointerException- if any required attribute was not provided
-