@Generated(value="software.amazon.awssdk:codegen") public final class BrokerInstanceOption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BrokerInstanceOption.Builder,BrokerInstanceOption>
Option for host instance type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BrokerInstanceOption.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AvailabilityZone> |
availabilityZones()
The list of available az.
|
static BrokerInstanceOption.Builder |
builder() |
EngineType |
engineType()
The broker's engine type.
|
String |
engineTypeAsString()
The broker's engine type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAvailabilityZones()
For responses, this returns true if the service returned a value for the AvailabilityZones property.
|
int |
hashCode() |
boolean |
hasSupportedDeploymentModes()
For responses, this returns true if the service returned a value for the SupportedDeploymentModes property.
|
boolean |
hasSupportedEngineVersions()
For responses, this returns true if the service returned a value for the SupportedEngineVersions property.
|
String |
hostInstanceType()
The broker's instance type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BrokerInstanceOption.Builder> |
serializableBuilderClass() |
BrokerStorageType |
storageType()
The broker's storage type.
|
String |
storageTypeAsString()
The broker's storage type.
|
List<DeploymentMode> |
supportedDeploymentModes()
The list of supported deployment modes.
|
List<String> |
supportedDeploymentModesAsStrings()
The list of supported deployment modes.
|
List<String> |
supportedEngineVersions()
The list of supported engine versions.
|
BrokerInstanceOption.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAvailabilityZones()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<AvailabilityZone> availabilityZones()
The list of available az.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAvailabilityZones() method.
public final EngineType engineType()
The broker's engine type.
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().
EngineTypepublic final String engineTypeAsString()
The broker's engine type.
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().
EngineTypepublic final String hostInstanceType()
The broker's instance type.
public final BrokerStorageType storageType()
The broker's storage type.
If the service returns an enum value that is not available in the current SDK version, storageType will
return BrokerStorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageTypeAsString().
BrokerStorageTypepublic final String storageTypeAsString()
The broker's storage type.
If the service returns an enum value that is not available in the current SDK version, storageType will
return BrokerStorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
storageTypeAsString().
BrokerStorageTypepublic final List<DeploymentMode> supportedDeploymentModes()
The list of supported deployment modes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedDeploymentModes() method.
public final boolean hasSupportedDeploymentModes()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> supportedDeploymentModesAsStrings()
The list of supported deployment modes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedDeploymentModes() method.
public final boolean hasSupportedEngineVersions()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> supportedEngineVersions()
The list of supported engine versions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedEngineVersions() method.
public BrokerInstanceOption.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BrokerInstanceOption.Builder,BrokerInstanceOption>public static BrokerInstanceOption.Builder builder()
public static Class<? extends BrokerInstanceOption.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.