Interface UpdateClusterRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateClusterRequest.Builder,UpdateClusterRequest>,SdkBuilder<UpdateClusterRequest.Builder,UpdateClusterRequest>,SdkPojo,SdkRequest.Builder,SnowballRequest.Builder
- Enclosing class:
- UpdateClusterRequest
public static interface UpdateClusterRequest.Builder extends SnowballRequest.Builder, SdkPojo, CopyableBuilder<UpdateClusterRequest.Builder,UpdateClusterRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateClusterRequest.BuilderaddressId(String addressId)The ID of the updated Address object.UpdateClusterRequest.BuilderclusterId(String clusterId)The cluster ID of the cluster that you want to update, for exampleCID123e4567-e89b-12d3-a456-426655440000.UpdateClusterRequest.Builderdescription(String description)The updated description of this cluster.UpdateClusterRequest.BuilderforwardingAddressId(String forwardingAddressId)The updated ID for the forwarding address for a cluster.default UpdateClusterRequest.Buildernotification(Consumer<Notification.Builder> notification)The new or updated Notification object.UpdateClusterRequest.Buildernotification(Notification notification)The new or updated Notification object.default UpdateClusterRequest.BuilderonDeviceServiceConfiguration(Consumer<OnDeviceServiceConfiguration.Builder> onDeviceServiceConfiguration)Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into.UpdateClusterRequest.BuilderonDeviceServiceConfiguration(OnDeviceServiceConfiguration onDeviceServiceConfiguration)Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into.UpdateClusterRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateClusterRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateClusterRequest.Builderresources(Consumer<JobResource.Builder> resources)The updated arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.UpdateClusterRequest.Builderresources(JobResource resources)The updated arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.UpdateClusterRequest.BuilderroleARN(String roleARN)The new role Amazon Resource Name (ARN) that you want to associate with this cluster.UpdateClusterRequest.BuildershippingOption(String shippingOption)The updated shipping option value of this cluster's ShippingDetails object.UpdateClusterRequest.BuildershippingOption(ShippingOption shippingOption)The updated shipping option value of this cluster's ShippingDetails object.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.snowball.model.SnowballRequest.Builder
build
-
-
-
-
Method Detail
-
clusterId
UpdateClusterRequest.Builder clusterId(String clusterId)
The cluster ID of the cluster that you want to update, for example
CID123e4567-e89b-12d3-a456-426655440000.- Parameters:
clusterId- The cluster ID of the cluster that you want to update, for exampleCID123e4567-e89b-12d3-a456-426655440000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleARN
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 Identity and Access Management (IAM).
- Parameters:
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 Identity and Access Management (IAM).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateClusterRequest.Builder description(String description)
The updated description of this cluster.
- Parameters:
description- The updated description of this cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
UpdateClusterRequest.Builder resources(JobResource resources)
The updated arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.
- Parameters:
resources- The updated arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
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 method that creates an instance of theJobResource.Builderavoiding the need to create one manually viaJobResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(JobResource).- Parameters:
resources- a consumer that will call methods onJobResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resources(JobResource)
-
onDeviceServiceConfiguration
UpdateClusterRequest.Builder onDeviceServiceConfiguration(OnDeviceServiceConfiguration onDeviceServiceConfiguration)
Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family device clusters support Amazon S3 and NFS (Network File System).
- Parameters:
onDeviceServiceConfiguration- Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family device clusters support Amazon S3 and NFS (Network File System).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onDeviceServiceConfiguration
default UpdateClusterRequest.Builder onDeviceServiceConfiguration(Consumer<OnDeviceServiceConfiguration.Builder> onDeviceServiceConfiguration)
Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family device clusters support Amazon S3 and NFS (Network File System).
This is a convenience method that creates an instance of theOnDeviceServiceConfiguration.Builderavoiding the need to create one manually viaOnDeviceServiceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonDeviceServiceConfiguration(OnDeviceServiceConfiguration).- Parameters:
onDeviceServiceConfiguration- a consumer that will call methods onOnDeviceServiceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
onDeviceServiceConfiguration(OnDeviceServiceConfiguration)
-
addressId
UpdateClusterRequest.Builder addressId(String addressId)
The ID of the updated Address object.
- Parameters:
addressId- The ID of the updated Address object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shippingOption
UpdateClusterRequest.Builder shippingOption(String shippingOption)
The updated shipping option value of this cluster's ShippingDetails object.
- Parameters:
shippingOption- The updated shipping option value of this cluster's ShippingDetails object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ShippingOption,ShippingOption
-
shippingOption
UpdateClusterRequest.Builder shippingOption(ShippingOption shippingOption)
The updated shipping option value of this cluster's ShippingDetails object.
- Parameters:
shippingOption- The updated shipping option value of this cluster's ShippingDetails object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ShippingOption,ShippingOption
-
notification
UpdateClusterRequest.Builder notification(Notification notification)
The new or updated Notification object.
- Parameters:
notification- The new or updated Notification object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
default UpdateClusterRequest.Builder notification(Consumer<Notification.Builder> notification)
The new or updated Notification object.
This is a convenience method that creates an instance of theNotification.Builderavoiding the need to create one manually viaNotification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotification(Notification).- Parameters:
notification- a consumer that will call methods onNotification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
notification(Notification)
-
forwardingAddressId
UpdateClusterRequest.Builder forwardingAddressId(String forwardingAddressId)
The updated ID for the forwarding address for a cluster. This field is not supported in most regions.
- Parameters:
forwardingAddressId- The updated ID for the forwarding address for a cluster. This field is not supported in most regions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-