@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
UpdateConfigurationResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the configuration.
|
Date |
getCreated()
Required.
|
String |
getId()
The unique ID that Amazon MQ generates for the configuration.
|
ConfigurationRevision |
getLatestRevision()
The latest revision of the configuration.
|
String |
getName()
The name of the configuration.
|
List<SanitizationWarning> |
getWarnings()
The list of the first 20 warnings about the configuration elements or attributes that were sanitized.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the configuration.
|
void |
setCreated(Date created)
Required.
|
void |
setId(String id)
The unique ID that Amazon MQ generates for the configuration.
|
void |
setLatestRevision(ConfigurationRevision latestRevision)
The latest revision of the configuration.
|
void |
setName(String name)
The name of the configuration.
|
void |
setWarnings(Collection<SanitizationWarning> warnings)
The list of the first 20 warnings about the configuration elements or attributes that were sanitized.
|
String |
toString()
Returns a string representation of this object.
|
UpdateConfigurationResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the configuration.
|
UpdateConfigurationResult |
withCreated(Date created)
Required.
|
UpdateConfigurationResult |
withId(String id)
The unique ID that Amazon MQ generates for the configuration.
|
UpdateConfigurationResult |
withLatestRevision(ConfigurationRevision latestRevision)
The latest revision of the configuration.
|
UpdateConfigurationResult |
withName(String name)
The name of the configuration.
|
UpdateConfigurationResult |
withWarnings(Collection<SanitizationWarning> warnings)
The list of the first 20 warnings about the configuration elements or attributes that were sanitized.
|
UpdateConfigurationResult |
withWarnings(SanitizationWarning... warnings)
The list of the first 20 warnings about the configuration elements or attributes that were sanitized.
|
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.
public UpdateConfigurationResult withArn(String arn)
The Amazon Resource Name (ARN) of the configuration.
arn
- The Amazon Resource Name (ARN) of the configuration.public void setCreated(Date created)
Required. The date and time of the configuration.
created
- Required. The date and time of the configuration.public Date getCreated()
Required. The date and time of the configuration.
public UpdateConfigurationResult withCreated(Date created)
Required. The date and time of the configuration.
created
- Required. The date and time of the configuration.public void setId(String id)
The unique ID that Amazon MQ generates for the configuration.
id
- The unique ID that Amazon MQ generates for the configuration.public String getId()
The unique ID that Amazon MQ generates for the configuration.
public UpdateConfigurationResult withId(String id)
The unique ID that Amazon MQ generates for the configuration.
id
- The unique ID that Amazon MQ generates for the configuration.public void setLatestRevision(ConfigurationRevision latestRevision)
The latest revision of the configuration.
latestRevision
- The latest revision of the configuration.public ConfigurationRevision getLatestRevision()
The latest revision of the configuration.
public UpdateConfigurationResult withLatestRevision(ConfigurationRevision latestRevision)
The latest revision of the configuration.
latestRevision
- The latest revision of the configuration.public void setName(String name)
The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
name
- The name of the configuration. This value can contain only alphanumeric characters, dashes, periods,
underscores, and tildes (- . _ ~). This value must be 1-150 characters long.public String getName()
The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
public UpdateConfigurationResult withName(String name)
The name of the configuration. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.
name
- The name of the configuration. This value can contain only alphanumeric characters, dashes, periods,
underscores, and tildes (- . _ ~). This value must be 1-150 characters long.public List<SanitizationWarning> getWarnings()
The list of the first 20 warnings about the configuration elements or attributes that were sanitized.
public void setWarnings(Collection<SanitizationWarning> warnings)
The list of the first 20 warnings about the configuration elements or attributes that were sanitized.
warnings
- The list of the first 20 warnings about the configuration elements or attributes that were sanitized.public UpdateConfigurationResult withWarnings(SanitizationWarning... warnings)
The list of the first 20 warnings about the configuration elements or attributes that were sanitized.
NOTE: This method appends the values to the existing list (if any). Use
setWarnings(java.util.Collection)
or withWarnings(java.util.Collection)
if you want to override
the existing values.
warnings
- The list of the first 20 warnings about the configuration elements or attributes that were sanitized.public UpdateConfigurationResult withWarnings(Collection<SanitizationWarning> warnings)
The list of the first 20 warnings about the configuration elements or attributes that were sanitized.
warnings
- The list of the first 20 warnings about the configuration elements or attributes that were sanitized.public String toString()
toString
in class Object
Object.toString()
public UpdateConfigurationResult clone()