Interface CreateGlobalInferenceGatewayResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateGlobalInferenceGatewayResponse.Builder,,CreateGlobalInferenceGatewayResponse> SageMakerResponse.Builder,SdkBuilder<CreateGlobalInferenceGatewayResponse.Builder,,CreateGlobalInferenceGatewayResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateGlobalInferenceGatewayResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the global inference gateway.executionRoleArn(String executionRoleArn) The Amazon Resource Name (ARN) of the IAM role that the global inference gateway assumes to access your SageMaker HyperPod clusters.gateways(Collection<GlobalInferenceGatewayMember> gateways) The in-cluster inference gateways that you specified in the request.gateways(Consumer<GlobalInferenceGatewayMember.Builder>... gateways) The in-cluster inference gateways that you specified in the request.gateways(GlobalInferenceGatewayMember... gateways) The in-cluster inference gateways that you specified in the request.The ID of the global inference gateway.The name of the global inference gateway.The routing configuration of the global inference gateway.routing(GlobalInferenceGatewayRouting routing) The routing configuration of the global inference gateway.The status of the global inference gateway.status(GlobalInferenceGatewayStatus status) The status of the global inference gateway.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.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
-
arn
The Amazon Resource Name (ARN) of the global inference gateway.
- Parameters:
arn- The Amazon Resource Name (ARN) of the global inference gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the global inference gateway.
- Parameters:
id- The ID of the global inference gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the global inference gateway.
- Parameters:
name- The name of the global inference gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the global inference gateway. A new global inference gateway starts in the
CREATINGstatus.- Parameters:
status- The status of the global inference gateway. A new global inference gateway starts in theCREATINGstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the global inference gateway. A new global inference gateway starts in the
CREATINGstatus.- Parameters:
status- The status of the global inference gateway. A new global inference gateway starts in theCREATINGstatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionRoleArn
The Amazon Resource Name (ARN) of the IAM role that the global inference gateway assumes to access your SageMaker HyperPod clusters.
- Parameters:
executionRoleArn- The Amazon Resource Name (ARN) of the IAM role that the global inference gateway assumes to access your SageMaker HyperPod clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routing
The routing configuration of the global inference gateway.
- Parameters:
routing- The routing configuration of the global inference gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routing
default CreateGlobalInferenceGatewayResponse.Builder routing(Consumer<GlobalInferenceGatewayRouting.Builder> routing) The routing configuration of the global inference gateway.
This is a convenience method that creates an instance of theGlobalInferenceGatewayRouting.Builderavoiding the need to create one manually viaGlobalInferenceGatewayRouting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torouting(GlobalInferenceGatewayRouting).- Parameters:
routing- a consumer that will call methods onGlobalInferenceGatewayRouting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gateways
CreateGlobalInferenceGatewayResponse.Builder gateways(Collection<GlobalInferenceGatewayMember> gateways) The in-cluster inference gateways that you specified in the request.
- Parameters:
gateways- The in-cluster inference gateways that you specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gateways
The in-cluster inference gateways that you specified in the request.
- Parameters:
gateways- The in-cluster inference gateways that you specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gateways
CreateGlobalInferenceGatewayResponse.Builder gateways(Consumer<GlobalInferenceGatewayMember.Builder>... gateways) The in-cluster inference gateways that you specified in the request.
This is a convenience method that creates an instance of theGlobalInferenceGatewayMember.Builderavoiding the need to create one manually viaGlobalInferenceGatewayMember.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togateways(List<GlobalInferenceGatewayMember>).- Parameters:
gateways- a consumer that will call methods onGlobalInferenceGatewayMember.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-