Interface CreateResourceSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateResourceSetResponse.Builder,
,CreateResourceSetResponse> Route53RecoveryReadinessResponse.Builder
,SdkBuilder<CreateResourceSetResponse.Builder,
,CreateResourceSetResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateResourceSetResponse
-
Method Summary
Modifier and TypeMethodDescriptionresources
(Collection<Resource> resources) A list of resource objects.resources
(Consumer<Resource.Builder>... resources) A list of resource objects.A list of resource objects.resourceSetArn
(String resourceSetArn) The Amazon Resource Name (ARN) for the resource set.resourceSetName
(String resourceSetName) The name of the resource set.resourceSetType
(String resourceSetType) The resource type of the resources in the resource set.Sets the value of the Tags property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.route53recoveryreadiness.model.Route53RecoveryReadinessResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
resourceSetArn
The Amazon Resource Name (ARN) for the resource set.
- Parameters:
resourceSetArn
- The Amazon Resource Name (ARN) for the resource set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSetName
The name of the resource set.
- Parameters:
resourceSetName
- The name of the resource set.- 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.
- Parameters:
resources
- A list of resource objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
A list of resource objects.
- Parameters:
resources
- A list of resource objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
A list of resource objects.
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
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-