@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Creates a new configuration for the specified configuration name. Amazon MQ uses the default configuration (the engine type and version).
NOOP
Constructor and Description |
---|
CreateConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateConfigurationRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateConfigurationRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAuthenticationStrategy()
Optional.
|
String |
getEngineType()
Required.
|
String |
getEngineVersion()
The broker engine version.
|
String |
getName()
Required.
|
Map<String,String> |
getTags()
Create tags when creating the configuration.
|
int |
hashCode() |
void |
setAuthenticationStrategy(String authenticationStrategy)
Optional.
|
void |
setEngineType(String engineType)
Required.
|
void |
setEngineVersion(String engineVersion)
The broker engine version.
|
void |
setName(String name)
Required.
|
void |
setTags(Map<String,String> tags)
Create tags when creating the configuration.
|
String |
toString()
Returns a string representation of this object.
|
CreateConfigurationRequest |
withAuthenticationStrategy(AuthenticationStrategy authenticationStrategy)
Optional.
|
CreateConfigurationRequest |
withAuthenticationStrategy(String authenticationStrategy)
Optional.
|
CreateConfigurationRequest |
withEngineType(EngineType engineType)
Required.
|
CreateConfigurationRequest |
withEngineType(String engineType)
Required.
|
CreateConfigurationRequest |
withEngineVersion(String engineVersion)
The broker engine version.
|
CreateConfigurationRequest |
withName(String name)
Required.
|
CreateConfigurationRequest |
withTags(Map<String,String> tags)
Create tags when creating the configuration.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 CreateConfigurationRequest 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 CreateConfigurationRequest 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 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 CreateConfigurationRequest 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 CreateConfigurationRequest 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 more information, 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 more information, 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 more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.
public CreateConfigurationRequest withEngineVersion(String engineVersion)
The broker engine version. Defaults to the latest available version for the specified broker engine type. For more information, 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 more information, see the ActiveMQ version management and the RabbitMQ version management sections in the Amazon MQ Developer Guide.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 CreateConfigurationRequest 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()
Create tags when creating the configuration.
public void setTags(Map<String,String> tags)
Create tags when creating the configuration.
tags
- Create tags when creating the configuration.public CreateConfigurationRequest withTags(Map<String,String> tags)
Create tags when creating the configuration.
tags
- Create tags when creating the configuration.public CreateConfigurationRequest addTagsEntry(String key, String value)
public CreateConfigurationRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()