Class CfnConnectionPropsMixin.AwsLocationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.datazone.CfnConnectionPropsMixin.AwsLocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConnectionPropsMixin.AwsLocationProperty>
- Enclosing interface:
CfnConnectionPropsMixin.AwsLocationProperty
@Stability(Stable)
public static final class CfnConnectionPropsMixin.AwsLocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConnectionPropsMixin.AwsLocationProperty>
A builder for
CfnConnectionPropsMixin.AwsLocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessRole(String accessRole) Sets the value ofCfnConnectionPropsMixin.AwsLocationProperty.getAccessRole()awsAccountId(String awsAccountId) Sets the value ofCfnConnectionPropsMixin.AwsLocationProperty.getAwsAccountId()Sets the value ofCfnConnectionPropsMixin.AwsLocationProperty.getAwsRegion()build()Builds the configured instance.iamConnectionId(String iamConnectionId) Sets the value ofCfnConnectionPropsMixin.AwsLocationProperty.getIamConnectionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessRole
@Stability(Stable) public CfnConnectionPropsMixin.AwsLocationProperty.Builder accessRole(String accessRole) Sets the value ofCfnConnectionPropsMixin.AwsLocationProperty.getAccessRole()- Parameters:
accessRole- The access role of a connection.- Returns:
this
-
awsAccountId
@Stability(Stable) public CfnConnectionPropsMixin.AwsLocationProperty.Builder awsAccountId(String awsAccountId) Sets the value ofCfnConnectionPropsMixin.AwsLocationProperty.getAwsAccountId()- Parameters:
awsAccountId- The account ID of a connection.- Returns:
this
-
awsRegion
@Stability(Stable) public CfnConnectionPropsMixin.AwsLocationProperty.Builder awsRegion(String awsRegion) Sets the value ofCfnConnectionPropsMixin.AwsLocationProperty.getAwsRegion()- Parameters:
awsRegion- The Region of a connection.- Returns:
this
-
iamConnectionId
@Stability(Stable) public CfnConnectionPropsMixin.AwsLocationProperty.Builder iamConnectionId(String iamConnectionId) Sets the value ofCfnConnectionPropsMixin.AwsLocationProperty.getIamConnectionId()- Parameters:
iamConnectionId- The IAM connection ID of a connection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConnectionPropsMixin.AwsLocationProperty>- Returns:
- a new instance of
CfnConnectionPropsMixin.AwsLocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-