Interface DescribeModelResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeModelResponse.Builder,DescribeModelResponse>
,SageMakerResponse.Builder
,SdkBuilder<DescribeModelResponse.Builder,DescribeModelResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeModelResponse
public static interface DescribeModelResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeModelResponse.Builder,DescribeModelResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeModelResponse.Builder
containers(Collection<ContainerDefinition> containers)
The containers in the inference pipeline.DescribeModelResponse.Builder
containers(Consumer<ContainerDefinition.Builder>... containers)
The containers in the inference pipeline.DescribeModelResponse.Builder
containers(ContainerDefinition... containers)
The containers in the inference pipeline.DescribeModelResponse.Builder
creationTime(Instant creationTime)
A timestamp that shows when the model was created.default DescribeModelResponse.Builder
deploymentRecommendation(Consumer<DeploymentRecommendation.Builder> deploymentRecommendation)
A set of recommended deployment configurations for the model.DescribeModelResponse.Builder
deploymentRecommendation(DeploymentRecommendation deploymentRecommendation)
A set of recommended deployment configurations for the model.DescribeModelResponse.Builder
enableNetworkIsolation(Boolean enableNetworkIsolation)
IfTrue
, no inbound or outbound network calls can be made to or from the model container.DescribeModelResponse.Builder
executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.default DescribeModelResponse.Builder
inferenceExecutionConfig(Consumer<InferenceExecutionConfig.Builder> inferenceExecutionConfig)
Specifies details of how containers in a multi-container endpoint are called.DescribeModelResponse.Builder
inferenceExecutionConfig(InferenceExecutionConfig inferenceExecutionConfig)
Specifies details of how containers in a multi-container endpoint are called.DescribeModelResponse.Builder
modelArn(String modelArn)
The Amazon Resource Name (ARN) of the model.DescribeModelResponse.Builder
modelName(String modelName)
Name of the SageMaker model.default DescribeModelResponse.Builder
primaryContainer(Consumer<ContainerDefinition.Builder> primaryContainer)
The location of the primary inference code, associated artifacts, and custom environment map that the inference code uses when it is deployed in production.DescribeModelResponse.Builder
primaryContainer(ContainerDefinition primaryContainer)
The location of the primary inference code, associated artifacts, and custom environment map that the inference code uses when it is deployed in production.default DescribeModelResponse.Builder
vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
A VpcConfig object that specifies the VPC that this model has access to.DescribeModelResponse.Builder
vpcConfig(VpcConfig vpcConfig)
A VpcConfig object that specifies the VPC that this model has access to.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
modelName
DescribeModelResponse.Builder modelName(String modelName)
Name of the SageMaker model.
- Parameters:
modelName
- Name of the SageMaker model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryContainer
DescribeModelResponse.Builder primaryContainer(ContainerDefinition primaryContainer)
The location of the primary inference code, associated artifacts, and custom environment map that the inference code uses when it is deployed in production.
- Parameters:
primaryContainer
- The location of the primary inference code, associated artifacts, and custom environment map that the inference code uses when it is deployed in production.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryContainer
default DescribeModelResponse.Builder primaryContainer(Consumer<ContainerDefinition.Builder> primaryContainer)
The location of the primary inference code, associated artifacts, and custom environment map that the inference code uses when it is deployed in production.
This is a convenience method that creates an instance of theContainerDefinition.Builder
avoiding the need to create one manually viaContainerDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprimaryContainer(ContainerDefinition)
.- Parameters:
primaryContainer
- a consumer that will call methods onContainerDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
primaryContainer(ContainerDefinition)
-
containers
DescribeModelResponse.Builder containers(Collection<ContainerDefinition> containers)
The containers in the inference pipeline.
- Parameters:
containers
- The containers in the inference pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
DescribeModelResponse.Builder containers(ContainerDefinition... containers)
The containers in the inference pipeline.
- Parameters:
containers
- The containers in the inference pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containers
DescribeModelResponse.Builder containers(Consumer<ContainerDefinition.Builder>... containers)
The containers in the inference pipeline.
This is a convenience method that creates an instance of theContainerDefinition.Builder
avoiding the need to create one manually viaContainerDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#containers(List
.) - Parameters:
containers
- a consumer that will call methods onContainerDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#containers(java.util.Collection
)
-
inferenceExecutionConfig
DescribeModelResponse.Builder inferenceExecutionConfig(InferenceExecutionConfig inferenceExecutionConfig)
Specifies details of how containers in a multi-container endpoint are called.
- Parameters:
inferenceExecutionConfig
- Specifies details of how containers in a multi-container endpoint are called.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceExecutionConfig
default DescribeModelResponse.Builder inferenceExecutionConfig(Consumer<InferenceExecutionConfig.Builder> inferenceExecutionConfig)
Specifies details of how containers in a multi-container endpoint are called.
This is a convenience method that creates an instance of theInferenceExecutionConfig.Builder
avoiding the need to create one manually viaInferenceExecutionConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinferenceExecutionConfig(InferenceExecutionConfig)
.- Parameters:
inferenceExecutionConfig
- a consumer that will call methods onInferenceExecutionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
inferenceExecutionConfig(InferenceExecutionConfig)
-
executionRoleArn
DescribeModelResponse.Builder executionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
- Parameters:
executionRoleArn
- The Amazon Resource Name (ARN) of the IAM role that you specified for the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
DescribeModelResponse.Builder vpcConfig(VpcConfig vpcConfig)
A VpcConfig object that specifies the VPC that this model has access to. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud
- Parameters:
vpcConfig
- A VpcConfig object that specifies the VPC that this model has access to. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default DescribeModelResponse.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
A VpcConfig object that specifies the VPC that this model has access to. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud
This is a convenience method that creates an instance of theVpcConfig.Builder
avoiding the need to create one manually viaVpcConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(VpcConfig)
.- Parameters:
vpcConfig
- a consumer that will call methods onVpcConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcConfig(VpcConfig)
-
creationTime
DescribeModelResponse.Builder creationTime(Instant creationTime)
A timestamp that shows when the model was created.
- Parameters:
creationTime
- A timestamp that shows when the model was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelArn
DescribeModelResponse.Builder modelArn(String modelArn)
The Amazon Resource Name (ARN) of the model.
- Parameters:
modelArn
- The Amazon Resource Name (ARN) of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableNetworkIsolation
DescribeModelResponse.Builder enableNetworkIsolation(Boolean enableNetworkIsolation)
If
True
, no inbound or outbound network calls can be made to or from the model container.- Parameters:
enableNetworkIsolation
- IfTrue
, no inbound or outbound network calls can be made to or from the model container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentRecommendation
DescribeModelResponse.Builder deploymentRecommendation(DeploymentRecommendation deploymentRecommendation)
A set of recommended deployment configurations for the model.
- Parameters:
deploymentRecommendation
- A set of recommended deployment configurations for the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentRecommendation
default DescribeModelResponse.Builder deploymentRecommendation(Consumer<DeploymentRecommendation.Builder> deploymentRecommendation)
A set of recommended deployment configurations for the model.
This is a convenience method that creates an instance of theDeploymentRecommendation.Builder
avoiding the need to create one manually viaDeploymentRecommendation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeploymentRecommendation(DeploymentRecommendation)
.- Parameters:
deploymentRecommendation
- a consumer that will call methods onDeploymentRecommendation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
deploymentRecommendation(DeploymentRecommendation)
-
-