@Generated(value="software.amazon.awssdk:codegen") public final class UpdateClusterRequest extends SnowballRequest implements ToCopyableBuilder<UpdateClusterRequest.Builder,UpdateClusterRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateClusterRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
addressId()
The ID of the updated Address object.
|
static UpdateClusterRequest.Builder |
builder() |
String |
clusterId()
The cluster ID of the cluster that you want to update, for example
CID123e4567-e89b-12d3-a456-426655440000 . |
String |
description()
The updated description of this cluster.
|
boolean |
equals(Object obj) |
String |
forwardingAddressId()
The updated ID for the forwarding address for a cluster.
|
<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() |
Notification |
notification()
The new or updated Notification object.
|
JobResource |
resources()
The updated arrays of JobResource objects that can include updated S3Resource objects or
LambdaResource objects.
|
String |
roleARN()
The new role Amazon Resource Name (ARN) that you want to associate with this cluster.
|
static Class<? extends UpdateClusterRequest.Builder> |
serializableBuilderClass() |
ShippingOption |
shippingOption()
The updated shipping option value of this cluster's ShippingDetails object.
|
String |
shippingOptionAsString()
The updated shipping option value of this cluster's ShippingDetails object.
|
UpdateClusterRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String clusterId()
The cluster ID of the cluster that you want to update, for example
CID123e4567-e89b-12d3-a456-426655440000
.
CID123e4567-e89b-12d3-a456-426655440000
.public String roleARN()
The new role Amazon Resource Name (ARN) that you want to associate with this cluster. To create a role ARN, use the CreateRole API action in AWS Identity and Access Management (IAM).
public String description()
The updated description of this cluster.
public JobResource resources()
The updated arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.
public String addressId()
The ID of the updated Address object.
public ShippingOption shippingOption()
The updated shipping option value of this cluster's ShippingDetails object.
If the service returns an enum value that is not available in the current SDK version, shippingOption
will return ShippingOption.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from shippingOptionAsString()
.
ShippingOption
public String shippingOptionAsString()
The updated shipping option value of this cluster's ShippingDetails object.
If the service returns an enum value that is not available in the current SDK version, shippingOption
will return ShippingOption.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from shippingOptionAsString()
.
ShippingOption
public Notification notification()
The new or updated Notification object.
public String forwardingAddressId()
The updated ID for the forwarding address for a cluster. This field is not supported in most regions.
public UpdateClusterRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateClusterRequest.Builder,UpdateClusterRequest>
toBuilder
in class SnowballRequest
public static UpdateClusterRequest.Builder builder()
public static Class<? extends UpdateClusterRequest.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.