Interface DescribeModelPackageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeModelPackageRequest.Builder,,DescribeModelPackageRequest> SageMakerRequest.Builder,SdkBuilder<DescribeModelPackageRequest.Builder,,DescribeModelPackageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeModelPackageRequest
-
Method Summary
Modifier and TypeMethodDescriptionincludedData(String includedData) Specifies the level of model package data to include in the response.includedData(IncludedData includedData) Specifies the level of model package data to include in the response.modelPackageName(String modelPackageName) The name or Amazon Resource Name (ARN) of the model package to describe.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
modelPackageName
The name or Amazon Resource Name (ARN) of the model package to describe.
When you specify a name, the name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
- Parameters:
modelPackageName- The name or Amazon Resource Name (ARN) of the model package to describe.When you specify a name, the name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includedData
Specifies the level of model package data to include in the response. Use this parameter to call
DescribeModelPackageon a model package that has an associated model card without requiringkms:Decryptpermission on the customer-managed KMS key associated with the embedded model card.-
AllData: Returns the full model package response, including the unredactedModelCard.ModelCardContent. This option requireskms:Decryptpermission on the customer-managed key, if one is associated with the embedded model card. This is the default. -
MetadataOnly: Returns the full model package response, but with the embeddedModelCard.ModelCardContentsanitized to include only a small set of unencrypted metadata fields. This option does not requirekms:Decryptpermission. All other top-level response fields, includingInferenceSpecification,ModelMetrics,DriftCheckBaselines, andSecurityConfig, are returned unchanged. For the list of fields preserved withinModelCardContent, see ModelCard.
If you don't specify a value, SageMaker returns
AllData.- Parameters:
includedData- Specifies the level of model package data to include in the response. Use this parameter to callDescribeModelPackageon a model package that has an associated model card without requiringkms:Decryptpermission on the customer-managed KMS key associated with the embedded model card.-
AllData: Returns the full model package response, including the unredactedModelCard.ModelCardContent. This option requireskms:Decryptpermission on the customer-managed key, if one is associated with the embedded model card. This is the default. -
MetadataOnly: Returns the full model package response, but with the embeddedModelCard.ModelCardContentsanitized to include only a small set of unencrypted metadata fields. This option does not requirekms:Decryptpermission. All other top-level response fields, includingInferenceSpecification,ModelMetrics,DriftCheckBaselines, andSecurityConfig, are returned unchanged. For the list of fields preserved withinModelCardContent, see ModelCard.
If you don't specify a value, SageMaker returns
AllData.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
includedData
Specifies the level of model package data to include in the response. Use this parameter to call
DescribeModelPackageon a model package that has an associated model card without requiringkms:Decryptpermission on the customer-managed KMS key associated with the embedded model card.-
AllData: Returns the full model package response, including the unredactedModelCard.ModelCardContent. This option requireskms:Decryptpermission on the customer-managed key, if one is associated with the embedded model card. This is the default. -
MetadataOnly: Returns the full model package response, but with the embeddedModelCard.ModelCardContentsanitized to include only a small set of unencrypted metadata fields. This option does not requirekms:Decryptpermission. All other top-level response fields, includingInferenceSpecification,ModelMetrics,DriftCheckBaselines, andSecurityConfig, are returned unchanged. For the list of fields preserved withinModelCardContent, see ModelCard.
If you don't specify a value, SageMaker returns
AllData.- Parameters:
includedData- Specifies the level of model package data to include in the response. Use this parameter to callDescribeModelPackageon a model package that has an associated model card without requiringkms:Decryptpermission on the customer-managed KMS key associated with the embedded model card.-
AllData: Returns the full model package response, including the unredactedModelCard.ModelCardContent. This option requireskms:Decryptpermission on the customer-managed key, if one is associated with the embedded model card. This is the default. -
MetadataOnly: Returns the full model package response, but with the embeddedModelCard.ModelCardContentsanitized to include only a small set of unencrypted metadata fields. This option does not requirekms:Decryptpermission. All other top-level response fields, includingInferenceSpecification,ModelMetrics,DriftCheckBaselines, andSecurityConfig, are returned unchanged. For the list of fields preserved withinModelCardContent, see ModelCard.
If you don't specify a value, SageMaker returns
AllData.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
DescribeModelPackageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeModelPackageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-