@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateResourceSetResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateResourceSetResult() |
Modifier and Type | Method and Description |
---|---|
CreateResourceSetResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateResourceSetResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateResourceSetResult |
clone() |
boolean |
equals(Object obj) |
List<Resource> |
getResources()
A list of resource objects.
|
String |
getResourceSetArn()
The Amazon Resource Name (ARN) for the resource set.
|
String |
getResourceSetName()
The name of the resource set.
|
String |
getResourceSetType()
The resource type of the resources in the resource set.
|
Map<String,String> |
getTags() |
int |
hashCode() |
void |
setResources(Collection<Resource> resources)
A list of resource objects.
|
void |
setResourceSetArn(String resourceSetArn)
The Amazon Resource Name (ARN) for the resource set.
|
void |
setResourceSetName(String resourceSetName)
The name of the resource set.
|
void |
setResourceSetType(String resourceSetType)
The resource type of the resources in the resource set.
|
void |
setTags(Map<String,String> tags) |
String |
toString()
Returns a string representation of this object.
|
CreateResourceSetResult |
withResources(Collection<Resource> resources)
A list of resource objects.
|
CreateResourceSetResult |
withResources(Resource... resources)
A list of resource objects.
|
CreateResourceSetResult |
withResourceSetArn(String resourceSetArn)
The Amazon Resource Name (ARN) for the resource set.
|
CreateResourceSetResult |
withResourceSetName(String resourceSetName)
The name of the resource set.
|
CreateResourceSetResult |
withResourceSetType(String resourceSetType)
The resource type of the resources in the resource set.
|
CreateResourceSetResult |
withTags(Map<String,String> tags) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResourceSetArn(String resourceSetArn)
The Amazon Resource Name (ARN) for the resource set.
resourceSetArn
- The Amazon Resource Name (ARN) for the resource set.public String getResourceSetArn()
The Amazon Resource Name (ARN) for the resource set.
public CreateResourceSetResult withResourceSetArn(String resourceSetArn)
The Amazon Resource Name (ARN) for the resource set.
resourceSetArn
- The Amazon Resource Name (ARN) for the resource set.public void setResourceSetName(String resourceSetName)
The name of the resource set.
resourceSetName
- The name of the resource set.public String getResourceSetName()
The name of the resource set.
public CreateResourceSetResult withResourceSetName(String resourceSetName)
The name of the resource set.
resourceSetName
- The name of the resource set.public void setResourceSetType(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
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
public String getResourceSetType()
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
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
public CreateResourceSetResult withResourceSetType(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
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
public List<Resource> getResources()
A list of resource objects.
public void setResources(Collection<Resource> resources)
A list of resource objects.
resources
- A list of resource objects.public CreateResourceSetResult withResources(Resource... resources)
A list of resource objects.
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection)
or withResources(java.util.Collection)
if you want to
override the existing values.
resources
- A list of resource objects.public CreateResourceSetResult withResources(Collection<Resource> resources)
A list of resource objects.
resources
- A list of resource objects.public CreateResourceSetResult withTags(Map<String,String> tags)
tags
- public CreateResourceSetResult addTagsEntry(String key, String value)
public CreateResourceSetResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateResourceSetResult clone()