@Generated(value="software.amazon.awssdk:codegen") public final class GroupConfigurationItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GroupConfigurationItem.Builder,GroupConfigurationItem>
An item in a group configuration. A group configuration can have one or more items.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GroupConfigurationItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GroupConfigurationItem.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasParameters()
Returns true if the Parameters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<GroupConfigurationParameter> |
parameters()
A collection of parameters for this group configuration item.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GroupConfigurationItem.Builder> |
serializableBuilderClass() |
GroupConfigurationItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
Specifies the type of group configuration item.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String type()
Specifies the type of group configuration item. Each item must have a unique value for type.
You can specify the following string values:
AWS::EC2::CapacityReservationPool
For more information about EC2 capacity reservation groups, see Working with capacity reservation groups in the EC2 Users Guide.
AWS::ResourceGroups::Generic - Supports parameters that configure the behavior of resource groups of
any type.
type
.
You can specify the following string values:
AWS::EC2::CapacityReservationPool
For more information about EC2 capacity reservation groups, see Working with capacity reservation groups in the EC2 Users Guide.
AWS::ResourceGroups::Generic - Supports parameters that configure the behavior of resource
groups of any type.
public boolean hasParameters()
public List<GroupConfigurationParameter> parameters()
A collection of parameters for this group configuration item.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasParameters() to see if a value was sent in this field.
public GroupConfigurationItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GroupConfigurationItem.Builder,GroupConfigurationItem>public static GroupConfigurationItem.Builder builder()
public static Class<? extends GroupConfigurationItem.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.