Class CfnIPAMPoolPropsMixin.SourceResourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnIPAMPoolPropsMixin.SourceResourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIPAMPoolPropsMixin.SourceResourceProperty>
- Enclosing interface:
CfnIPAMPoolPropsMixin.SourceResourceProperty
@Stability(Stable)
public static final class CfnIPAMPoolPropsMixin.SourceResourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIPAMPoolPropsMixin.SourceResourceProperty>
A builder for
CfnIPAMPoolPropsMixin.SourceResourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resourceId(String resourceId) Sets the value ofCfnIPAMPoolPropsMixin.SourceResourceProperty.getResourceId()resourceOwner(String resourceOwner) Sets the value ofCfnIPAMPoolPropsMixin.SourceResourceProperty.getResourceOwner()resourceRegion(String resourceRegion) Sets the value ofCfnIPAMPoolPropsMixin.SourceResourceProperty.getResourceRegion()resourceType(String resourceType) Sets the value ofCfnIPAMPoolPropsMixin.SourceResourceProperty.getResourceType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resourceId
@Stability(Stable) public CfnIPAMPoolPropsMixin.SourceResourceProperty.Builder resourceId(String resourceId) Sets the value ofCfnIPAMPoolPropsMixin.SourceResourceProperty.getResourceId()- Parameters:
resourceId- The source resource ID.- Returns:
this
-
resourceOwner
@Stability(Stable) public CfnIPAMPoolPropsMixin.SourceResourceProperty.Builder resourceOwner(String resourceOwner) Sets the value ofCfnIPAMPoolPropsMixin.SourceResourceProperty.getResourceOwner()- Parameters:
resourceOwner- The source resource owner.- Returns:
this
-
resourceRegion
@Stability(Stable) public CfnIPAMPoolPropsMixin.SourceResourceProperty.Builder resourceRegion(String resourceRegion) Sets the value ofCfnIPAMPoolPropsMixin.SourceResourceProperty.getResourceRegion()- Parameters:
resourceRegion- The source resource Region.- Returns:
this
-
resourceType
@Stability(Stable) public CfnIPAMPoolPropsMixin.SourceResourceProperty.Builder resourceType(String resourceType) Sets the value ofCfnIPAMPoolPropsMixin.SourceResourceProperty.getResourceType()- Parameters:
resourceType- The source resource type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIPAMPoolPropsMixin.SourceResourceProperty>- Returns:
- a new instance of
CfnIPAMPoolPropsMixin.SourceResourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-