@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GroupConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
A service configuration associated with a resource group. The configuration options are determined by the Amazon Web
Services service that defines the Type
, and specifies which resources can be included in the group. You
can add a service configuration when you create the group by using CreateGroup, or later by using the
PutGroupConfiguration operation. For details about group service configuration syntax, see Service configurations for resource
groups.
Constructor and Description |
---|
GroupConfiguration() |
Modifier and Type | Method and Description |
---|---|
GroupConfiguration |
clone() |
boolean |
equals(Object obj) |
List<GroupConfigurationItem> |
getConfiguration()
The configuration currently associated with the group and in effect.
|
String |
getFailureReason()
If present, the reason why a request to update the group configuration failed.
|
List<GroupConfigurationItem> |
getProposedConfiguration()
If present, the new configuration that is in the process of being applied to the group.
|
String |
getStatus()
The current status of an attempt to update the group configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfiguration(Collection<GroupConfigurationItem> configuration)
The configuration currently associated with the group and in effect.
|
void |
setFailureReason(String failureReason)
If present, the reason why a request to update the group configuration failed.
|
void |
setProposedConfiguration(Collection<GroupConfigurationItem> proposedConfiguration)
If present, the new configuration that is in the process of being applied to the group.
|
void |
setStatus(String status)
The current status of an attempt to update the group configuration.
|
String |
toString()
Returns a string representation of this object.
|
GroupConfiguration |
withConfiguration(Collection<GroupConfigurationItem> configuration)
The configuration currently associated with the group and in effect.
|
GroupConfiguration |
withConfiguration(GroupConfigurationItem... configuration)
The configuration currently associated with the group and in effect.
|
GroupConfiguration |
withFailureReason(String failureReason)
If present, the reason why a request to update the group configuration failed.
|
GroupConfiguration |
withProposedConfiguration(Collection<GroupConfigurationItem> proposedConfiguration)
If present, the new configuration that is in the process of being applied to the group.
|
GroupConfiguration |
withProposedConfiguration(GroupConfigurationItem... proposedConfiguration)
If present, the new configuration that is in the process of being applied to the group.
|
GroupConfiguration |
withStatus(GroupConfigurationStatus status)
The current status of an attempt to update the group configuration.
|
GroupConfiguration |
withStatus(String status)
The current status of an attempt to update the group configuration.
|
public List<GroupConfigurationItem> getConfiguration()
The configuration currently associated with the group and in effect.
public void setConfiguration(Collection<GroupConfigurationItem> configuration)
The configuration currently associated with the group and in effect.
configuration
- The configuration currently associated with the group and in effect.public GroupConfiguration withConfiguration(GroupConfigurationItem... configuration)
The configuration currently associated with the group and in effect.
NOTE: This method appends the values to the existing list (if any). Use
setConfiguration(java.util.Collection)
or withConfiguration(java.util.Collection)
if you want
to override the existing values.
configuration
- The configuration currently associated with the group and in effect.public GroupConfiguration withConfiguration(Collection<GroupConfigurationItem> configuration)
The configuration currently associated with the group and in effect.
configuration
- The configuration currently associated with the group and in effect.public List<GroupConfigurationItem> getProposedConfiguration()
If present, the new configuration that is in the process of being applied to the group.
public void setProposedConfiguration(Collection<GroupConfigurationItem> proposedConfiguration)
If present, the new configuration that is in the process of being applied to the group.
proposedConfiguration
- If present, the new configuration that is in the process of being applied to the group.public GroupConfiguration withProposedConfiguration(GroupConfigurationItem... proposedConfiguration)
If present, the new configuration that is in the process of being applied to the group.
NOTE: This method appends the values to the existing list (if any). Use
setProposedConfiguration(java.util.Collection)
or
withProposedConfiguration(java.util.Collection)
if you want to override the existing values.
proposedConfiguration
- If present, the new configuration that is in the process of being applied to the group.public GroupConfiguration withProposedConfiguration(Collection<GroupConfigurationItem> proposedConfiguration)
If present, the new configuration that is in the process of being applied to the group.
proposedConfiguration
- If present, the new configuration that is in the process of being applied to the group.public void setStatus(String status)
The current status of an attempt to update the group configuration.
status
- The current status of an attempt to update the group configuration.GroupConfigurationStatus
public String getStatus()
The current status of an attempt to update the group configuration.
GroupConfigurationStatus
public GroupConfiguration withStatus(String status)
The current status of an attempt to update the group configuration.
status
- The current status of an attempt to update the group configuration.GroupConfigurationStatus
public GroupConfiguration withStatus(GroupConfigurationStatus status)
The current status of an attempt to update the group configuration.
status
- The current status of an attempt to update the group configuration.GroupConfigurationStatus
public void setFailureReason(String failureReason)
If present, the reason why a request to update the group configuration failed.
failureReason
- If present, the reason why a request to update the group configuration failed.public String getFailureReason()
If present, the reason why a request to update the group configuration failed.
public GroupConfiguration withFailureReason(String failureReason)
If present, the reason why a request to update the group configuration failed.
failureReason
- If present, the reason why a request to update the group configuration failed.public String toString()
toString
in class Object
Object.toString()
public GroupConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.