public static interface UpdateClusterRequest.Builder extends SnowballRequest.Builder, CopyableBuilder<UpdateClusterRequest.Builder,UpdateClusterRequest>
Modifier and Type | Method and Description |
---|---|
UpdateClusterRequest.Builder |
addressId(String addressId)
The ID of the updated Address object.
|
UpdateClusterRequest.Builder |
clusterId(String clusterId)
The cluster ID of the cluster that you want to update, for example
CID123e4567-e89b-12d3-a456-426655440000 . |
UpdateClusterRequest.Builder |
description(String description)
The updated description of this cluster.
|
UpdateClusterRequest.Builder |
forwardingAddressId(String forwardingAddressId)
The updated ID for the forwarding address for a cluster.
|
default UpdateClusterRequest.Builder |
notification(Consumer<Notification.Builder> notification)
The new or updated Notification object.
|
UpdateClusterRequest.Builder |
notification(Notification notification)
The new or updated Notification object.
|
UpdateClusterRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateClusterRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default UpdateClusterRequest.Builder |
resources(Consumer<JobResource.Builder> resources)
The updated arrays of JobResource objects that can include updated S3Resource objects or
LambdaResource objects.
|
UpdateClusterRequest.Builder |
resources(JobResource resources)
The updated arrays of JobResource objects that can include updated S3Resource objects or
LambdaResource objects.
|
UpdateClusterRequest.Builder |
roleARN(String roleARN)
The new role Amazon Resource Name (ARN) that you want to associate with this cluster.
|
UpdateClusterRequest.Builder |
shippingOption(ShippingOption shippingOption)
The updated shipping option value of this cluster's ShippingDetails object.
|
UpdateClusterRequest.Builder |
shippingOption(String shippingOption)
The updated shipping option value of this cluster's ShippingDetails object.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateClusterRequest.Builder clusterId(String clusterId)
The cluster ID of the cluster that you want to update, for example
CID123e4567-e89b-12d3-a456-426655440000
.
clusterId
- The cluster ID of the cluster that you want to update, for example
CID123e4567-e89b-12d3-a456-426655440000
.UpdateClusterRequest.Builder roleARN(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).
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).UpdateClusterRequest.Builder description(String description)
The updated description of this cluster.
description
- The updated description of this cluster.UpdateClusterRequest.Builder resources(JobResource resources)
The updated arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.
resources
- The updated arrays of JobResource objects that can include updated S3Resource objects or
LambdaResource objects.default UpdateClusterRequest.Builder resources(Consumer<JobResource.Builder> resources)
The updated arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.
This is a convenience that creates an instance of theJobResource.Builder
avoiding the need to create
one manually via JobResource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to resources(JobResource)
.resources
- a consumer that will call methods on JobResource.Builder
resources(JobResource)
UpdateClusterRequest.Builder addressId(String addressId)
The ID of the updated Address object.
addressId
- The ID of the updated Address object.UpdateClusterRequest.Builder shippingOption(String shippingOption)
The updated shipping option value of this cluster's ShippingDetails object.
shippingOption
- The updated shipping option value of this cluster's ShippingDetails object.ShippingOption
,
ShippingOption
UpdateClusterRequest.Builder shippingOption(ShippingOption shippingOption)
The updated shipping option value of this cluster's ShippingDetails object.
shippingOption
- The updated shipping option value of this cluster's ShippingDetails object.ShippingOption
,
ShippingOption
UpdateClusterRequest.Builder notification(Notification notification)
The new or updated Notification object.
notification
- The new or updated Notification object.default UpdateClusterRequest.Builder notification(Consumer<Notification.Builder> notification)
The new or updated Notification object.
This is a convenience that creates an instance of theNotification.Builder
avoiding the need to
create one manually via Notification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to notification(Notification)
.notification
- a consumer that will call methods on Notification.Builder
notification(Notification)
UpdateClusterRequest.Builder forwardingAddressId(String forwardingAddressId)
The updated ID for the forwarding address for a cluster. This field is not supported in most regions.
forwardingAddressId
- The updated ID for the forwarding address for a cluster. This field is not supported in most regions.UpdateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.