Interface DescribeModelCardRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeModelCardRequest.Builder,,DescribeModelCardRequest> SageMakerRequest.Builder,SdkBuilder<DescribeModelCardRequest.Builder,,DescribeModelCardRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeModelCardRequest
-
Method Summary
Modifier and TypeMethodDescriptionincludedData(String includedData) Specifies the level of model card data to include in the response.includedData(IncludedData includedData) Specifies the level of model card data to include in the response.modelCardName(String modelCardName) The name or Amazon Resource Name (ARN) of the model card to describe.modelCardVersion(Integer modelCardVersion) The version of the model card 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
-
modelCardName
The name or Amazon Resource Name (ARN) of the model card to describe.
- Parameters:
modelCardName- The name or Amazon Resource Name (ARN) of the model card to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelCardVersion
The version of the model card to describe. If a version is not provided, then the latest version of the model card is described.
- Parameters:
modelCardVersion- The version of the model card to describe. If a version is not provided, then the latest version of the model card is described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includedData
Specifies the level of model card data to include in the response. Use this parameter to call
DescribeModelCardwithout requiringkms:Decryptpermission on the customer-managed Amazon Web Services KMS key.-
AllData: Returns the full model cardContent. This option requireskms:Decryptpermission on the customer-managed key, if one is associated with the model card. This is the default. -
MetadataOnly: Returns the model card with sanitizedContentthat includes only a small set of unencrypted metadata fields. This option does not requirekms:Decryptpermission. For the list of fields preserved in the response, seeContent.
If you don't specify a value, SageMaker returns
AllData.- Parameters:
includedData- Specifies the level of model card data to include in the response. Use this parameter to callDescribeModelCardwithout requiringkms:Decryptpermission on the customer-managed Amazon Web Services KMS key.-
AllData: Returns the full model cardContent. This option requireskms:Decryptpermission on the customer-managed key, if one is associated with the model card. This is the default. -
MetadataOnly: Returns the model card with sanitizedContentthat includes only a small set of unencrypted metadata fields. This option does not requirekms:Decryptpermission. For the list of fields preserved in the response, seeContent.
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 card data to include in the response. Use this parameter to call
DescribeModelCardwithout requiringkms:Decryptpermission on the customer-managed Amazon Web Services KMS key.-
AllData: Returns the full model cardContent. This option requireskms:Decryptpermission on the customer-managed key, if one is associated with the model card. This is the default. -
MetadataOnly: Returns the model card with sanitizedContentthat includes only a small set of unencrypted metadata fields. This option does not requirekms:Decryptpermission. For the list of fields preserved in the response, seeContent.
If you don't specify a value, SageMaker returns
AllData.- Parameters:
includedData- Specifies the level of model card data to include in the response. Use this parameter to callDescribeModelCardwithout requiringkms:Decryptpermission on the customer-managed Amazon Web Services KMS key.-
AllData: Returns the full model cardContent. This option requireskms:Decryptpermission on the customer-managed key, if one is associated with the model card. This is the default. -
MetadataOnly: Returns the model card with sanitizedContentthat includes only a small set of unencrypted metadata fields. This option does not requirekms:Decryptpermission. For the list of fields preserved in the response, seeContent.
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
DescribeModelCardRequest.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
DescribeModelCardRequest.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.
-