Interface Cluster.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Cluster.Builder,
,Cluster> SdkBuilder<Cluster.Builder,
,Cluster> SdkPojo
- Enclosing class:
Cluster
-
Method Summary
Modifier and TypeMethodDescriptionThe unique Amazon Resource Name (ARN) of the cluster.The date and time the resource was created.endpoints
(Collection<Endpoint> endpoints) The list of endpoints available for interaction with the scheduler.endpoints
(Consumer<Endpoint.Builder>... endpoints) The list of endpoints available for interaction with the scheduler.The list of endpoints available for interaction with the scheduler.errorInfo
(Collection<ErrorInfo> errorInfo) The list of errors that occurred during cluster provisioning.errorInfo
(Consumer<ErrorInfo.Builder>... errorInfo) The list of errors that occurred during cluster provisioning.The list of errors that occurred during cluster provisioning.The generated unique ID of the cluster.modifiedAt
(Instant modifiedAt) The date and time the resource was modified.The name that identifies the cluster.default Cluster.Builder
networking
(Consumer<Networking.Builder> networking) Sets the value of the Networking property for this object.networking
(Networking networking) Sets the value of the Networking property for this object.default Cluster.Builder
scheduler
(Consumer<Scheduler.Builder> scheduler) Sets the value of the Scheduler property for this object.Sets the value of the Scheduler property for this object.The size of the cluster.The size of the cluster.default Cluster.Builder
slurmConfiguration
(Consumer<ClusterSlurmConfiguration.Builder> slurmConfiguration) Additional options related to the Slurm scheduler.slurmConfiguration
(ClusterSlurmConfiguration slurmConfiguration) Additional options related to the Slurm scheduler.The provisioning status of the cluster.status
(ClusterStatus status) The provisioning status of the cluster.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 Details
-
name
The name that identifies the cluster.
- Parameters:
name
- The name that identifies the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The generated unique ID of the cluster.
- Parameters:
id
- The generated unique ID of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The unique Amazon Resource Name (ARN) of the cluster.
- Parameters:
arn
- The unique Amazon Resource Name (ARN) of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The provisioning status of the cluster.
The provisioning status doesn't indicate the overall health of the cluster.
The resource enters the
SUSPENDING
andSUSPENDED
states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status isSUSPENDED
. For more information, see Frequently asked questions about Slurm versions in PCS in the PCS User Guide.- Parameters:
status
- The provisioning status of the cluster.The provisioning status doesn't indicate the overall health of the cluster.
The resource enters the
SUSPENDING
andSUSPENDED
states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status isSUSPENDED
. For more information, see Frequently asked questions about Slurm versions in PCS in the PCS User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The provisioning status of the cluster.
The provisioning status doesn't indicate the overall health of the cluster.
The resource enters the
SUSPENDING
andSUSPENDED
states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status isSUSPENDED
. For more information, see Frequently asked questions about Slurm versions in PCS in the PCS User Guide.- Parameters:
status
- The provisioning status of the cluster.The provisioning status doesn't indicate the overall health of the cluster.
The resource enters the
SUSPENDING
andSUSPENDED
states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status isSUSPENDED
. For more information, see Frequently asked questions about Slurm versions in PCS in the PCS User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time the resource was created.
- Parameters:
createdAt
- The date and time the resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
The date and time the resource was modified.
- Parameters:
modifiedAt
- The date and time the resource was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduler
Sets the value of the Scheduler property for this object.- Parameters:
scheduler
- The new value for the Scheduler property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduler
Sets the value of the Scheduler property for this object. This is a convenience method that creates an instance of theScheduler.Builder
avoiding the need to create one manually viaScheduler.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscheduler(Scheduler)
.- Parameters:
scheduler
- a consumer that will call methods onScheduler.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
size
The size of the cluster.
-
SMALL
: 32 compute nodes and 256 jobs -
MEDIUM
: 512 compute nodes and 8192 jobs -
LARGE
: 2048 compute nodes and 16,384 jobs
- Parameters:
size
- The size of the cluster.-
SMALL
: 32 compute nodes and 256 jobs -
MEDIUM
: 512 compute nodes and 8192 jobs -
LARGE
: 2048 compute nodes and 16,384 jobs
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
size
The size of the cluster.
-
SMALL
: 32 compute nodes and 256 jobs -
MEDIUM
: 512 compute nodes and 8192 jobs -
LARGE
: 2048 compute nodes and 16,384 jobs
- Parameters:
size
- The size of the cluster.-
SMALL
: 32 compute nodes and 256 jobs -
MEDIUM
: 512 compute nodes and 8192 jobs -
LARGE
: 2048 compute nodes and 16,384 jobs
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
slurmConfiguration
Additional options related to the Slurm scheduler.
- Parameters:
slurmConfiguration
- Additional options related to the Slurm scheduler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slurmConfiguration
default Cluster.Builder slurmConfiguration(Consumer<ClusterSlurmConfiguration.Builder> slurmConfiguration) Additional options related to the Slurm scheduler.
This is a convenience method that creates an instance of theClusterSlurmConfiguration.Builder
avoiding the need to create one manually viaClusterSlurmConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toslurmConfiguration(ClusterSlurmConfiguration)
.- Parameters:
slurmConfiguration
- a consumer that will call methods onClusterSlurmConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networking
Sets the value of the Networking property for this object.- Parameters:
networking
- The new value for the Networking property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networking
Sets the value of the Networking property for this object. This is a convenience method that creates an instance of theNetworking.Builder
avoiding the need to create one manually viaNetworking.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworking(Networking)
.- Parameters:
networking
- a consumer that will call methods onNetworking.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpoints
The list of endpoints available for interaction with the scheduler.
- Parameters:
endpoints
- The list of endpoints available for interaction with the scheduler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The list of endpoints available for interaction with the scheduler.
- Parameters:
endpoints
- The list of endpoints available for interaction with the scheduler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The list of endpoints available for interaction with the scheduler.
This is a convenience method that creates an instance of theEndpoint.Builder
avoiding the need to create one manually viaEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpoints(List<Endpoint>)
.- Parameters:
endpoints
- a consumer that will call methods onEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorInfo
The list of errors that occurred during cluster provisioning.
- Parameters:
errorInfo
- The list of errors that occurred during cluster provisioning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorInfo
The list of errors that occurred during cluster provisioning.
- Parameters:
errorInfo
- The list of errors that occurred during cluster provisioning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorInfo
The list of errors that occurred during cluster provisioning.
This is a convenience method that creates an instance of theErrorInfo.Builder
avoiding the need to create one manually viaErrorInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorInfo(List<ErrorInfo>)
.- Parameters:
errorInfo
- a consumer that will call methods onErrorInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-