@Stability(value=Stable) public static final class CfnLocationEFS.Ec2ConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnLocationEFS.Ec2ConfigProperty>
CfnLocationEFS.Ec2ConfigProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnLocationEFS.Ec2ConfigProperty |
build()
Builds the configured instance.
|
CfnLocationEFS.Ec2ConfigProperty.Builder |
securityGroupArns(List<String> securityGroupArns)
Sets the value of
CfnLocationEFS.Ec2ConfigProperty.getSecurityGroupArns() |
CfnLocationEFS.Ec2ConfigProperty.Builder |
subnetArn(String subnetArn)
Sets the value of
CfnLocationEFS.Ec2ConfigProperty.getSubnetArn() |
@Stability(value=Stable) public CfnLocationEFS.Ec2ConfigProperty.Builder securityGroupArns(List<String> securityGroupArns)
CfnLocationEFS.Ec2ConfigProperty.getSecurityGroupArns()securityGroupArns - The Amazon Resource Names (ARNs) of the security groups that are configured for the Amazon EC2 resource. This parameter is required.
Pattern : ^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):ec2:[a-z\-0-9]*:[0-9]{12}:security-group/.*$this@Stability(value=Stable) public CfnLocationEFS.Ec2ConfigProperty.Builder subnetArn(String subnetArn)
CfnLocationEFS.Ec2ConfigProperty.getSubnetArn()subnetArn - The Amazon Resource Name (ARN) of the subnet that DataSync uses to access the target EFS file system. This parameter is required.this@Stability(value=Stable) public CfnLocationEFS.Ec2ConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnLocationEFS.Ec2ConfigProperty>CfnLocationEFS.Ec2ConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.