@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Configuration extends Object implements Serializable, Cloneable, StructuredPojo
Returns information about all configurations.
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()
Optional.
|
Date |
getCreated()
Required.
|
String |
getDescription()
Required.
|
String |
getEngineType()
Required.
|
String |
getEngineVersion()
The broker engine version.
|
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)
Optional.
|
void |
setCreated(Date created)
Required.
|
void |
setDescription(String description)
Required.
|
void |
setEngineType(String engineType)
Required.
|
void |
setEngineVersion(String engineVersion)
The broker engine version.
|
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)
Optional.
|
Configuration |
withAuthenticationStrategy(String authenticationStrategy)
Optional.
|
Configuration |
withCreated(Date created)
Required.
|
Configuration |
withDescription(String description)
Required.
|
Configuration |
withEngineType(EngineType engineType)
Required.
|
Configuration |
withEngineType(String engineType)
Required.
|
Configuration |
withEngineVersion(String engineVersion)
The broker engine version.
|
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)
Required. The ARN of the configuration.
arn
- Required. The ARN of the configuration.public String getArn()
Required. The ARN of the configuration.
public Configuration withArn(String arn)
Required. The ARN of the configuration.
arn
- Required. The ARN of the configuration.public void setAuthenticationStrategy(String authenticationStrategy)
Optional. The authentication strategy associated with the configuration. The default is SIMPLE.
authenticationStrategy
- Optional. The authentication strategy associated with the configuration. The default is SIMPLE.AuthenticationStrategy
public String getAuthenticationStrategy()
Optional. The authentication strategy associated with the configuration. The default is SIMPLE.
AuthenticationStrategy
public Configuration withAuthenticationStrategy(String authenticationStrategy)
Optional. The authentication strategy associated with the configuration. The default is SIMPLE.
authenticationStrategy
- Optional. The authentication strategy associated with the configuration. The default is SIMPLE.AuthenticationStrategy
public Configuration withAuthenticationStrategy(AuthenticationStrategy authenticationStrategy)
Optional. The authentication strategy associated with the configuration. The default is SIMPLE.
authenticationStrategy
- Optional. The authentication strategy associated with the configuration. The default is SIMPLE.AuthenticationStrategy
public void setCreated(Date created)
Required. The date and time of the configuration revision.
created
- Required. The date and time of the configuration revision.public Date getCreated()
Required. The date and time of the configuration revision.
public Configuration withCreated(Date created)
Required. The date and time of the configuration revision.
created
- Required. The date and time of the configuration revision.public void setDescription(String description)
Required. The description of the configuration.
description
- Required. The description of the configuration.public String getDescription()
Required. The description of the configuration.
public Configuration withDescription(String description)
Required. The description of the configuration.
description
- Required. The description of the configuration.public void setEngineType(String engineType)
Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
engineType
- Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.EngineType
public String getEngineType()
Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
EngineType
public Configuration withEngineType(String engineType)
Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
engineType
- Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.EngineType
public Configuration withEngineType(EngineType engineType)
Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
engineType
- Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.EngineType
public void setEngineVersion(String engineVersion)
The broker engine version. Defaults to the latest available version for the specified broker engine type. For a list of supported engine versions, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
engineVersion
- The broker engine version. Defaults to the latest available version for the specified broker engine type.
For a list of supported engine versions, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.public String getEngineVersion()
The broker engine version. Defaults to the latest available version for the specified broker engine type. For a list of supported engine versions, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
public Configuration withEngineVersion(String engineVersion)
The broker engine version. Defaults to the latest available version for the specified broker engine type. For a list of supported engine versions, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
engineVersion
- The broker engine version. Defaults to the latest available version for the specified broker engine type.
For a list of supported engine versions, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.public void setId(String id)
Required. The unique ID that Amazon MQ generates for the configuration.
id
- Required. The unique ID that Amazon MQ generates for the configuration.public String getId()
Required. The unique ID that Amazon MQ generates for the configuration.
public Configuration withId(String id)
Required. The unique ID that Amazon MQ generates for the configuration.
id
- Required. The unique ID that Amazon MQ generates for the configuration.public void setLatestRevision(ConfigurationRevision latestRevision)
Required. The latest revision of the configuration.
latestRevision
- Required. The latest revision of the configuration.public ConfigurationRevision getLatestRevision()
Required. The latest revision of the configuration.
public Configuration withLatestRevision(ConfigurationRevision latestRevision)
Required. The latest revision of the configuration.
latestRevision
- Required. The latest revision of the configuration.public void setName(String 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.
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()
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 Configuration withName(String 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.
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()
The list of all tags associated with this configuration.
public void setTags(Map<String,String> tags)
The list of all tags associated with this configuration.
tags
- The list of all tags associated with this configuration.public Configuration withTags(Map<String,String> tags)
The list of all tags associated with this configuration.
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.