Class UpdateClusterRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.snowball.model.SnowballRequest
-
- software.amazon.awssdk.services.snowball.model.UpdateClusterRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateClusterRequest.Builder,UpdateClusterRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateClusterRequest extends SnowballRequest implements ToCopyableBuilder<UpdateClusterRequest.Builder,UpdateClusterRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateClusterRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaddressId()The ID of the updated Address object.static UpdateClusterRequest.Builderbuilder()StringclusterId()The cluster ID of the cluster that you want to update, for exampleCID123e4567-e89b-12d3-a456-426655440000.Stringdescription()The updated description of this cluster.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringforwardingAddressId()The updated ID for the forwarding address for a cluster.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Notificationnotification()The new or updated Notification object.OnDeviceServiceConfigurationonDeviceServiceConfiguration()Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into.JobResourceresources()The updated arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.StringroleARN()The new role Amazon Resource Name (ARN) that you want to associate with this cluster.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateClusterRequest.Builder>serializableBuilderClass()ShippingOptionshippingOption()The updated shipping option value of this cluster's ShippingDetails object.StringshippingOptionAsString()The updated shipping option value of this cluster's ShippingDetails object.UpdateClusterRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
clusterId
public final String clusterId()
The cluster ID of the cluster that you want to update, for example
CID123e4567-e89b-12d3-a456-426655440000.- Returns:
- The cluster ID of the cluster that you want to update, for example
CID123e4567-e89b-12d3-a456-426655440000.
-
roleARN
public final 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).
- Returns:
- 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).
-
description
public final String description()
The updated description of this cluster.
- Returns:
- The updated description of this cluster.
-
resources
public final JobResource resources()
The updated arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.
- Returns:
- The updated arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.
-
onDeviceServiceConfiguration
public final 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).
- Returns:
- 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).
-
addressId
public final String addressId()
The ID of the updated Address object.
- Returns:
- The ID of the updated Address object.
-
shippingOption
public final 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,
shippingOptionwill returnShippingOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromshippingOptionAsString().- Returns:
- The updated shipping option value of this cluster's ShippingDetails object.
- See Also:
ShippingOption
-
shippingOptionAsString
public final 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,
shippingOptionwill returnShippingOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromshippingOptionAsString().- Returns:
- The updated shipping option value of this cluster's ShippingDetails object.
- See Also:
ShippingOption
-
notification
public final Notification notification()
The new or updated Notification object.
- Returns:
- The new or updated Notification object.
-
forwardingAddressId
public final String forwardingAddressId()
The updated ID for the forwarding address for a cluster. This field is not supported in most regions.
- Returns:
- The updated ID for the forwarding address for a cluster. This field is not supported in most regions.
-
toBuilder
public UpdateClusterRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateClusterRequest.Builder,UpdateClusterRequest>- Specified by:
toBuilderin classSnowballRequest
-
builder
public static UpdateClusterRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateClusterRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-