@Generated(value="software.amazon.awssdk:codegen") public final class ResourceGroup extends Object implements StructuredPojo, ToCopyableBuilder<ResourceGroup.Builder,ResourceGroup>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
ResourceGroup.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The ARN of the resource group.
|
static ResourceGroup.Builder |
builder() |
Instant |
createdAt()
The time at which resource group is created.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends ResourceGroup.Builder> |
serializableBuilderClass() |
List<ResourceGroupTag> |
tags()
The tags (key and value pairs) of the resource group.
|
ResourceGroup.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String arn()
The ARN of the resource group.
public List<ResourceGroupTag> tags()
The tags (key and value pairs) of the resource group. This data type property is used in the CreateResourceGroup action.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Instant createdAt()
The time at which resource group is created.
public ResourceGroup.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceGroup.Builder,ResourceGroup>
public static ResourceGroup.Builder builder()
public static Class<? extends ResourceGroup.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.