Interface CreateResourceSetRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateResourceSetRequest.Builder,CreateResourceSetRequest>, Route53RecoveryReadinessRequest.Builder, SdkBuilder<CreateResourceSetRequest.Builder,CreateResourceSetRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateResourceSetRequest

  • Method Details

    • resourceSetName

      CreateResourceSetRequest.Builder resourceSetName(String resourceSetName)

      The name of the resource set to create.

      Parameters:
      resourceSetName - The name of the resource set to create.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceSetType

      CreateResourceSetRequest.Builder resourceSetType(String resourceSetType)

      The resource type of the resources in the resource set. Enter one of the following values for resource type:

      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

      Parameters:
      resourceSetType - The resource type of the resources in the resource set. Enter one of the following values for resource type:

      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

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      A list of resource objects in the resource set.

      Parameters:
      resources - A list of resource objects in the resource set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      CreateResourceSetRequest.Builder resources(Resource... resources)

      A list of resource objects in the resource set.

      Parameters:
      resources - A list of resource objects in the resource set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      A list of resource objects in the resource set.

      This is a convenience method that creates an instance of the Resource.Builder avoiding the need to create one manually via Resource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resources(List<Resource>).

      Parameters:
      resources - a consumer that will call methods on Resource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      A tag to associate with the parameters for a resource set.

      Parameters:
      tags - A tag to associate with the parameters for a resource set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateResourceSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.