@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()
Required.
|
Date |
getCreated()
Required.
|
String |
getId()
Required.
|
ConfigurationRevision |
getLatestRevision()
The latest revision of the configuration.
|
String |
getName()
Required.
|
List<SanitizationWarning> |
getWarnings()
The list of the first 20 warnings about the configuration XML elements or attributes that were sanitized.
|
int |
hashCode() |
void |
setArn(String arn)
Required.
|
void |
setCreated(Date created)
Required.
|
void |
setId(String id)
Required.
|
void |
setLatestRevision(ConfigurationRevision latestRevision)
The latest revision of the configuration.
|
void |
setName(String name)
Required.
|
void |
setWarnings(Collection<SanitizationWarning> warnings)
The list of the first 20 warnings about the configuration XML elements or attributes that were sanitized.
|
String |
toString()
Returns a string representation of this object.
|
UpdateConfigurationResult |
withArn(String arn)
Required.
|
UpdateConfigurationResult |
withCreated(Date created)
Required.
|
UpdateConfigurationResult |
withId(String id)
Required.
|
UpdateConfigurationResult |
withLatestRevision(ConfigurationRevision latestRevision)
The latest revision of the configuration.
|
UpdateConfigurationResult |
withName(String name)
Required.
|
UpdateConfigurationResult |
withWarnings(Collection<SanitizationWarning> warnings)
The list of the first 20 warnings about the configuration XML elements or attributes that were sanitized.
|
UpdateConfigurationResult |
withWarnings(SanitizationWarning... warnings)
The list of the first 20 warnings about the configuration XML elements or attributes that were sanitized.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
arn
- Required. The Amazon Resource Name (ARN) of the configuration.public String getArn()
public UpdateConfigurationResult withArn(String arn)
arn
- Required. The Amazon Resource Name (ARN) of the configuration.public void setCreated(Date created)
created
- Required. The date and time of the configuration.public Date getCreated()
public UpdateConfigurationResult withCreated(Date created)
created
- Required. The date and time of the configuration.public void setId(String id)
id
- Required. The unique ID that Amazon MQ generates for the configuration.public String getId()
public UpdateConfigurationResult withId(String id)
id
- Required. The unique ID that Amazon MQ generates for the configuration.public void setLatestRevision(ConfigurationRevision latestRevision)
latestRevision
- The latest revision of the configuration.public ConfigurationRevision getLatestRevision()
public UpdateConfigurationResult withLatestRevision(ConfigurationRevision latestRevision)
latestRevision
- The latest revision of the configuration.public void setName(String name)
name
- Required. 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()
public UpdateConfigurationResult withName(String name)
name
- Required. 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()
public void setWarnings(Collection<SanitizationWarning> warnings)
warnings
- The list of the first 20 warnings about the configuration XML elements or attributes that were sanitized.public UpdateConfigurationResult withWarnings(SanitizationWarning... warnings)
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 XML elements or attributes that were sanitized.public UpdateConfigurationResult withWarnings(Collection<SanitizationWarning> warnings)
warnings
- The list of the first 20 warnings about the configuration XML elements or attributes that were sanitized.public String toString()
toString
in class Object
Object.toString()
public UpdateConfigurationResult clone()