@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Configuration extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
Configuration |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Configuration |
clearTagsEntries()
Removes all the entries added into Tags.
|
Configuration |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Required.
|
String |
getAuthenticationStrategy()
The authentication strategy associated with the configuration.
|
Date |
getCreated()
Required.
|
String |
getDescription()
Required.
|
String |
getEngineType()
Required.
|
String |
getEngineVersion()
Required.
|
String |
getId()
Required.
|
ConfigurationRevision |
getLatestRevision()
Required.
|
String |
getName()
Required.
|
Map<String,String> |
getTags()
The list of all tags associated with this configuration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
Required.
|
void |
setAuthenticationStrategy(String authenticationStrategy)
The authentication strategy associated with the configuration.
|
void |
setCreated(Date created)
Required.
|
void |
setDescription(String description)
Required.
|
void |
setEngineType(String engineType)
Required.
|
void |
setEngineVersion(String engineVersion)
Required.
|
void |
setId(String id)
Required.
|
void |
setLatestRevision(ConfigurationRevision latestRevision)
Required.
|
void |
setName(String name)
Required.
|
void |
setTags(Map<String,String> tags)
The list of all tags associated with this configuration.
|
String |
toString()
Returns a string representation of this object.
|
Configuration |
withArn(String arn)
Required.
|
Configuration |
withAuthenticationStrategy(AuthenticationStrategy authenticationStrategy)
The authentication strategy associated with the configuration.
|
Configuration |
withAuthenticationStrategy(String authenticationStrategy)
The authentication strategy associated with the configuration.
|
Configuration |
withCreated(Date created)
Required.
|
Configuration |
withDescription(String description)
Required.
|
Configuration |
withEngineType(EngineType engineType)
Required.
|
Configuration |
withEngineType(String engineType)
Required.
|
Configuration |
withEngineVersion(String engineVersion)
Required.
|
Configuration |
withId(String id)
Required.
|
Configuration |
withLatestRevision(ConfigurationRevision latestRevision)
Required.
|
Configuration |
withName(String name)
Required.
|
Configuration |
withTags(Map<String,String> tags)
The list of all tags associated with this configuration.
|
public void setArn(String arn)
arn
- Required. The ARN of the configuration.public String getArn()
public Configuration withArn(String arn)
arn
- Required. The ARN of the configuration.public void setAuthenticationStrategy(String authenticationStrategy)
authenticationStrategy
- The authentication strategy associated with the configuration.AuthenticationStrategy
public String getAuthenticationStrategy()
AuthenticationStrategy
public Configuration withAuthenticationStrategy(String authenticationStrategy)
authenticationStrategy
- The authentication strategy associated with the configuration.AuthenticationStrategy
public Configuration withAuthenticationStrategy(AuthenticationStrategy authenticationStrategy)
authenticationStrategy
- The authentication strategy associated with the configuration.AuthenticationStrategy
public void setCreated(Date created)
created
- Required. The date and time of the configuration revision.public Date getCreated()
public Configuration withCreated(Date created)
created
- Required. The date and time of the configuration revision.public void setDescription(String description)
description
- Required. The description of the configuration.public String getDescription()
public Configuration withDescription(String description)
description
- Required. The description of the configuration.public void setEngineType(String engineType)
engineType
- Required. The type of broker engine. Note: Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.EngineType
public String getEngineType()
EngineType
public Configuration withEngineType(String engineType)
engineType
- Required. The type of broker engine. Note: Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.EngineType
public Configuration withEngineType(EngineType engineType)
engineType
- Required. The type of broker engine. Note: Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.EngineType
public void setEngineVersion(String engineVersion)
engineVersion
- Required. The version of the broker engine. For a list of supported engine versions, see
https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.htmlpublic String getEngineVersion()
public Configuration withEngineVersion(String engineVersion)
engineVersion
- Required. The version of the broker engine. For a list of supported engine versions, see
https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.htmlpublic void setId(String id)
id
- Required. The unique ID that Amazon MQ generates for the configuration.public String getId()
public Configuration withId(String id)
id
- Required. The unique ID that Amazon MQ generates for the configuration.public void setLatestRevision(ConfigurationRevision latestRevision)
latestRevision
- Required. The latest revision of the configuration.public ConfigurationRevision getLatestRevision()
public Configuration withLatestRevision(ConfigurationRevision latestRevision)
latestRevision
- Required. 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 Configuration 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 Map<String,String> getTags()
public void setTags(Map<String,String> tags)
tags
- The list of all tags associated with this configuration.public Configuration withTags(Map<String,String> tags)
tags
- The list of all tags associated with this configuration.public Configuration addTagsEntry(String key, String value)
public Configuration clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public Configuration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.