@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GroupConfigurationItem extends Object implements Serializable, Cloneable, StructuredPojo
An item in a group configuration. A group configuration can have one or more items.
| Constructor and Description |
|---|
GroupConfigurationItem() |
| Modifier and Type | Method and Description |
|---|---|
GroupConfigurationItem |
clone() |
boolean |
equals(Object obj) |
List<GroupConfigurationParameter> |
getParameters()
A collection of parameters for this group configuration item.
|
String |
getType()
Specifies the type of group configuration item.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setParameters(Collection<GroupConfigurationParameter> parameters)
A collection of parameters for this group configuration item.
|
void |
setType(String type)
Specifies the type of group configuration item.
|
String |
toString()
Returns a string representation of this object.
|
GroupConfigurationItem |
withParameters(Collection<GroupConfigurationParameter> parameters)
A collection of parameters for this group configuration item.
|
GroupConfigurationItem |
withParameters(GroupConfigurationParameter... parameters)
A collection of parameters for this group configuration item.
|
GroupConfigurationItem |
withType(String type)
Specifies the type of group configuration item.
|
public void setType(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 - 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.
public String getType()
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 GroupConfigurationItem withType(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 - 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.
public List<GroupConfigurationParameter> getParameters()
A collection of parameters for this group configuration item.
public void setParameters(Collection<GroupConfigurationParameter> parameters)
A collection of parameters for this group configuration item.
parameters - A collection of parameters for this group configuration item.public GroupConfigurationItem withParameters(GroupConfigurationParameter... parameters)
A collection of parameters for this group configuration item.
NOTE: This method appends the values to the existing list (if any). Use
setParameters(java.util.Collection) or withParameters(java.util.Collection) if you want to
override the existing values.
parameters - A collection of parameters for this group configuration item.public GroupConfigurationItem withParameters(Collection<GroupConfigurationParameter> parameters)
A collection of parameters for this group configuration item.
parameters - A collection of parameters for this group configuration item.public String toString()
toString in class ObjectObject.toString()public GroupConfigurationItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.