Interface DescribeInferenceRouterResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeInferenceRouterResponse.Builder,,DescribeInferenceRouterResponse> SageMakerResponse.Builder,SdkBuilder<DescribeInferenceRouterResponse.Builder,,DescribeInferenceRouterResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeInferenceRouterResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime(Instant creationTime) The date and time that the inference router was created.inferenceRouterArn(String inferenceRouterArn) The Amazon Resource Name (ARN) of the inference router.inferenceRouterName(String inferenceRouterName) The name of the inference router.lastModifiedTime(Instant lastModifiedTime) The date and time that the inference router was last updated.routingTargets(Collection<RoutingTarget> routingTargets) The routing targets of the inference router.routingTargets(Consumer<RoutingTarget.Builder>... routingTargets) The routing targets of the inference router.routingTargets(RoutingTarget... routingTargets) The routing targets of the inference router.The status of the inference router.status(InferenceRouterStatus status) The status of the inference router.statusReason(String statusReason) If the status isFailed, the reason that the inference router failed.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
-
inferenceRouterName
The name of the inference router.
- Parameters:
inferenceRouterName- The name of the inference router.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceRouterArn
The Amazon Resource Name (ARN) of the inference router.
- Parameters:
inferenceRouterArn- The Amazon Resource Name (ARN) of the inference router.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingTargets
The routing targets of the inference router. Each destination includes its
RoutingStatus. You can send these routing targets back in anUpdateInferenceRouterrequest without changes.- Parameters:
routingTargets- The routing targets of the inference router. Each destination includes itsRoutingStatus. You can send these routing targets back in anUpdateInferenceRouterrequest without changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingTargets
The routing targets of the inference router. Each destination includes its
RoutingStatus. You can send these routing targets back in anUpdateInferenceRouterrequest without changes.- Parameters:
routingTargets- The routing targets of the inference router. Each destination includes itsRoutingStatus. You can send these routing targets back in anUpdateInferenceRouterrequest without changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routingTargets
DescribeInferenceRouterResponse.Builder routingTargets(Consumer<RoutingTarget.Builder>... routingTargets) The routing targets of the inference router. Each destination includes its
This is a convenience method that creates an instance of theRoutingStatus. You can send these routing targets back in anUpdateInferenceRouterrequest without changes.RoutingTarget.Builderavoiding the need to create one manually viaRoutingTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutingTargets(List<RoutingTarget>).- Parameters:
routingTargets- a consumer that will call methods onRoutingTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the inference router.
- Parameters:
status- The status of the inference router.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the inference router.
- Parameters:
status- The status of the inference router.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusReason
If the status is
Failed, the reason that the inference router failed.- Parameters:
statusReason- If the status isFailed, the reason that the inference router failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The date and time that the inference router was created.
- Parameters:
creationTime- The date and time that the inference router was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The date and time that the inference router was last updated.
- Parameters:
lastModifiedTime- The date and time that the inference router was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-