Interface ClusterMetadata.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterMetadata.Builder,ClusterMetadata>,SdkBuilder<ClusterMetadata.Builder,ClusterMetadata>,SdkPojo
- Enclosing class:
- ClusterMetadata
public static interface ClusterMetadata.Builder extends SdkPojo, CopyableBuilder<ClusterMetadata.Builder,ClusterMetadata>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ClusterMetadata.BuilderaddressId(String addressId)The automatically generated ID for a specific address.ClusterMetadata.BuilderclusterId(String clusterId)The automatically generated ID for a cluster.ClusterMetadata.BuilderclusterState(String clusterState)The current status of the cluster.ClusterMetadata.BuilderclusterState(ClusterState clusterState)The current status of the cluster.ClusterMetadata.BuildercreationDate(Instant creationDate)The creation date for this cluster.ClusterMetadata.Builderdescription(String description)The optional description of the cluster.ClusterMetadata.BuilderforwardingAddressId(String forwardingAddressId)The ID of the address that you want a cluster shipped to, after it will be shipped to its primary address.ClusterMetadata.BuilderjobType(String jobType)The type of job for this cluster.ClusterMetadata.BuilderjobType(JobType jobType)The type of job for this cluster.ClusterMetadata.BuilderkmsKeyARN(String kmsKeyARN)TheKmsKeyARNAmazon Resource Name (ARN) associated with this cluster.default ClusterMetadata.Buildernotification(Consumer<Notification.Builder> notification)The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.ClusterMetadata.Buildernotification(Notification notification)The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.default ClusterMetadata.BuilderonDeviceServiceConfiguration(Consumer<OnDeviceServiceConfiguration.Builder> onDeviceServiceConfiguration)Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.ClusterMetadata.BuilderonDeviceServiceConfiguration(OnDeviceServiceConfiguration onDeviceServiceConfiguration)Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.default ClusterMetadata.Builderresources(Consumer<JobResource.Builder> resources)The arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.ClusterMetadata.Builderresources(JobResource resources)The arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.ClusterMetadata.BuilderroleARN(String roleARN)The role ARN associated with this cluster.ClusterMetadata.BuildershippingOption(String shippingOption)The shipping speed for each node in this cluster.ClusterMetadata.BuildershippingOption(ShippingOption shippingOption)The shipping speed for each node in this cluster.ClusterMetadata.BuildersnowballType(String snowballType)The type of Snowcone device to use for this cluster.ClusterMetadata.BuildersnowballType(SnowballType snowballType)The type of Snowcone device to use for this cluster.default ClusterMetadata.BuildertaxDocuments(Consumer<TaxDocuments.Builder> taxDocuments)The tax documents required in your Amazon Web Services Region.ClusterMetadata.BuildertaxDocuments(TaxDocuments taxDocuments)The tax documents required in your Amazon Web Services Region.-
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
-
-
-
-
Method Detail
-
clusterId
ClusterMetadata.Builder clusterId(String clusterId)
The automatically generated ID for a cluster.
- Parameters:
clusterId- The automatically generated ID for a cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
ClusterMetadata.Builder description(String description)
The optional description of the cluster.
- Parameters:
description- The optional description of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyARN
ClusterMetadata.Builder kmsKeyARN(String kmsKeyARN)
The
KmsKeyARNAmazon Resource Name (ARN) associated with this cluster. This ARN was created using the CreateKey API action in Key Management Service (KMS.- Parameters:
kmsKeyARN- TheKmsKeyARNAmazon Resource Name (ARN) associated with this cluster. This ARN was created using the CreateKey API action in Key Management Service (KMS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleARN
ClusterMetadata.Builder roleARN(String roleARN)
The role ARN associated with this cluster. This ARN was created using the CreateRole API action in Identity and Access Management (IAM).
- Parameters:
roleARN- The role ARN associated with this cluster. This ARN was created using 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.
-
clusterState
ClusterMetadata.Builder clusterState(String clusterState)
The current status of the cluster.
- Parameters:
clusterState- The current status of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClusterState,ClusterState
-
clusterState
ClusterMetadata.Builder clusterState(ClusterState clusterState)
The current status of the cluster.
- Parameters:
clusterState- The current status of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ClusterState,ClusterState
-
jobType
ClusterMetadata.Builder jobType(String jobType)
The type of job for this cluster. Currently, the only job type supported for clusters is
LOCAL_USE.
-
jobType
ClusterMetadata.Builder jobType(JobType jobType)
The type of job for this cluster. Currently, the only job type supported for clusters is
LOCAL_USE.
-
snowballType
ClusterMetadata.Builder snowballType(String snowballType)
The type of Snowcone device to use for this cluster.
For cluster jobs, Amazon Web Services Snow Family currently supports only the
EDGEdevice type.- Parameters:
snowballType- The type of Snowcone device to use for this cluster.For cluster jobs, Amazon Web Services Snow Family currently supports only the
EDGEdevice type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SnowballType,SnowballType
-
snowballType
ClusterMetadata.Builder snowballType(SnowballType snowballType)
The type of Snowcone device to use for this cluster.
For cluster jobs, Amazon Web Services Snow Family currently supports only the
EDGEdevice type.- Parameters:
snowballType- The type of Snowcone device to use for this cluster.For cluster jobs, Amazon Web Services Snow Family currently supports only the
EDGEdevice type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SnowballType,SnowballType
-
creationDate
ClusterMetadata.Builder creationDate(Instant creationDate)
The creation date for this cluster.
- Parameters:
creationDate- The creation date for this cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
ClusterMetadata.Builder resources(JobResource resources)
The arrays of JobResource objects that can include updated S3Resource objects or LambdaResource objects.
- Parameters:
resources- The 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 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 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)
-
addressId
ClusterMetadata.Builder addressId(String addressId)
The automatically generated ID for a specific address.
- Parameters:
addressId- The automatically generated ID for a specific address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shippingOption
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 device, rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds are as follows:
-
In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a day.
-
In the European Union (EU), you have access to express shipping. Typically, Snow devices 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, Snow devices are delivered in one to seven days.
-
In the US, you have access to one-day shipping and two-day shipping.
- Parameters:
shippingOption- The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each device, rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds are as follows:-
In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a day.
-
In the European Union (EU), you have access to express shipping. Typically, Snow devices 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, Snow devices are delivered in one to seven days.
-
In the US, you have access to one-day shipping and two-day shipping.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ShippingOption,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 device, rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds are as follows:
-
In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a day.
-
In the European Union (EU), you have access to express shipping. Typically, Snow devices 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, Snow devices are delivered in one to seven days.
-
In the US, you have access to one-day shipping and two-day shipping.
- Parameters:
shippingOption- The shipping speed for each node in this cluster. This speed doesn't dictate how soon you'll get each device, rather it represents how quickly each device moves to its destination while in transit. Regional shipping speeds are as follows:-
In Australia, you have access to express shipping. Typically, devices shipped express are delivered in about a day.
-
In the European Union (EU), you have access to express shipping. Typically, Snow devices 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, Snow devices are delivered in one to seven days.
-
In the US, you have access to one-day shipping and two-day shipping.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ShippingOption,ShippingOption
-
-
notification
ClusterMetadata.Builder notification(Notification notification)
The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.
- Parameters:
notification- The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
default ClusterMetadata.Builder notification(Consumer<Notification.Builder> notification)
The Amazon Simple Notification Service (Amazon SNS) notification settings for this cluster.
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
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxDocuments
ClusterMetadata.Builder taxDocuments(TaxDocuments taxDocuments)
The tax documents required in your Amazon Web Services Region.
- Parameters:
taxDocuments- The tax documents required in your Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taxDocuments
default ClusterMetadata.Builder taxDocuments(Consumer<TaxDocuments.Builder> taxDocuments)
The tax documents required in your Amazon Web Services Region.
This is a convenience method that creates an instance of theTaxDocuments.Builderavoiding the need to create one manually viaTaxDocuments.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totaxDocuments(TaxDocuments).- Parameters:
taxDocuments- a consumer that will call methods onTaxDocuments.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
taxDocuments(TaxDocuments)
-
onDeviceServiceConfiguration
ClusterMetadata.Builder onDeviceServiceConfiguration(OnDeviceServiceConfiguration onDeviceServiceConfiguration)
Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
- Parameters:
onDeviceServiceConfiguration- Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onDeviceServiceConfiguration
default ClusterMetadata.Builder onDeviceServiceConfiguration(Consumer<OnDeviceServiceConfiguration.Builder> onDeviceServiceConfiguration)
Represents metadata and configuration settings for services on an Amazon Web Services Snow Family device.
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)
-
-