@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBrokerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateBrokerRequest() |
Modifier and Type | Method and Description |
---|---|
CreateBrokerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getAutoMinorVersionUpgrade()
Required.
|
String |
getBrokerName()
Required.
|
ConfigurationId |
getConfiguration()
A list of information about the configuration.
|
String |
getCreatorRequestId()
The unique ID that the requester receives for the created broker.
|
String |
getDeploymentMode()
Required.
|
String |
getEngineType()
Required.
|
String |
getEngineVersion()
Required.
|
String |
getHostInstanceType()
Required.
|
WeeklyStartTime |
getMaintenanceWindowStartTime()
The parameters that determine the WeeklyStartTime.
|
Boolean |
getPubliclyAccessible()
Required.
|
List<String> |
getSecurityGroups()
Required.
|
List<String> |
getSubnetIds()
Required.
|
List<User> |
getUsers()
Required.
|
int |
hashCode() |
Boolean |
isAutoMinorVersionUpgrade()
Required.
|
Boolean |
isPubliclyAccessible()
Required.
|
void |
setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Required.
|
void |
setBrokerName(String brokerName)
Required.
|
void |
setConfiguration(ConfigurationId configuration)
A list of information about the configuration.
|
void |
setCreatorRequestId(String creatorRequestId)
The unique ID that the requester receives for the created broker.
|
void |
setDeploymentMode(String deploymentMode)
Required.
|
void |
setEngineType(String engineType)
Required.
|
void |
setEngineVersion(String engineVersion)
Required.
|
void |
setHostInstanceType(String hostInstanceType)
Required.
|
void |
setMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
|
void |
setPubliclyAccessible(Boolean publiclyAccessible)
Required.
|
void |
setSecurityGroups(Collection<String> securityGroups)
Required.
|
void |
setSubnetIds(Collection<String> subnetIds)
Required.
|
void |
setUsers(Collection<User> users)
Required.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateBrokerRequest |
withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Required.
|
CreateBrokerRequest |
withBrokerName(String brokerName)
Required.
|
CreateBrokerRequest |
withConfiguration(ConfigurationId configuration)
A list of information about the configuration.
|
CreateBrokerRequest |
withCreatorRequestId(String creatorRequestId)
The unique ID that the requester receives for the created broker.
|
CreateBrokerRequest |
withDeploymentMode(DeploymentMode deploymentMode)
Required.
|
CreateBrokerRequest |
withDeploymentMode(String deploymentMode)
Required.
|
CreateBrokerRequest |
withEngineType(EngineType engineType)
Required.
|
CreateBrokerRequest |
withEngineType(String engineType)
Required.
|
CreateBrokerRequest |
withEngineVersion(String engineVersion)
Required.
|
CreateBrokerRequest |
withHostInstanceType(String hostInstanceType)
Required.
|
CreateBrokerRequest |
withMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
The parameters that determine the WeeklyStartTime.
|
CreateBrokerRequest |
withPubliclyAccessible(Boolean publiclyAccessible)
Required.
|
CreateBrokerRequest |
withSecurityGroups(Collection<String> securityGroups)
Required.
|
CreateBrokerRequest |
withSecurityGroups(String... securityGroups)
Required.
|
CreateBrokerRequest |
withSubnetIds(Collection<String> subnetIds)
Required.
|
CreateBrokerRequest |
withSubnetIds(String... subnetIds)
Required.
|
CreateBrokerRequest |
withUsers(Collection<User> users)
Required.
|
CreateBrokerRequest |
withUsers(User... users)
Required.
|
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 setAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
autoMinorVersionUpgrade
- Required. Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
The automatic upgrades occur during the maintenance window of the broker or after a manual broker reboot.public Boolean getAutoMinorVersionUpgrade()
public CreateBrokerRequest withAutoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
autoMinorVersionUpgrade
- Required. Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions.
The automatic upgrades occur during the maintenance window of the broker or after a manual broker reboot.public Boolean isAutoMinorVersionUpgrade()
public void setBrokerName(String brokerName)
brokerName
- Required. The name of the broker. This value must be unique in your AWS account, 1-50 characters long,
must contain only letters, numbers, dashes, and underscores, and must not contain whitespaces, brackets,
wildcard characters, or special characters.public String getBrokerName()
public CreateBrokerRequest withBrokerName(String brokerName)
brokerName
- Required. The name of the broker. This value must be unique in your AWS account, 1-50 characters long,
must contain only letters, numbers, dashes, and underscores, and must not contain whitespaces, brackets,
wildcard characters, or special characters.public void setConfiguration(ConfigurationId configuration)
configuration
- A list of information about the configuration.public ConfigurationId getConfiguration()
public CreateBrokerRequest withConfiguration(ConfigurationId configuration)
configuration
- A list of information about the configuration.public void setCreatorRequestId(String creatorRequestId)
creatorRequestId
- The unique ID that the requester receives for the created broker. Amazon MQ passes your ID with the API
action. Note: We recommend using a Universally Unique Identifier (UUID) for the creatorRequestId. You may
omit the creatorRequestId if your application doesn't require idempotency.public String getCreatorRequestId()
public CreateBrokerRequest withCreatorRequestId(String creatorRequestId)
creatorRequestId
- The unique ID that the requester receives for the created broker. Amazon MQ passes your ID with the API
action. Note: We recommend using a Universally Unique Identifier (UUID) for the creatorRequestId. You may
omit the creatorRequestId if your application doesn't require idempotency.public void setDeploymentMode(String deploymentMode)
deploymentMode
- Required. The deployment mode of the broker. Possible values: SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ
SINGLE_INSTANCE creates a single-instance broker in a single Availability Zone. ACTIVE_STANDBY_MULTI_AZ
creates an active/standby broker for high availability.DeploymentMode
public String getDeploymentMode()
DeploymentMode
public CreateBrokerRequest withDeploymentMode(String deploymentMode)
deploymentMode
- Required. The deployment mode of the broker. Possible values: SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ
SINGLE_INSTANCE creates a single-instance broker in a single Availability Zone. ACTIVE_STANDBY_MULTI_AZ
creates an active/standby broker for high availability.DeploymentMode
public CreateBrokerRequest withDeploymentMode(DeploymentMode deploymentMode)
deploymentMode
- Required. The deployment mode of the broker. Possible values: SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ
SINGLE_INSTANCE creates a single-instance broker in a single Availability Zone. ACTIVE_STANDBY_MULTI_AZ
creates an active/standby broker for high availability.DeploymentMode
public void setEngineType(String engineType)
engineType
- Required. The type of broker engine. Note: Currently, Amazon MQ supports only ACTIVEMQ.EngineType
public String getEngineType()
EngineType
public CreateBrokerRequest withEngineType(String engineType)
engineType
- Required. The type of broker engine. Note: Currently, Amazon MQ supports only ACTIVEMQ.EngineType
public CreateBrokerRequest withEngineType(EngineType engineType)
engineType
- Required. The type of broker engine. Note: Currently, Amazon MQ supports only ACTIVEMQ.EngineType
public void setEngineVersion(String engineVersion)
engineVersion
- Required. The version of the broker engine. Note: Currently, Amazon MQ supports only 5.15.0.public String getEngineVersion()
public CreateBrokerRequest withEngineVersion(String engineVersion)
engineVersion
- Required. The version of the broker engine. Note: Currently, Amazon MQ supports only 5.15.0.public void setHostInstanceType(String hostInstanceType)
hostInstanceType
- Required. The broker's instance type. Possible values: mq.t2.micro, mq.m4.largepublic String getHostInstanceType()
public CreateBrokerRequest withHostInstanceType(String hostInstanceType)
hostInstanceType
- Required. The broker's instance type. Possible values: mq.t2.micro, mq.m4.largepublic void setMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
maintenanceWindowStartTime
- The parameters that determine the WeeklyStartTime.public WeeklyStartTime getMaintenanceWindowStartTime()
public CreateBrokerRequest withMaintenanceWindowStartTime(WeeklyStartTime maintenanceWindowStartTime)
maintenanceWindowStartTime
- The parameters that determine the WeeklyStartTime.public void setPubliclyAccessible(Boolean publiclyAccessible)
publiclyAccessible
- Required. Enables connections from applications outside of the VPC that hosts the broker's subnets.public Boolean getPubliclyAccessible()
public CreateBrokerRequest withPubliclyAccessible(Boolean publiclyAccessible)
publiclyAccessible
- Required. Enables connections from applications outside of the VPC that hosts the broker's subnets.public Boolean isPubliclyAccessible()
public List<String> getSecurityGroups()
public void setSecurityGroups(Collection<String> securityGroups)
securityGroups
- Required. The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.public CreateBrokerRequest withSecurityGroups(String... securityGroups)
NOTE: This method appends the values to the existing list (if any). Use
setSecurityGroups(java.util.Collection)
or withSecurityGroups(java.util.Collection)
if you want
to override the existing values.
securityGroups
- Required. The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.public CreateBrokerRequest withSecurityGroups(Collection<String> securityGroups)
securityGroups
- Required. The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.public List<String> getSubnetIds()
public void setSubnetIds(Collection<String> subnetIds)
subnetIds
- Required. The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from
different Availability Zones. A SINGLE_INSTANCE deployment requires one subnet (for example, the default
subnet). An ACTIVE_STANDBY_MULTI_AZ deployment requires two subnets.public CreateBrokerRequest withSubnetIds(String... subnetIds)
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- Required. The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from
different Availability Zones. A SINGLE_INSTANCE deployment requires one subnet (for example, the default
subnet). An ACTIVE_STANDBY_MULTI_AZ deployment requires two subnets.public CreateBrokerRequest withSubnetIds(Collection<String> subnetIds)
subnetIds
- Required. The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from
different Availability Zones. A SINGLE_INSTANCE deployment requires one subnet (for example, the default
subnet). An ACTIVE_STANDBY_MULTI_AZ deployment requires two subnets.public List<User> getUsers()
public void setUsers(Collection<User> users)
users
- Required. The list of ActiveMQ users (persons or applications) who can access queues and topics. This
value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This
value must be 2-100 characters long.public CreateBrokerRequest withUsers(User... users)
NOTE: This method appends the values to the existing list (if any). Use
setUsers(java.util.Collection)
or withUsers(java.util.Collection)
if you want to override the
existing values.
users
- Required. The list of ActiveMQ users (persons or applications) who can access queues and topics. This
value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This
value must be 2-100 characters long.public CreateBrokerRequest withUsers(Collection<User> users)
users
- Required. The list of ActiveMQ users (persons or applications) who can access queues and topics. This
value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This
value must be 2-100 characters long.public String toString()
toString
in class Object
Object.toString()
public CreateBrokerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.