Interface DescribeModelPackageResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeModelPackageResponse.Builder,DescribeModelPackageResponse>,SageMakerResponse.Builder,SdkBuilder<DescribeModelPackageResponse.Builder,DescribeModelPackageResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeModelPackageResponse
public static interface DescribeModelPackageResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeModelPackageResponse.Builder,DescribeModelPackageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeModelPackageResponse.BuilderadditionalInferenceSpecifications(Collection<AdditionalInferenceSpecificationDefinition> additionalInferenceSpecifications)An array of additional Inference Specification objects.DescribeModelPackageResponse.BuilderadditionalInferenceSpecifications(Consumer<AdditionalInferenceSpecificationDefinition.Builder>... additionalInferenceSpecifications)An array of additional Inference Specification objects.DescribeModelPackageResponse.BuilderadditionalInferenceSpecifications(AdditionalInferenceSpecificationDefinition... additionalInferenceSpecifications)An array of additional Inference Specification objects.DescribeModelPackageResponse.BuilderapprovalDescription(String approvalDescription)A description provided for the model approval.DescribeModelPackageResponse.BuildercertifyForMarketplace(Boolean certifyForMarketplace)Whether the model package is certified for listing on Amazon Web Services Marketplace.default DescribeModelPackageResponse.BuildercreatedBy(Consumer<UserContext.Builder> createdBy)Sets the value of the CreatedBy property for this object.DescribeModelPackageResponse.BuildercreatedBy(UserContext createdBy)Sets the value of the CreatedBy property for this object.DescribeModelPackageResponse.BuildercreationTime(Instant creationTime)A timestamp specifying when the model package was created.DescribeModelPackageResponse.BuildercustomerMetadataProperties(Map<String,String> customerMetadataProperties)The metadata properties associated with the model package versions.DescribeModelPackageResponse.Builderdomain(String domain)The machine learning domain of the model package you specified.default DescribeModelPackageResponse.BuilderdriftCheckBaselines(Consumer<DriftCheckBaselines.Builder> driftCheckBaselines)Represents the drift check baselines that can be used when the model monitor is set using the model package.DescribeModelPackageResponse.BuilderdriftCheckBaselines(DriftCheckBaselines driftCheckBaselines)Represents the drift check baselines that can be used when the model monitor is set using the model package.default DescribeModelPackageResponse.BuilderinferenceSpecification(Consumer<InferenceSpecification.Builder> inferenceSpecification)Details about inference jobs that you can run with models based on this model package.DescribeModelPackageResponse.BuilderinferenceSpecification(InferenceSpecification inferenceSpecification)Details about inference jobs that you can run with models based on this model package.default DescribeModelPackageResponse.BuilderlastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)Sets the value of the LastModifiedBy property for this object.DescribeModelPackageResponse.BuilderlastModifiedBy(UserContext lastModifiedBy)Sets the value of the LastModifiedBy property for this object.DescribeModelPackageResponse.BuilderlastModifiedTime(Instant lastModifiedTime)The last time that the model package was modified.default DescribeModelPackageResponse.BuildermetadataProperties(Consumer<MetadataProperties.Builder> metadataProperties)Sets the value of the MetadataProperties property for this object.DescribeModelPackageResponse.BuildermetadataProperties(MetadataProperties metadataProperties)Sets the value of the MetadataProperties property for this object.DescribeModelPackageResponse.BuildermodelApprovalStatus(String modelApprovalStatus)The approval status of the model package.DescribeModelPackageResponse.BuildermodelApprovalStatus(ModelApprovalStatus modelApprovalStatus)The approval status of the model package.default DescribeModelPackageResponse.BuildermodelCard(Consumer<ModelPackageModelCard.Builder> modelCard)The model card associated with the model package.DescribeModelPackageResponse.BuildermodelCard(ModelPackageModelCard modelCard)The model card associated with the model package.default DescribeModelPackageResponse.BuildermodelLifeCycle(Consumer<ModelLifeCycle.Builder> modelLifeCycle)A structure describing the current state of the model in its life cycle.DescribeModelPackageResponse.BuildermodelLifeCycle(ModelLifeCycle modelLifeCycle)A structure describing the current state of the model in its life cycle.default DescribeModelPackageResponse.BuildermodelMetrics(Consumer<ModelMetrics.Builder> modelMetrics)Metrics for the model.DescribeModelPackageResponse.BuildermodelMetrics(ModelMetrics modelMetrics)Metrics for the model.DescribeModelPackageResponse.BuildermodelPackageArn(String modelPackageArn)The Amazon Resource Name (ARN) of the model package.DescribeModelPackageResponse.BuildermodelPackageDescription(String modelPackageDescription)A brief summary of the model package.DescribeModelPackageResponse.BuildermodelPackageGroupName(String modelPackageGroupName)If the model is a versioned model, the name of the model group that the versioned model belongs to.DescribeModelPackageResponse.BuildermodelPackageName(String modelPackageName)The name of the model package being described.DescribeModelPackageResponse.BuildermodelPackageStatus(String modelPackageStatus)The current status of the model package.DescribeModelPackageResponse.BuildermodelPackageStatus(ModelPackageStatus modelPackageStatus)The current status of the model package.default DescribeModelPackageResponse.BuildermodelPackageStatusDetails(Consumer<ModelPackageStatusDetails.Builder> modelPackageStatusDetails)Details about the current status of the model package.DescribeModelPackageResponse.BuildermodelPackageStatusDetails(ModelPackageStatusDetails modelPackageStatusDetails)Details about the current status of the model package.DescribeModelPackageResponse.BuildermodelPackageVersion(Integer modelPackageVersion)The version of the model package.DescribeModelPackageResponse.BuildersamplePayloadUrl(String samplePayloadUrl)The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored.default DescribeModelPackageResponse.BuildersecurityConfig(Consumer<ModelPackageSecurityConfig.Builder> securityConfig)The KMS Key ID (KMSKeyId) used for encryption of model package information.DescribeModelPackageResponse.BuildersecurityConfig(ModelPackageSecurityConfig securityConfig)The KMS Key ID (KMSKeyId) used for encryption of model package information.DescribeModelPackageResponse.BuilderskipModelValidation(String skipModelValidation)Indicates if you want to skip model validation.DescribeModelPackageResponse.BuilderskipModelValidation(SkipModelValidation skipModelValidation)Indicates if you want to skip model validation.default DescribeModelPackageResponse.BuildersourceAlgorithmSpecification(Consumer<SourceAlgorithmSpecification.Builder> sourceAlgorithmSpecification)Details about the algorithm that was used to create the model package.DescribeModelPackageResponse.BuildersourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification)Details about the algorithm that was used to create the model package.DescribeModelPackageResponse.BuildersourceUri(String sourceUri)The URI of the source for the model package.DescribeModelPackageResponse.Buildertask(String task)The machine learning task you specified that your model package accomplishes.default DescribeModelPackageResponse.BuildervalidationSpecification(Consumer<ModelPackageValidationSpecification.Builder> validationSpecification)Configurations for one or more transform jobs that SageMaker runs to test the model package.DescribeModelPackageResponse.BuildervalidationSpecification(ModelPackageValidationSpecification validationSpecification)Configurations for one or more transform jobs that SageMaker runs to test the model package.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
modelPackageName
DescribeModelPackageResponse.Builder modelPackageName(String modelPackageName)
The name of the model package being described.
- Parameters:
modelPackageName- The name of the model package being described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelPackageGroupName
DescribeModelPackageResponse.Builder modelPackageGroupName(String modelPackageGroupName)
If the model is a versioned model, the name of the model group that the versioned model belongs to.
- Parameters:
modelPackageGroupName- If the model is a versioned model, the name of the model group that the versioned model belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelPackageVersion
DescribeModelPackageResponse.Builder modelPackageVersion(Integer modelPackageVersion)
The version of the model package.
- Parameters:
modelPackageVersion- The version of the model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelPackageArn
DescribeModelPackageResponse.Builder modelPackageArn(String modelPackageArn)
The Amazon Resource Name (ARN) of the model package.
- Parameters:
modelPackageArn- The Amazon Resource Name (ARN) of the model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelPackageDescription
DescribeModelPackageResponse.Builder modelPackageDescription(String modelPackageDescription)
A brief summary of the model package.
- Parameters:
modelPackageDescription- A brief summary of the model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
DescribeModelPackageResponse.Builder creationTime(Instant creationTime)
A timestamp specifying when the model package was created.
- Parameters:
creationTime- A timestamp specifying when the model package was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceSpecification
DescribeModelPackageResponse.Builder inferenceSpecification(InferenceSpecification inferenceSpecification)
Details about inference jobs that you can run with models based on this model package.
- Parameters:
inferenceSpecification- Details about inference jobs that you can run with models based on this model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inferenceSpecification
default DescribeModelPackageResponse.Builder inferenceSpecification(Consumer<InferenceSpecification.Builder> inferenceSpecification)
Details about inference jobs that you can run with models based on this model package.
This is a convenience method that creates an instance of theInferenceSpecification.Builderavoiding the need to create one manually viaInferenceSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinferenceSpecification(InferenceSpecification).- Parameters:
inferenceSpecification- a consumer that will call methods onInferenceSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
inferenceSpecification(InferenceSpecification)
-
sourceAlgorithmSpecification
DescribeModelPackageResponse.Builder sourceAlgorithmSpecification(SourceAlgorithmSpecification sourceAlgorithmSpecification)
Details about the algorithm that was used to create the model package.
- Parameters:
sourceAlgorithmSpecification- Details about the algorithm that was used to create the model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceAlgorithmSpecification
default DescribeModelPackageResponse.Builder sourceAlgorithmSpecification(Consumer<SourceAlgorithmSpecification.Builder> sourceAlgorithmSpecification)
Details about the algorithm that was used to create the model package.
This is a convenience method that creates an instance of theSourceAlgorithmSpecification.Builderavoiding the need to create one manually viaSourceAlgorithmSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceAlgorithmSpecification(SourceAlgorithmSpecification).- Parameters:
sourceAlgorithmSpecification- a consumer that will call methods onSourceAlgorithmSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sourceAlgorithmSpecification(SourceAlgorithmSpecification)
-
validationSpecification
DescribeModelPackageResponse.Builder validationSpecification(ModelPackageValidationSpecification validationSpecification)
Configurations for one or more transform jobs that SageMaker runs to test the model package.
- Parameters:
validationSpecification- Configurations for one or more transform jobs that SageMaker runs to test the model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationSpecification
default DescribeModelPackageResponse.Builder validationSpecification(Consumer<ModelPackageValidationSpecification.Builder> validationSpecification)
Configurations for one or more transform jobs that SageMaker runs to test the model package.
This is a convenience method that creates an instance of theModelPackageValidationSpecification.Builderavoiding the need to create one manually viaModelPackageValidationSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalidationSpecification(ModelPackageValidationSpecification).- Parameters:
validationSpecification- a consumer that will call methods onModelPackageValidationSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
validationSpecification(ModelPackageValidationSpecification)
-
modelPackageStatus
DescribeModelPackageResponse.Builder modelPackageStatus(String modelPackageStatus)
The current status of the model package.
- Parameters:
modelPackageStatus- The current status of the model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ModelPackageStatus,ModelPackageStatus
-
modelPackageStatus
DescribeModelPackageResponse.Builder modelPackageStatus(ModelPackageStatus modelPackageStatus)
The current status of the model package.
- Parameters:
modelPackageStatus- The current status of the model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ModelPackageStatus,ModelPackageStatus
-
modelPackageStatusDetails
DescribeModelPackageResponse.Builder modelPackageStatusDetails(ModelPackageStatusDetails modelPackageStatusDetails)
Details about the current status of the model package.
- Parameters:
modelPackageStatusDetails- Details about the current status of the model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelPackageStatusDetails
default DescribeModelPackageResponse.Builder modelPackageStatusDetails(Consumer<ModelPackageStatusDetails.Builder> modelPackageStatusDetails)
Details about the current status of the model package.
This is a convenience method that creates an instance of theModelPackageStatusDetails.Builderavoiding the need to create one manually viaModelPackageStatusDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelPackageStatusDetails(ModelPackageStatusDetails).- Parameters:
modelPackageStatusDetails- a consumer that will call methods onModelPackageStatusDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
modelPackageStatusDetails(ModelPackageStatusDetails)
-
certifyForMarketplace
DescribeModelPackageResponse.Builder certifyForMarketplace(Boolean certifyForMarketplace)
Whether the model package is certified for listing on Amazon Web Services Marketplace.
- Parameters:
certifyForMarketplace- Whether the model package is certified for listing on Amazon Web Services Marketplace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelApprovalStatus
DescribeModelPackageResponse.Builder modelApprovalStatus(String modelApprovalStatus)
The approval status of the model package.
- Parameters:
modelApprovalStatus- The approval status of the model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ModelApprovalStatus,ModelApprovalStatus
-
modelApprovalStatus
DescribeModelPackageResponse.Builder modelApprovalStatus(ModelApprovalStatus modelApprovalStatus)
The approval status of the model package.
- Parameters:
modelApprovalStatus- The approval status of the model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ModelApprovalStatus,ModelApprovalStatus
-
createdBy
DescribeModelPackageResponse.Builder createdBy(UserContext createdBy)
Sets the value of the CreatedBy property for this object.- Parameters:
createdBy- The new value for the CreatedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
default DescribeModelPackageResponse.Builder createdBy(Consumer<UserContext.Builder> createdBy)
Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builderavoiding the need to create one manually viaUserContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreatedBy(UserContext).- Parameters:
createdBy- a consumer that will call methods onUserContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
createdBy(UserContext)
-
metadataProperties
DescribeModelPackageResponse.Builder metadataProperties(MetadataProperties metadataProperties)
Sets the value of the MetadataProperties property for this object.- Parameters:
metadataProperties- The new value for the MetadataProperties property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataProperties
default DescribeModelPackageResponse.Builder metadataProperties(Consumer<MetadataProperties.Builder> metadataProperties)
Sets the value of the MetadataProperties property for this object. This is a convenience method that creates an instance of theMetadataProperties.Builderavoiding the need to create one manually viaMetadataProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadataProperties(MetadataProperties).- Parameters:
metadataProperties- a consumer that will call methods onMetadataProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metadataProperties(MetadataProperties)
-
modelMetrics
DescribeModelPackageResponse.Builder modelMetrics(ModelMetrics modelMetrics)
Metrics for the model.
- Parameters:
modelMetrics- Metrics for the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelMetrics
default DescribeModelPackageResponse.Builder modelMetrics(Consumer<ModelMetrics.Builder> modelMetrics)
Metrics for the model.
This is a convenience method that creates an instance of theModelMetrics.Builderavoiding the need to create one manually viaModelMetrics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelMetrics(ModelMetrics).- Parameters:
modelMetrics- a consumer that will call methods onModelMetrics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
modelMetrics(ModelMetrics)
-
lastModifiedTime
DescribeModelPackageResponse.Builder lastModifiedTime(Instant lastModifiedTime)
The last time that the model package was modified.
- Parameters:
lastModifiedTime- The last time that the model package was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
DescribeModelPackageResponse.Builder lastModifiedBy(UserContext lastModifiedBy)
Sets the value of the LastModifiedBy property for this object.- Parameters:
lastModifiedBy- The new value for the LastModifiedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
default DescribeModelPackageResponse.Builder lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
Sets the value of the LastModifiedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builderavoiding the need to create one manually viaUserContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolastModifiedBy(UserContext).- Parameters:
lastModifiedBy- a consumer that will call methods onUserContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lastModifiedBy(UserContext)
-
approvalDescription
DescribeModelPackageResponse.Builder approvalDescription(String approvalDescription)
A description provided for the model approval.
- Parameters:
approvalDescription- A description provided for the model approval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
DescribeModelPackageResponse.Builder domain(String domain)
The machine learning domain of the model package you specified. Common machine learning domains include computer vision and natural language processing.
- Parameters:
domain- The machine learning domain of the model package you specified. Common machine learning domains include computer vision and natural language processing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
task
DescribeModelPackageResponse.Builder task(String task)
The machine learning task you specified that your model package accomplishes. Common machine learning tasks include object detection and image classification.
- Parameters:
task- The machine learning task you specified that your model package accomplishes. Common machine learning tasks include object detection and image classification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
samplePayloadUrl
DescribeModelPackageResponse.Builder samplePayloadUrl(String samplePayloadUrl)
The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points to a single gzip compressed tar archive (.tar.gz suffix).
- Parameters:
samplePayloadUrl- The Amazon Simple Storage Service (Amazon S3) path where the sample payload are stored. This path points to a single gzip compressed tar archive (.tar.gz suffix).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerMetadataProperties
DescribeModelPackageResponse.Builder customerMetadataProperties(Map<String,String> customerMetadataProperties)
The metadata properties associated with the model package versions.
- Parameters:
customerMetadataProperties- The metadata properties associated with the model package versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
driftCheckBaselines
DescribeModelPackageResponse.Builder driftCheckBaselines(DriftCheckBaselines driftCheckBaselines)
Represents the drift check baselines that can be used when the model monitor is set using the model package. For more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker Developer Guide.
- Parameters:
driftCheckBaselines- Represents the drift check baselines that can be used when the model monitor is set using the model package. For more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker Developer Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
driftCheckBaselines
default DescribeModelPackageResponse.Builder driftCheckBaselines(Consumer<DriftCheckBaselines.Builder> driftCheckBaselines)
Represents the drift check baselines that can be used when the model monitor is set using the model package. For more information, see the topic on Drift Detection against Previous Baselines in SageMaker Pipelines in the Amazon SageMaker Developer Guide.
This is a convenience method that creates an instance of theDriftCheckBaselines.Builderavoiding the need to create one manually viaDriftCheckBaselines.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todriftCheckBaselines(DriftCheckBaselines).- Parameters:
driftCheckBaselines- a consumer that will call methods onDriftCheckBaselines.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
driftCheckBaselines(DriftCheckBaselines)
-
additionalInferenceSpecifications
DescribeModelPackageResponse.Builder additionalInferenceSpecifications(Collection<AdditionalInferenceSpecificationDefinition> additionalInferenceSpecifications)
An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.
- Parameters:
additionalInferenceSpecifications- An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalInferenceSpecifications
DescribeModelPackageResponse.Builder additionalInferenceSpecifications(AdditionalInferenceSpecificationDefinition... additionalInferenceSpecifications)
An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.
- Parameters:
additionalInferenceSpecifications- An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalInferenceSpecifications
DescribeModelPackageResponse.Builder additionalInferenceSpecifications(Consumer<AdditionalInferenceSpecificationDefinition.Builder>... additionalInferenceSpecifications)
An array of additional Inference Specification objects. Each additional Inference Specification specifies artifacts based on this model package that can be used on inference endpoints. Generally used with SageMaker Neo to store the compiled artifacts.
This is a convenience method that creates an instance of theAdditionalInferenceSpecificationDefinition.Builderavoiding the need to create one manually viaAdditionalInferenceSpecificationDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#additionalInferenceSpecifications(List.) - Parameters:
additionalInferenceSpecifications- a consumer that will call methods onAdditionalInferenceSpecificationDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#additionalInferenceSpecifications(java.util.Collection)
-
skipModelValidation
DescribeModelPackageResponse.Builder skipModelValidation(String skipModelValidation)
Indicates if you want to skip model validation.
- Parameters:
skipModelValidation- Indicates if you want to skip model validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SkipModelValidation,SkipModelValidation
-
skipModelValidation
DescribeModelPackageResponse.Builder skipModelValidation(SkipModelValidation skipModelValidation)
Indicates if you want to skip model validation.
- Parameters:
skipModelValidation- Indicates if you want to skip model validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SkipModelValidation,SkipModelValidation
-
sourceUri
DescribeModelPackageResponse.Builder sourceUri(String sourceUri)
The URI of the source for the model package.
- Parameters:
sourceUri- The URI of the source for the model package.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityConfig
DescribeModelPackageResponse.Builder securityConfig(ModelPackageSecurityConfig securityConfig)
The KMS Key ID (
KMSKeyId) used for encryption of model package information.- Parameters:
securityConfig- The KMS Key ID (KMSKeyId) used for encryption of model package information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityConfig
default DescribeModelPackageResponse.Builder securityConfig(Consumer<ModelPackageSecurityConfig.Builder> securityConfig)
The KMS Key ID (
This is a convenience method that creates an instance of theKMSKeyId) used for encryption of model package information.ModelPackageSecurityConfig.Builderavoiding the need to create one manually viaModelPackageSecurityConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecurityConfig(ModelPackageSecurityConfig).- Parameters:
securityConfig- a consumer that will call methods onModelPackageSecurityConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
securityConfig(ModelPackageSecurityConfig)
-
modelCard
DescribeModelPackageResponse.Builder modelCard(ModelPackageModelCard modelCard)
The model card associated with the model package. Since
ModelPackageModelCardis tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema ofModelCard. TheModelPackageModelCardschema does not includemodel_package_details, andmodel_overviewis composed of themodel_creatorandmodel_artifactproperties. For more information about the model package model card schema, see Model package model card schema. For more information about the model card associated with the model package, see View the Details of a Model Version.- Parameters:
modelCard- The model card associated with the model package. SinceModelPackageModelCardis tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema ofModelCard. TheModelPackageModelCardschema does not includemodel_package_details, andmodel_overviewis composed of themodel_creatorandmodel_artifactproperties. For more information about the model package model card schema, see Model package model card schema. For more information about the model card associated with the model package, see View the Details of a Model Version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCard
default DescribeModelPackageResponse.Builder modelCard(Consumer<ModelPackageModelCard.Builder> modelCard)
The model card associated with the model package. Since
This is a convenience method that creates an instance of theModelPackageModelCardis tied to a model package, it is a specific usage of a model card and its schema is simplified compared to the schema ofModelCard. TheModelPackageModelCardschema does not includemodel_package_details, andmodel_overviewis composed of themodel_creatorandmodel_artifactproperties. For more information about the model package model card schema, see Model package model card schema. For more information about the model card associated with the model package, see View the Details of a Model Version.ModelPackageModelCard.Builderavoiding the need to create one manually viaModelPackageModelCard.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelCard(ModelPackageModelCard).- Parameters:
modelCard- a consumer that will call methods onModelPackageModelCard.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
modelCard(ModelPackageModelCard)
-
modelLifeCycle
DescribeModelPackageResponse.Builder modelLifeCycle(ModelLifeCycle modelLifeCycle)
A structure describing the current state of the model in its life cycle.
- Parameters:
modelLifeCycle- A structure describing the current state of the model in its life cycle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelLifeCycle
default DescribeModelPackageResponse.Builder modelLifeCycle(Consumer<ModelLifeCycle.Builder> modelLifeCycle)
A structure describing the current state of the model in its life cycle.
This is a convenience method that creates an instance of theModelLifeCycle.Builderavoiding the need to create one manually viaModelLifeCycle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomodelLifeCycle(ModelLifeCycle).- Parameters:
modelLifeCycle- a consumer that will call methods onModelLifeCycle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
modelLifeCycle(ModelLifeCycle)
-
-