Class CfnEndpointConfig.CoreDumpConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnEndpointConfig.CoreDumpConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointConfig.CoreDumpConfigProperty>
- Enclosing interface:
CfnEndpointConfig.CoreDumpConfigProperty
@Stability(Stable)
public static final class CfnEndpointConfig.CoreDumpConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointConfig.CoreDumpConfigProperty>
A builder for
CfnEndpointConfig.CoreDumpConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationS3Uri(String destinationS3Uri) Sets the value ofCfnEndpointConfig.CoreDumpConfigProperty.getDestinationS3Uri()Sets the value ofCfnEndpointConfig.CoreDumpConfigProperty.getKmsKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationS3Uri
@Stability(Stable) public CfnEndpointConfig.CoreDumpConfigProperty.Builder destinationS3Uri(String destinationS3Uri) Sets the value ofCfnEndpointConfig.CoreDumpConfigProperty.getDestinationS3Uri()- Parameters:
destinationS3Uri- The Amazon S3 bucket to send the core dump to. This parameter is required.- Returns:
this
-
kmsKeyId
@Stability(Stable) public CfnEndpointConfig.CoreDumpConfigProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnEndpointConfig.CoreDumpConfigProperty.getKmsKeyId()- Parameters:
kmsKeyId- The AWS Key Management Service (AWS KMS) key that SageMaker uses to encrypt the core dump data at rest using Amazon S3 server-side encryption. If you use a KMS key ID or an alias of your KMS key, the SageMaker execution role must include permissions to call kms:Encrypt.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointConfig.CoreDumpConfigProperty>- Returns:
- a new instance of
CfnEndpointConfig.CoreDumpConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-