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 Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resources
(Collection<Resource> resources) A list of resource objects in the resource set.resources
(Consumer<Resource.Builder>... resources) A list of resource objects in the resource set.A list of resource objects in the resource set.resourceSetName
(String resourceSetName) The name of the resource set to create.resourceSetType
(String resourceSetType) The resource type of the resources in the resource set.A tag to associate with the parameters for a resource set.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53recoveryreadiness.model.Route53RecoveryReadinessRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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 theResource.Builder
avoiding the need to create one manually viaResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresources(List<Resource>)
.- Parameters:
resources
- a consumer that will call methods onResource.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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateResourceSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-