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 Details

    • Builder

      public Builder()
  • Method Details

    • resources

      @Stability(Stable) public CfnResourceSetProps.Builder resources(IResolvable resources)
      Parameters:
      resources - A list of resource objects in the resource set. This parameter is required.
      Returns:
      this
    • resources

      @Stability(Stable) public CfnResourceSetProps.Builder resources(List<? extends Object> resources)
      Parameters:
      resources - A list of resource objects in the resource set. This parameter is required.
      Returns:
      this
    • resourceSetType

      @Stability(Stable) public CfnResourceSetProps.Builder resourceSetType(String resourceSetType)
      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

      @Stability(Stable) public CfnResourceSetProps.Builder resourceSetName(String resourceSetName)
      Parameters:
      resourceSetName - The name of the resource set to create.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnResourceSetProps.Builder tags(List<? extends CfnTag> tags)
      Parameters:
      tags - A tag to associate with the parameters for a resource set.
      Returns:
      this
    • build

      @Stability(Stable) public CfnResourceSetProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnResourceSetProps>
      Returns:
      a new instance of CfnResourceSetProps
      Throws:
      NullPointerException - if any required attribute was not provided