@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 arn for the ResourceSet
|
String |
getResourceSetName()
The name of the ResourceSet
|
String |
getResourceSetType()
AWS Resource Type of the resources in the ResourceSet
|
Map<String,String> |
getTags() |
int |
hashCode() |
void |
setResources(Collection<Resource> resources)
A list of Resource objects
|
void |
setResourceSetArn(String resourceSetArn)
The arn for the ResourceSet
|
void |
setResourceSetName(String resourceSetName)
The name of the ResourceSet
|
void |
setResourceSetType(String resourceSetType)
AWS Resource Type of the resources in the ResourceSet
|
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 arn for the ResourceSet
|
CreateResourceSetResult |
withResourceSetName(String resourceSetName)
The name of the ResourceSet
|
CreateResourceSetResult |
withResourceSetType(String resourceSetType)
AWS Resource Type of the resources in the ResourceSet
|
CreateResourceSetResult |
withTags(Map<String,String> tags) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResourceSetArn(String resourceSetArn)
resourceSetArn
- The arn for the ResourceSetpublic String getResourceSetArn()
public CreateResourceSetResult withResourceSetArn(String resourceSetArn)
resourceSetArn
- The arn for the ResourceSetpublic void setResourceSetName(String resourceSetName)
resourceSetName
- The name of the ResourceSetpublic String getResourceSetName()
public CreateResourceSetResult withResourceSetName(String resourceSetName)
resourceSetName
- The name of the ResourceSetpublic void setResourceSetType(String resourceSetType)
resourceSetType
- AWS Resource Type of the resources in the ResourceSetpublic String getResourceSetType()
public CreateResourceSetResult withResourceSetType(String resourceSetType)
resourceSetType
- AWS Resource Type of the resources in the ResourceSetpublic List<Resource> getResources()
public void setResources(Collection<Resource> resources)
resources
- A list of Resource objectspublic CreateResourceSetResult withResources(Resource... resources)
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 objectspublic CreateResourceSetResult withResources(Collection<Resource> resources)
resources
- A list of Resource objectspublic 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()