@Generated(value="software.amazon.awssdk:codegen") public final class Group extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Group.Builder,Group>
A resource group that contains AWS resources. You can assign resources to the group by associating either of the following elements with the group:
ResourceQuery - Use a resource query to specify a set of tag keys and values. All resources in the same AWS Region and AWS account that have those keys with the same values are included in the group. You can add a resource query when you create the group, or later by using the PutGroupConfiguration operation.
GroupConfiguration - Use a service configuration to associate the group with an AWS service. The configuration specifies which resource types can be included in the group.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Group.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Group.Builder |
builder() |
String |
description()
The description of the resource group.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
groupArn()
The ARN of the resource group.
|
int |
hashCode() |
String |
name()
The name of the resource group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Group.Builder> |
serializableBuilderClass() |
Group.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String groupArn()
The ARN of the resource group.
public final String name()
The name of the resource group.
public final String description()
The description of the resource group.
public Group.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Group.Builder,Group>public static Group.Builder builder()
public static Class<? extends Group.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2020. All rights reserved.