@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() |
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic 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.AuthenticationStrategypublic String getAuthenticationStrategy()
Optional. The authentication strategy associated with the configuration. The default is SIMPLE.
AuthenticationStrategypublic 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.AuthenticationStrategypublic 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.AuthenticationStrategypublic 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.EngineTypepublic String getEngineType()
Required. The type of broker engine. Currently, Amazon MQ supports ACTIVEMQ and RABBITMQ.
EngineTypepublic 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.EngineTypepublic 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.EngineTypepublic void setEngineVersion(String engineVersion)
Required. The broker engine's version. For a list of supported engine versions, see Supported engines.
engineVersion - Required. The broker engine's version. For a list of supported engine versions, see Supported
engines.public String getEngineVersion()
Required. The broker engine's version. For a list of supported engine versions, see Supported engines.
public CreateConfigurationRequest withEngineVersion(String engineVersion)
Required. The broker engine's version. For a list of supported engine versions, see Supported engines.
engineVersion - Required. The broker engine's version. For a list of supported engine versions, see Supported
engines.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 ObjectObject.toString()public CreateConfigurationRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2024. All rights reserved.