public static final class CfnResourceSetProps.Builder
extends java.lang.Object
CfnResourceSetProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnResourceSetProps |
build()
Builds the configured instance.
|
CfnResourceSetProps.Builder |
resources(IResolvable resources)
Sets the value of
CfnResourceSetProps.getResources() |
CfnResourceSetProps.Builder |
resources(java.util.List<? extends java.lang.Object> resources)
Sets the value of
CfnResourceSetProps.getResources() |
CfnResourceSetProps.Builder |
resourceSetName(java.lang.String resourceSetName)
Sets the value of
CfnResourceSetProps.getResourceSetName() |
CfnResourceSetProps.Builder |
resourceSetType(java.lang.String resourceSetType)
Sets the value of
CfnResourceSetProps.getResourceSetType() |
CfnResourceSetProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnResourceSetProps.getTags() |
public CfnResourceSetProps.Builder resources(IResolvable resources)
CfnResourceSetProps.getResources()
resources
- A list of resource objects in the resource set. This parameter is required.this
public CfnResourceSetProps.Builder resources(java.util.List<? extends java.lang.Object> resources)
CfnResourceSetProps.getResources()
resources
- A list of resource objects in the resource set. This parameter is required.this
public CfnResourceSetProps.Builder resourceSetType(java.lang.String resourceSetType)
CfnResourceSetProps.getResourceSetType()
resourceSetType
- The resource type of the resources in the resource set. Enter one of the following values for resource type:. This parameter is required.
AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::MSK::Cluster, AWS::RDS::DBCluster, AWS::Route53::HealthCheck, AWS::SQS::Queue, AWS::SNS::Topic, AWS::SNS::Subscription, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::Route53RecoveryReadiness::DNSTargetResource.
Note that AWS::Route53RecoveryReadiness::DNSTargetResource is only used for this setting. It isn't an actual AWS CloudFormation resource type.
this
public CfnResourceSetProps.Builder resourceSetName(java.lang.String resourceSetName)
CfnResourceSetProps.getResourceSetName()
resourceSetName
- The name of the resource set to create.this
public CfnResourceSetProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnResourceSetProps.getTags()
tags
- A tag to associate with the parameters for a resource set.this
public CfnResourceSetProps build()
CfnResourceSetProps
java.lang.NullPointerException
- if any required attribute was not provided