@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
CreateConfigurationResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the configuration.
|
Date |
getCreationTime()
The time when the configuration was created.
|
ConfigurationRevision |
getLatestRevision()
Latest revision of the configuration.
|
String |
getName()
The name of the configuration.
|
String |
getState()
The state of the configuration.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the configuration.
|
void |
setCreationTime(Date creationTime)
The time when the configuration was created.
|
void |
setLatestRevision(ConfigurationRevision latestRevision)
Latest revision of the configuration.
|
void |
setName(String name)
The name of the configuration.
|
void |
setState(String state)
The state of the configuration.
|
String |
toString()
Returns a string representation of this object.
|
CreateConfigurationResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the configuration.
|
CreateConfigurationResult |
withCreationTime(Date creationTime)
The time when the configuration was created.
|
CreateConfigurationResult |
withLatestRevision(ConfigurationRevision latestRevision)
Latest revision of the configuration.
|
CreateConfigurationResult |
withName(String name)
The name of the configuration.
|
CreateConfigurationResult |
withState(ConfigurationState state)
The state of the configuration.
|
CreateConfigurationResult |
withState(String state)
The state of the configuration.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The Amazon Resource Name (ARN) of the configuration.
arn
- The Amazon Resource Name (ARN) of the configuration.
public String getArn()
The Amazon Resource Name (ARN) of the configuration.
The Amazon Resource Name (ARN) of the configuration.
public CreateConfigurationResult withArn(String arn)
The Amazon Resource Name (ARN) of the configuration.
arn
- The Amazon Resource Name (ARN) of the configuration.
public void setCreationTime(Date creationTime)
The time when the configuration was created.
creationTime
- The time when the configuration was created.
public Date getCreationTime()
The time when the configuration was created.
The time when the configuration was created.
public CreateConfigurationResult withCreationTime(Date creationTime)
The time when the configuration was created.
creationTime
- The time when the configuration was created.
public void setLatestRevision(ConfigurationRevision latestRevision)
Latest revision of the configuration.
latestRevision
- Latest revision of the configuration.
public ConfigurationRevision getLatestRevision()
Latest revision of the configuration.
Latest revision of the configuration.
public CreateConfigurationResult withLatestRevision(ConfigurationRevision latestRevision)
Latest revision of the configuration.
latestRevision
- Latest revision of the configuration.
public void setName(String name)
The name of the configuration.
name
- The name of the configuration.
public String getName()
The name of the configuration.
The name of the configuration.
public CreateConfigurationResult withName(String name)
The name of the configuration.
name
- The name of the configuration.
public void setState(String state)
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
state
- The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
ConfigurationState
public String getState()
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
ConfigurationState
public CreateConfigurationResult withState(String state)
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
state
- The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
ConfigurationState
public CreateConfigurationResult withState(ConfigurationState state)
The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
state
- The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.
ConfigurationState
public String toString()
toString
in class Object
Object.toString()
public CreateConfigurationResult clone()