@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BrokerInstanceOption extends Object implements Serializable, Cloneable, StructuredPojo
Option for host instance type.
| Constructor and Description |
|---|
BrokerInstanceOption() |
| Modifier and Type | Method and Description |
|---|---|
BrokerInstanceOption |
clone() |
boolean |
equals(Object obj) |
List<AvailabilityZone> |
getAvailabilityZones()
The list of available az.
|
String |
getEngineType()
The broker's engine type.
|
String |
getHostInstanceType()
The broker's instance type.
|
String |
getStorageType()
The broker's storage type.
|
List<String> |
getSupportedDeploymentModes()
The list of supported deployment modes.
|
List<String> |
getSupportedEngineVersions()
The list of supported engine versions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The list of available az.
|
void |
setEngineType(String engineType)
The broker's engine type.
|
void |
setHostInstanceType(String hostInstanceType)
The broker's instance type.
|
void |
setStorageType(String storageType)
The broker's storage type.
|
void |
setSupportedDeploymentModes(Collection<String> supportedDeploymentModes)
The list of supported deployment modes.
|
void |
setSupportedEngineVersions(Collection<String> supportedEngineVersions)
The list of supported engine versions.
|
String |
toString()
Returns a string representation of this object.
|
BrokerInstanceOption |
withAvailabilityZones(AvailabilityZone... availabilityZones)
The list of available az.
|
BrokerInstanceOption |
withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The list of available az.
|
BrokerInstanceOption |
withEngineType(EngineType engineType)
The broker's engine type.
|
BrokerInstanceOption |
withEngineType(String engineType)
The broker's engine type.
|
BrokerInstanceOption |
withHostInstanceType(String hostInstanceType)
The broker's instance type.
|
BrokerInstanceOption |
withStorageType(BrokerStorageType storageType)
The broker's storage type.
|
BrokerInstanceOption |
withStorageType(String storageType)
The broker's storage type.
|
BrokerInstanceOption |
withSupportedDeploymentModes(Collection<String> supportedDeploymentModes)
The list of supported deployment modes.
|
BrokerInstanceOption |
withSupportedDeploymentModes(DeploymentMode... supportedDeploymentModes)
The list of supported deployment modes.
|
BrokerInstanceOption |
withSupportedDeploymentModes(String... supportedDeploymentModes)
The list of supported deployment modes.
|
BrokerInstanceOption |
withSupportedEngineVersions(Collection<String> supportedEngineVersions)
The list of supported engine versions.
|
BrokerInstanceOption |
withSupportedEngineVersions(String... supportedEngineVersions)
The list of supported engine versions.
|
public List<AvailabilityZone> getAvailabilityZones()
The list of available az.
public void setAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The list of available az.
availabilityZones - The list of available az.public BrokerInstanceOption withAvailabilityZones(AvailabilityZone... availabilityZones)
The list of available az.
NOTE: This method appends the values to the existing list (if any). Use
setAvailabilityZones(java.util.Collection) or withAvailabilityZones(java.util.Collection) if
you want to override the existing values.
availabilityZones - The list of available az.public BrokerInstanceOption withAvailabilityZones(Collection<AvailabilityZone> availabilityZones)
The list of available az.
availabilityZones - The list of available az.public void setEngineType(String engineType)
The broker's engine type.
engineType - The broker's engine type.EngineTypepublic String getEngineType()
The broker's engine type.
EngineTypepublic BrokerInstanceOption withEngineType(String engineType)
The broker's engine type.
engineType - The broker's engine type.EngineTypepublic BrokerInstanceOption withEngineType(EngineType engineType)
The broker's engine type.
engineType - The broker's engine type.EngineTypepublic void setHostInstanceType(String hostInstanceType)
The broker's instance type.
hostInstanceType - The broker's instance type.public String getHostInstanceType()
The broker's instance type.
public BrokerInstanceOption withHostInstanceType(String hostInstanceType)
The broker's instance type.
hostInstanceType - The broker's instance type.public void setStorageType(String storageType)
The broker's storage type.
storageType - The broker's storage type.BrokerStorageTypepublic String getStorageType()
The broker's storage type.
BrokerStorageTypepublic BrokerInstanceOption withStorageType(String storageType)
The broker's storage type.
storageType - The broker's storage type.BrokerStorageTypepublic BrokerInstanceOption withStorageType(BrokerStorageType storageType)
The broker's storage type.
storageType - The broker's storage type.BrokerStorageTypepublic List<String> getSupportedDeploymentModes()
The list of supported deployment modes.
DeploymentModepublic void setSupportedDeploymentModes(Collection<String> supportedDeploymentModes)
The list of supported deployment modes.
supportedDeploymentModes - The list of supported deployment modes.DeploymentModepublic BrokerInstanceOption withSupportedDeploymentModes(String... supportedDeploymentModes)
The list of supported deployment modes.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedDeploymentModes(java.util.Collection) or
withSupportedDeploymentModes(java.util.Collection) if you want to override the existing values.
supportedDeploymentModes - The list of supported deployment modes.DeploymentModepublic BrokerInstanceOption withSupportedDeploymentModes(Collection<String> supportedDeploymentModes)
The list of supported deployment modes.
supportedDeploymentModes - The list of supported deployment modes.DeploymentModepublic BrokerInstanceOption withSupportedDeploymentModes(DeploymentMode... supportedDeploymentModes)
The list of supported deployment modes.
supportedDeploymentModes - The list of supported deployment modes.DeploymentModepublic List<String> getSupportedEngineVersions()
The list of supported engine versions.
public void setSupportedEngineVersions(Collection<String> supportedEngineVersions)
The list of supported engine versions.
supportedEngineVersions - The list of supported engine versions.public BrokerInstanceOption withSupportedEngineVersions(String... supportedEngineVersions)
The list of supported engine versions.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedEngineVersions(java.util.Collection) or
withSupportedEngineVersions(java.util.Collection) if you want to override the existing values.
supportedEngineVersions - The list of supported engine versions.public BrokerInstanceOption withSupportedEngineVersions(Collection<String> supportedEngineVersions)
The list of supported engine versions.
supportedEngineVersions - The list of supported engine versions.public String toString()
toString in class ObjectObject.toString()public BrokerInstanceOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.