@Generated(value="software.amazon.awssdk:codegen") public final class ModifyInstanceGroupsRequest extends EmrRequest implements ToCopyableBuilder<ModifyInstanceGroupsRequest.Builder,ModifyInstanceGroupsRequest>
Change the size of some instance groups.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ModifyInstanceGroupsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ModifyInstanceGroupsRequest.Builder |
builder() |
String |
clusterId()
The ID of the cluster to which the instance group belongs.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasInstanceGroups()
Returns true if the InstanceGroups property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<InstanceGroupModifyConfig> |
instanceGroups()
Instance groups to change.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ModifyInstanceGroupsRequest.Builder> |
serializableBuilderClass() |
ModifyInstanceGroupsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String clusterId()
The ID of the cluster to which the instance group belongs.
public final boolean hasInstanceGroups()
public final List<InstanceGroupModifyConfig> instanceGroups()
Instance groups to change.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasInstanceGroups() to see if a value was sent in this field.
public ModifyInstanceGroupsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ModifyInstanceGroupsRequest.Builder,ModifyInstanceGroupsRequest>toBuilder in class EmrRequestpublic static ModifyInstanceGroupsRequest.Builder builder()
public static Class<? extends ModifyInstanceGroupsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.