@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceGroup extends Object implements Serializable, Cloneable, StructuredPojo
The information about the resource group integration.
| Constructor and Description |
|---|
ResourceGroup() |
| Modifier and Type | Method and Description |
|---|---|
ResourceGroup |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon resource name (ARN) of the resource group.
|
String |
getErrorMessage()
The error message that generates when the propagation process for the resource group fails.
|
String |
getState()
The state of the propagation process for the resource group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
The Amazon resource name (ARN) of the resource group.
|
void |
setErrorMessage(String errorMessage)
The error message that generates when the propagation process for the resource group fails.
|
void |
setState(String state)
The state of the propagation process for the resource group.
|
String |
toString()
Returns a string representation of this object.
|
ResourceGroup |
withArn(String arn)
The Amazon resource name (ARN) of the resource group.
|
ResourceGroup |
withErrorMessage(String errorMessage)
The error message that generates when the propagation process for the resource group fails.
|
ResourceGroup |
withState(ResourceGroupState state)
The state of the propagation process for the resource group.
|
ResourceGroup |
withState(String state)
The state of the propagation process for the resource group.
|
public void setState(String state)
The state of the propagation process for the resource group. The states includes:
CREATING if the resource group is in the process of being created.
CREATE_COMPLETE if the resource group was created successfully.
CREATE_FAILED if the resource group failed to be created.
UPDATING if the resource group is in the process of being updated.
UPDATE_COMPLETE if the resource group updated successfully.
UPDATE_FAILED if the resource group could not update successfully.
state - The state of the propagation process for the resource group. The states includes:
CREATING if the resource group is in the process of being created.
CREATE_COMPLETE if the resource group was created successfully.
CREATE_FAILED if the resource group failed to be created.
UPDATING if the resource group is in the process of being updated.
UPDATE_COMPLETE if the resource group updated successfully.
UPDATE_FAILED if the resource group could not update successfully.
ResourceGroupStatepublic String getState()
The state of the propagation process for the resource group. The states includes:
CREATING if the resource group is in the process of being created.
CREATE_COMPLETE if the resource group was created successfully.
CREATE_FAILED if the resource group failed to be created.
UPDATING if the resource group is in the process of being updated.
UPDATE_COMPLETE if the resource group updated successfully.
UPDATE_FAILED if the resource group could not update successfully.
CREATING if the resource group is in the process of being created.
CREATE_COMPLETE if the resource group was created successfully.
CREATE_FAILED if the resource group failed to be created.
UPDATING if the resource group is in the process of being updated.
UPDATE_COMPLETE if the resource group updated successfully.
UPDATE_FAILED if the resource group could not update successfully.
ResourceGroupStatepublic ResourceGroup withState(String state)
The state of the propagation process for the resource group. The states includes:
CREATING if the resource group is in the process of being created.
CREATE_COMPLETE if the resource group was created successfully.
CREATE_FAILED if the resource group failed to be created.
UPDATING if the resource group is in the process of being updated.
UPDATE_COMPLETE if the resource group updated successfully.
UPDATE_FAILED if the resource group could not update successfully.
state - The state of the propagation process for the resource group. The states includes:
CREATING if the resource group is in the process of being created.
CREATE_COMPLETE if the resource group was created successfully.
CREATE_FAILED if the resource group failed to be created.
UPDATING if the resource group is in the process of being updated.
UPDATE_COMPLETE if the resource group updated successfully.
UPDATE_FAILED if the resource group could not update successfully.
ResourceGroupStatepublic ResourceGroup withState(ResourceGroupState state)
The state of the propagation process for the resource group. The states includes:
CREATING if the resource group is in the process of being created.
CREATE_COMPLETE if the resource group was created successfully.
CREATE_FAILED if the resource group failed to be created.
UPDATING if the resource group is in the process of being updated.
UPDATE_COMPLETE if the resource group updated successfully.
UPDATE_FAILED if the resource group could not update successfully.
state - The state of the propagation process for the resource group. The states includes:
CREATING if the resource group is in the process of being created.
CREATE_COMPLETE if the resource group was created successfully.
CREATE_FAILED if the resource group failed to be created.
UPDATING if the resource group is in the process of being updated.
UPDATE_COMPLETE if the resource group updated successfully.
UPDATE_FAILED if the resource group could not update successfully.
ResourceGroupStatepublic void setArn(String arn)
The Amazon resource name (ARN) of the resource group.
arn - The Amazon resource name (ARN) of the resource group.public String getArn()
The Amazon resource name (ARN) of the resource group.
public ResourceGroup withArn(String arn)
The Amazon resource name (ARN) of the resource group.
arn - The Amazon resource name (ARN) of the resource group.public void setErrorMessage(String errorMessage)
The error message that generates when the propagation process for the resource group fails.
errorMessage - The error message that generates when the propagation process for the resource group fails.public String getErrorMessage()
The error message that generates when the propagation process for the resource group fails.
public ResourceGroup withErrorMessage(String errorMessage)
The error message that generates when the propagation process for the resource group fails.
errorMessage - The error message that generates when the propagation process for the resource group fails.public String toString()
toString in class ObjectObject.toString()public ResourceGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.