public static interface ClusterMetadata.Builder extends CopyableBuilder<ClusterMetadata.Builder,ClusterMetadata>
Modifier and Type | Method and Description |
---|---|
ClusterMetadata.Builder |
addressId(String addressId)
The automatically generated ID for a specific address.
|
ClusterMetadata.Builder |
clusterId(String clusterId)
The automatically generated ID for a cluster.
|
ClusterMetadata.Builder |
clusterState(ClusterState clusterState)
The current status of the cluster.
|
ClusterMetadata.Builder |
clusterState(String clusterState)
The current status of the cluster.
|
ClusterMetadata.Builder |
creationDate(Instant creationDate)
The creation date for this cluster.
|
ClusterMetadata.Builder |
description(String description)
The optional description of the cluster.
|
ClusterMetadata.Builder |
forwardingAddressId(String forwardingAddressId)
The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address.
|
ClusterMetadata.Builder |
jobType(JobType jobType)
The type of job for this cluster.
|
ClusterMetadata.Builder |
jobType(String jobType)
The type of job for this cluster.
|
ClusterMetadata.Builder |
kmsKeyARN(String kmsKeyARN)
The
KmsKeyARN Amazon Resource Name (ARN) associated with this cluster. |
default ClusterMetadata.Builder |
notification(Consumer<Notification.Builder> notification)
The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.
|
ClusterMetadata.Builder |
notification(Notification notification)
The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.
|
default ClusterMetadata.Builder |
resources(Consumer<JobResource.Builder> resources)
The arrays of JobResource objects that can include updated S3Resource objects or
LambdaResource objects.
|
ClusterMetadata.Builder |
resources(JobResource resources)
The arrays of JobResource objects that can include updated S3Resource objects or
LambdaResource objects.
|
ClusterMetadata.Builder |
roleARN(String roleARN)
The role ARN associated with this cluster.
|
ClusterMetadata.Builder |
shippingOption(ShippingOption shippingOption)
The shipping speed for each node in this cluster.
|
ClusterMetadata.Builder |
shippingOption(String shippingOption)
The shipping speed for each node in this cluster.
|
ClusterMetadata.Builder |
snowballType(SnowballType snowballType)
The type of AWS Snowball appliance to use for this cluster.
|
ClusterMetadata.Builder |
snowballType(String snowballType)
The type of AWS Snowball appliance to use for this cluster.
|
copy
applyMutation, build
ClusterMetadata.Builder clusterId(String clusterId)
The automatically generated ID for a cluster.
clusterId
- The automatically generated ID for a cluster.ClusterMetadata.Builder description(String description)
The optional description of the cluster.
description
- The optional description of the cluster.ClusterMetadata.Builder kmsKeyARN(String kmsKeyARN)
The KmsKeyARN
Amazon Resource Name (ARN) associated with this cluster. This ARN was created
using the CreateKey API
action in AWS Key Management Service (AWS KMS).
kmsKeyARN
- The KmsKeyARN
Amazon Resource Name (ARN) associated with this cluster. This ARN was
created using the CreateKey API action
in AWS Key Management Service (AWS KMS).ClusterMetadata.Builder roleARN(String roleARN)
The role ARN associated with this cluster. This ARN was created using the CreateRole API action in AWS Identity and Access Management (IAM).
roleARN
- The role ARN associated with this cluster. This ARN was created using the CreateRole API
action in AWS Identity and Access Management (IAM).ClusterMetadata.Builder clusterState(String clusterState)
The current status of the cluster.
clusterState
- The current status of the cluster.ClusterState
,
ClusterState
ClusterMetadata.Builder clusterState(ClusterState clusterState)
The current status of the cluster.
clusterState
- The current status of the cluster.ClusterState
,
ClusterState
ClusterMetadata.Builder jobType(String jobType)
The type of job for this cluster. Currently, the only job type supported for clusters is
LOCAL_USE
.
ClusterMetadata.Builder jobType(JobType jobType)
The type of job for this cluster. Currently, the only job type supported for clusters is
LOCAL_USE
.
ClusterMetadata.Builder snowballType(String snowballType)
The type of AWS Snowball appliance to use for this cluster. Currently, the only supported appliance type for
cluster jobs is EDGE
.
snowballType
- The type of AWS Snowball appliance to use for this cluster. Currently, the only supported appliance
type for cluster jobs is EDGE
.SnowballType
,
SnowballType
ClusterMetadata.Builder snowballType(SnowballType snowballType)
The type of AWS Snowball appliance to use for this cluster. Currently, the only supported appliance type for
cluster jobs is EDGE
.
snowballType
- The type of AWS Snowball appliance to use for this cluster. Currently, the only supported appliance
type for cluster jobs is EDGE
.SnowballType
,
SnowballType
ClusterMetadata.Builder creationDate(Instant creationDate)
The creation date for this cluster.
creationDate
- The creation date for this cluster.ClusterMetadata.Builder resources(JobResource resources)
The arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.
resources
- The arrays of JobResource objects that can include updated S3Resource objects or
LambdaResource objects.default ClusterMetadata.Builder resources(Consumer<JobResource.Builder> resources)
The 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)
ClusterMetadata.Builder addressId(String addressId)
The automatically generated ID for a specific address.
addressId
- The automatically generated ID for a specific address.ClusterMetadata.Builder shippingOption(String 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.
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.
ShippingOption
,
ShippingOption
ClusterMetadata.Builder shippingOption(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.
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.
ShippingOption
,
ShippingOption
ClusterMetadata.Builder notification(Notification notification)
The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.
notification
- The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.default ClusterMetadata.Builder notification(Consumer<Notification.Builder> notification)
The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.
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)
ClusterMetadata.Builder forwardingAddressId(String forwardingAddressId)
The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address. This field is not supported in most regions.
forwardingAddressId
- The ID of the address that you want a cluster shipped to, after it will be shipped to its primary
address. This field is not supported in most regions.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.