Class CfnResourceSetProps.Builder
java.lang.Object
software.amazon.awscdk.services.route53recoveryreadiness.CfnResourceSetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceSetProps>
- Enclosing interface:
- CfnResourceSetProps
@Stability(Stable)
public static final class CfnResourceSetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceSetProps>
A builder for
CfnResourceSetProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnResourceSetProps.getResources()
resources
(IResolvable resources) Sets the value ofCfnResourceSetProps.getResources()
resourceSetName
(String resourceSetName) Sets the value ofCfnResourceSetProps.getResourceSetName()
resourceSetType
(String resourceSetType) Sets the value ofCfnResourceSetProps.getResourceSetType()
Sets the value ofCfnResourceSetProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resources
Sets the value ofCfnResourceSetProps.getResources()
- Parameters:
resources
- A list of resource objects in the resource set. This parameter is required.- Returns:
this
-
resources
Sets the value ofCfnResourceSetProps.getResources()
- Parameters:
resources
- A list of resource objects in the resource set. This parameter is required.- Returns:
this
-
resourceSetType
Sets the value ofCfnResourceSetProps.getResourceSetType()
- Parameters:
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::ApiGateway::Stage, AWS::ApiGatewayV2::Stage, AWS::AutoScaling::AutoScalingGroup, AWS::CloudWatch::Alarm, AWS::EC2::CustomerGateway, AWS::DynamoDB::Table, AWS::EC2::Volume, AWS::ElasticLoadBalancing::LoadBalancer, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::Lambda::Function, 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.
- Returns:
this
-
resourceSetName
Sets the value ofCfnResourceSetProps.getResourceSetName()
- Parameters:
resourceSetName
- The name of the resource set to create.- Returns:
this
-
tags
Sets the value ofCfnResourceSetProps.getTags()
- Parameters:
tags
- A tag to associate with the parameters for a resource set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResourceSetProps>
- Returns:
- a new instance of
CfnResourceSetProps
- Throws:
NullPointerException
- if any required attribute was not provided
-