@Generated(value="software.amazon.awssdk:codegen") public final class CreateBrokerRequest extends MqRequest implements ToCopyableBuilder<CreateBrokerRequest.Builder,CreateBrokerRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateBrokerRequest.Builder |
Modifier and Type | Method and Description |
---|---|
Boolean |
autoMinorVersionUpgrade()
Required.
|
String |
brokerName()
Required.
|
static CreateBrokerRequest.Builder |
builder() |
ConfigurationId |
configuration()
A list of information about the configuration.
|
String |
creatorRequestId()
The unique ID that the requester receives for the created broker.
|
DeploymentMode |
deploymentMode()
Required.
|
String |
deploymentModeAsString()
Required.
|
EngineType |
engineType()
Required.
|
String |
engineTypeAsString()
Required.
|
String |
engineVersion()
Required.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
hostInstanceType()
Required.
|
Logs |
logs()
Enables Amazon CloudWatch logging for brokers.
|
WeeklyStartTime |
maintenanceWindowStartTime()
The parameters that determine the WeeklyStartTime.
|
Boolean |
publiclyAccessible()
Required.
|
List<SdkField<?>> |
sdkFields() |
List<String> |
securityGroups()
The list of rules (1 minimum, 125 maximum) that authorize connections to brokers.
|
static Class<? extends CreateBrokerRequest.Builder> |
serializableBuilderClass() |
List<String> |
subnetIds()
The list of groups (2 maximum) that define which subnets and IP ranges the broker can use from different
Availability Zones.
|
CreateBrokerRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
List<User> |
users()
Required.
|
overrideConfiguration
copy
public Boolean autoMinorVersionUpgrade()
public String brokerName()
public ConfigurationId configuration()
public String creatorRequestId()
public DeploymentMode deploymentMode()
If the service returns an enum value that is not available in the current SDK version, deploymentMode
will return DeploymentMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from deploymentModeAsString()
.
DeploymentMode
public String deploymentModeAsString()
If the service returns an enum value that is not available in the current SDK version, deploymentMode
will return DeploymentMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from deploymentModeAsString()
.
DeploymentMode
public EngineType engineType()
If the service returns an enum value that is not available in the current SDK version, engineType
will
return EngineType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
engineTypeAsString()
.
EngineType
public String engineTypeAsString()
If the service returns an enum value that is not available in the current SDK version, engineType
will
return EngineType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
engineTypeAsString()
.
EngineType
public String engineVersion()
public String hostInstanceType()
public Logs logs()
public WeeklyStartTime maintenanceWindowStartTime()
public Boolean publiclyAccessible()
public List<String> securityGroups()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> subnetIds()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<User> users()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CreateBrokerRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateBrokerRequest.Builder,CreateBrokerRequest>
toBuilder
in class MqRequest
public static CreateBrokerRequest.Builder builder()
public static Class<? extends CreateBrokerRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.