@Generated(value="software.amazon.awssdk:codegen") public final class CreateClusterRequest extends SnowballRequest implements ToCopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateClusterRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
addressId()
The ID for the address that you want the cluster shipped to.>
|
static CreateClusterRequest.Builder |
builder() |
String |
description()
An optional description of this specific cluster, for example
Environmental Data Cluster-01 . |
boolean |
equals(Object obj) |
String |
forwardingAddressId()
The forwarding address ID 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() |
JobType |
jobType()
The type of job for this cluster.
|
String |
jobTypeAsString()
The type of job for this cluster.
|
String |
kmsKeyARN()
The
KmsKeyARN value that you want to associate with this cluster. |
Notification |
notification()
The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.
|
JobResource |
resources()
The resources associated with the cluster job.
|
String |
roleARN()
The
RoleARN that you want to associate with this cluster. |
static Class<? extends CreateClusterRequest.Builder> |
serializableBuilderClass() |
ShippingOption |
shippingOption()
The shipping speed for each node in this cluster.
|
String |
shippingOptionAsString()
The shipping speed for each node in this cluster.
|
SnowballType |
snowballType()
The type of AWS Snowball appliance to use for this cluster.
|
String |
snowballTypeAsString()
The type of AWS Snowball appliance to use for this cluster.
|
CreateClusterRequest.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 JobType jobType()
The type of job for this cluster. Currently, the only job type supported for clusters is LOCAL_USE
.
If the service returns an enum value that is not available in the current SDK version, jobType
will
return JobType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
jobTypeAsString()
.
LOCAL_USE
.JobType
public String jobTypeAsString()
The type of job for this cluster. Currently, the only job type supported for clusters is LOCAL_USE
.
If the service returns an enum value that is not available in the current SDK version, jobType
will
return JobType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
jobTypeAsString()
.
LOCAL_USE
.JobType
public JobResource resources()
The resources associated with the cluster job. These resources include Amazon S3 buckets and optional AWS Lambda functions written in the Python language.
public String description()
An optional description of this specific cluster, for example Environmental Data Cluster-01
.
Environmental Data Cluster-01
.public String addressId()
The ID for the address that you want the cluster shipped to.>
public String kmsKeyARN()
The KmsKeyARN
value that you want to associate with this cluster. KmsKeyARN
values are
created by using the CreateKey API action in AWS Key
Management Service (AWS KMS).
KmsKeyARN
value that you want to associate with this cluster. KmsKeyARN
values are created by using the CreateKey API action in
AWS Key Management Service (AWS KMS).public String roleARN()
The RoleARN
that you want to associate with this cluster. RoleArn
values are created by
using the CreateRole API
action in AWS Identity and Access Management (IAM).
RoleARN
that you want to associate with this cluster. RoleArn
values are
created by using the CreateRole API action
in AWS Identity and Access Management (IAM).public SnowballType snowballType()
The type of AWS Snowball appliance to use for this cluster. Currently, the only supported appliance type for
cluster jobs is EDGE
.
If the service returns an enum value that is not available in the current SDK version, snowballType
will
return SnowballType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
snowballTypeAsString()
.
EDGE
.SnowballType
public String snowballTypeAsString()
The type of AWS Snowball appliance to use for this cluster. Currently, the only supported appliance type for
cluster jobs is EDGE
.
If the service returns an enum value that is not available in the current SDK version, snowballType
will
return SnowballType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
snowballTypeAsString()
.
EDGE
.SnowballType
public ShippingOption shippingOption()
The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each Snowball Edge appliance, rather it represents how quickly each appliance moves to its destination while in transit. Regional shipping speeds are as follows:
In Australia, you have access to express shipping. Typically, appliances shipped express are delivered in about a day.
In the European Union (EU), you have access to express shipping. Typically, Snowball Edges shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.
In India, Snowball Edges are delivered in one to seven days.
In the US, you have access to one-day shipping and two-day shipping.
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()
.
In Australia, you have access to express shipping. Typically, appliances shipped express are delivered in about a day.
In the European Union (EU), you have access to express shipping. Typically, Snowball Edges shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.
In India, Snowball Edges are delivered in one to seven days.
In the US, you have access to one-day shipping and two-day shipping.
ShippingOption
public String shippingOptionAsString()
The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each Snowball Edge appliance, rather it represents how quickly each appliance moves to its destination while in transit. Regional shipping speeds are as follows:
In Australia, you have access to express shipping. Typically, appliances shipped express are delivered in about a day.
In the European Union (EU), you have access to express shipping. Typically, Snowball Edges shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.
In India, Snowball Edges are delivered in one to seven days.
In the US, you have access to one-day shipping and two-day shipping.
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()
.
In Australia, you have access to express shipping. Typically, appliances shipped express are delivered in about a day.
In the European Union (EU), you have access to express shipping. Typically, Snowball Edges shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.
In India, Snowball Edges are delivered in one to seven days.
In the US, you have access to one-day shipping and two-day shipping.
ShippingOption
public Notification notification()
The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.
public String forwardingAddressId()
The forwarding address ID for a cluster. This field is not supported in most regions.
public CreateClusterRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateClusterRequest.Builder,CreateClusterRequest>
toBuilder
in class SnowballRequest
public static CreateClusterRequest.Builder builder()
public static Class<? extends CreateClusterRequest.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.