@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 service configuration can have one or more items. For details about group service configuration syntax, see Service configurations for resource groups.
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)
Marshalls this structured data using the given
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
. For the
list of types that you can specify for a configuration item, see Supported resource
types and parameters.
type
- Specifies the type of group configuration item. Each item must have a unique value for type
.
For the list of types that you can specify for a configuration item, see Supported
resource types and parameters.public String getType()
Specifies the type of group configuration item. Each item must have a unique value for type
. For the
list of types that you can specify for a configuration item, see Supported resource
types and parameters.
type
.
For the list of types that you can specify for a configuration item, see Supported
resource types and parameters.public GroupConfigurationItem withType(String type)
Specifies the type of group configuration item. Each item must have a unique value for type
. For the
list of types that you can specify for a configuration item, see Supported resource
types and parameters.
type
- Specifies the type of group configuration item. Each item must have a unique value for type
.
For the list of types that you can specify for a configuration item, see Supported
resource types and parameters.public List<GroupConfigurationParameter> getParameters()
A collection of parameters for this group configuration item. For the list of parameters that you can use with each configuration item type, see Supported resource types and parameters.
public void setParameters(Collection<GroupConfigurationParameter> parameters)
A collection of parameters for this group configuration item. For the list of parameters that you can use with each configuration item type, see Supported resource types and parameters.
parameters
- A collection of parameters for this group configuration item. For the list of parameters that you can use
with each configuration item type, see Supported
resource types and parameters.public GroupConfigurationItem withParameters(GroupConfigurationParameter... parameters)
A collection of parameters for this group configuration item. For the list of parameters that you can use with each configuration item type, see Supported resource types and parameters.
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. For the list of parameters that you can use
with each configuration item type, see Supported
resource types and parameters.public GroupConfigurationItem withParameters(Collection<GroupConfigurationParameter> parameters)
A collection of parameters for this group configuration item. For the list of parameters that you can use with each configuration item type, see Supported resource types and parameters.
parameters
- A collection of parameters for this group configuration item. For the list of parameters that you can use
with each configuration item type, see Supported
resource types and parameters.public String toString()
toString
in class Object
Object.toString()
public GroupConfigurationItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.