Interface RegisterComputeNodeGroupInstanceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RegisterComputeNodeGroupInstanceResponse.Builder,,RegisterComputeNodeGroupInstanceResponse> PcsResponse.Builder,SdkBuilder<RegisterComputeNodeGroupInstanceResponse.Builder,,RegisterComputeNodeGroupInstanceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
RegisterComputeNodeGroupInstanceResponse
@Mutable
@NotThreadSafe
public static interface RegisterComputeNodeGroupInstanceResponse.Builder
extends PcsResponse.Builder, SdkPojo, CopyableBuilder<RegisterComputeNodeGroupInstanceResponse.Builder,RegisterComputeNodeGroupInstanceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionendpoints(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.The scheduler node ID for this instance.sharedSecret(String sharedSecret) For the Slurm scheduler, this is the shared Munge key the scheduler uses to authenticate compute node group instances.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pcs.model.PcsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nodeID
The scheduler node ID for this instance.
- Parameters:
nodeID- The scheduler node ID for this instance.- 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.
- 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.Builderavoiding the need to create one manually viaEndpoint.builder().When the
Consumercompletes,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:
-