Class ResourceGroup
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about a resource group. The resource group defines a set of tags that, when queried, identify the AWS resources that make up the assessment target. This data type is used as the response element in the DescribeResourceGroups action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getArn()
The ARN of the resource group.The time at which resource group is created.getTags()
The tags (key and value pairs) of the resource group.int
hashCode()
void
The ARN of the resource group.void
setCreatedAt
(Date createdAt) The time at which resource group is created.void
setTags
(Collection<ResourceGroupTag> tags) The tags (key and value pairs) of the resource group.toString()
Returns a string representation of this object; useful for testing and debugging.The ARN of the resource group.withCreatedAt
(Date createdAt) The time at which resource group is created.withTags
(ResourceGroupTag... tags) The tags (key and value pairs) of the resource group.withTags
(Collection<ResourceGroupTag> tags) The tags (key and value pairs) of the resource group.
-
Constructor Details
-
ResourceGroup
public ResourceGroup()
-
-
Method Details
-
setArn
The ARN of the resource group.
- Parameters:
arn
- The ARN of the resource group.
-
getArn
The ARN of the resource group.
- Returns:
- The ARN of the resource group.
-
withArn
The ARN of the resource group.
- Parameters:
arn
- The ARN of the resource group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.
- Returns:
- The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.
-
setTags
The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.
- Parameters:
tags
- The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.
-
withTags
The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
orwithTags(java.util.Collection)
if you want to override the existing values.- Parameters:
tags
- The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.
- Parameters:
tags
- The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreatedAt
The time at which resource group is created.
- Parameters:
createdAt
- The time at which resource group is created.
-
getCreatedAt
The time at which resource group is created.
- Returns:
- The time at which resource group is created.
-
withCreatedAt
The time at which resource group is created.
- Parameters:
createdAt
- The time at which resource group is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-