@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEndpointConfigRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| CreateEndpointConfigRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateEndpointConfigRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| DataCaptureConfig | getDataCaptureConfig() | 
| String | getEndpointConfigName()
 The name of the endpoint configuration. | 
| String | getKmsKeyId()
 The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that Amazon SageMaker uses to
 encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. | 
| List<ProductionVariant> | getProductionVariants()
 An list of  ProductionVariantobjects, one for each model that you want to host at this endpoint. | 
| List<Tag> | getTags()
 An array of key-value pairs. | 
| int | hashCode() | 
| void | setDataCaptureConfig(DataCaptureConfig dataCaptureConfig) | 
| void | setEndpointConfigName(String endpointConfigName)
 The name of the endpoint configuration. | 
| void | setKmsKeyId(String kmsKeyId)
 The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that Amazon SageMaker uses to
 encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. | 
| void | setProductionVariants(Collection<ProductionVariant> productionVariants)
 An list of  ProductionVariantobjects, one for each model that you want to host at this endpoint. | 
| void | setTags(Collection<Tag> tags)
 An array of key-value pairs. | 
| String | toString()Returns a string representation of this object. | 
| CreateEndpointConfigRequest | withDataCaptureConfig(DataCaptureConfig dataCaptureConfig) | 
| CreateEndpointConfigRequest | withEndpointConfigName(String endpointConfigName)
 The name of the endpoint configuration. | 
| CreateEndpointConfigRequest | withKmsKeyId(String kmsKeyId)
 The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that Amazon SageMaker uses to
 encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. | 
| CreateEndpointConfigRequest | withProductionVariants(Collection<ProductionVariant> productionVariants)
 An list of  ProductionVariantobjects, one for each model that you want to host at this endpoint. | 
| CreateEndpointConfigRequest | withProductionVariants(ProductionVariant... productionVariants)
 An list of  ProductionVariantobjects, one for each model that you want to host at this endpoint. | 
| CreateEndpointConfigRequest | withTags(Collection<Tag> tags)
 An array of key-value pairs. | 
| CreateEndpointConfigRequest | withTags(Tag... tags)
 An array of key-value pairs. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setEndpointConfigName(String endpointConfigName)
The name of the endpoint configuration. You specify this name in a CreateEndpoint request.
endpointConfigName - The name of the endpoint configuration. You specify this name in a CreateEndpoint request.public String getEndpointConfigName()
The name of the endpoint configuration. You specify this name in a CreateEndpoint request.
public CreateEndpointConfigRequest withEndpointConfigName(String endpointConfigName)
The name of the endpoint configuration. You specify this name in a CreateEndpoint request.
endpointConfigName - The name of the endpoint configuration. You specify this name in a CreateEndpoint request.public List<ProductionVariant> getProductionVariants()
 An list of ProductionVariant objects, one for each model that you want to host at this endpoint.
 
ProductionVariant objects, one for each model that you want to host at this
         endpoint.public void setProductionVariants(Collection<ProductionVariant> productionVariants)
 An list of ProductionVariant objects, one for each model that you want to host at this endpoint.
 
productionVariants - An list of ProductionVariant objects, one for each model that you want to host at this
        endpoint.public CreateEndpointConfigRequest withProductionVariants(ProductionVariant... productionVariants)
 An list of ProductionVariant objects, one for each model that you want to host at this endpoint.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setProductionVariants(java.util.Collection) or withProductionVariants(java.util.Collection) if
 you want to override the existing values.
 
productionVariants - An list of ProductionVariant objects, one for each model that you want to host at this
        endpoint.public CreateEndpointConfigRequest withProductionVariants(Collection<ProductionVariant> productionVariants)
 An list of ProductionVariant objects, one for each model that you want to host at this endpoint.
 
productionVariants - An list of ProductionVariant objects, one for each model that you want to host at this
        endpoint.public void setDataCaptureConfig(DataCaptureConfig dataCaptureConfig)
dataCaptureConfig - public DataCaptureConfig getDataCaptureConfig()
public CreateEndpointConfigRequest withDataCaptureConfig(DataCaptureConfig dataCaptureConfig)
dataCaptureConfig - public List<Tag> getTags()
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
public void setTags(Collection<Tag> tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
tags - An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in
        different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services
        Resources.public CreateEndpointConfigRequest withTags(Tag... tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
 NOTE: This method appends the values to the existing list (if any). Use
 setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
 existing values.
 
tags - An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in
        different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services
        Resources.public CreateEndpointConfigRequest withTags(Collection<Tag> tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
tags - An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in
        different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services
        Resources.public void setKmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
The KmsKeyId can be any of the following formats:
 Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
 
 Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
 
 Alias name: alias/ExampleAlias
 
 Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
 
 The KMS key policy must grant permission to the IAM role that you specify in your CreateEndpoint,
 UpdateEndpoint requests. For more information, refer to the Amazon Web Services Key Management
 Service section Using Key
 Policies in Amazon Web Services KMS 
 
 Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are
 encrypted using a hardware module on the instance. You can't request a KmsKeyId when using an
 instance type with local storage. If any of the models that you specify in the ProductionVariants
 parameter use nitro-based instances with local storage, do not specify a value for the KmsKeyId
 parameter. If you specify a value for KmsKeyId when using any nitro-based instances with local
 storage, the call to CreateEndpointConfig fails.
 
For a list of instance types that support local instance storage, see Instance Store Volumes.
For more information about local instance storage encryption, see SSD Instance Store Volumes.
kmsKeyId - The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that Amazon SageMaker
        uses to encrypt data on the storage volume attached to the ML compute instance that hosts the
        endpoint.
        The KmsKeyId can be any of the following formats:
        Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
        
        Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
        
        Alias name: alias/ExampleAlias
        
        Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
        
        The KMS key policy must grant permission to the IAM role that you specify in your
        CreateEndpoint, UpdateEndpoint requests. For more information, refer to the
        Amazon Web Services Key Management Service section Using Key Policies in
        Amazon Web Services KMS 
        
        Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes
        are encrypted using a hardware module on the instance. You can't request a KmsKeyId when
        using an instance type with local storage. If any of the models that you specify in the
        ProductionVariants parameter use nitro-based instances with local storage, do not specify a
        value for the KmsKeyId parameter. If you specify a value for KmsKeyId when using
        any nitro-based instances with local storage, the call to CreateEndpointConfig fails.
        
For a list of instance types that support local instance storage, see Instance Store Volumes.
For more information about local instance storage encryption, see SSD Instance Store Volumes.
public String getKmsKeyId()
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
The KmsKeyId can be any of the following formats:
 Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
 
 Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
 
 Alias name: alias/ExampleAlias
 
 Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
 
 The KMS key policy must grant permission to the IAM role that you specify in your CreateEndpoint,
 UpdateEndpoint requests. For more information, refer to the Amazon Web Services Key Management
 Service section Using Key
 Policies in Amazon Web Services KMS 
 
 Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are
 encrypted using a hardware module on the instance. You can't request a KmsKeyId when using an
 instance type with local storage. If any of the models that you specify in the ProductionVariants
 parameter use nitro-based instances with local storage, do not specify a value for the KmsKeyId
 parameter. If you specify a value for KmsKeyId when using any nitro-based instances with local
 storage, the call to CreateEndpointConfig fails.
 
For a list of instance types that support local instance storage, see Instance Store Volumes.
For more information about local instance storage encryption, see SSD Instance Store Volumes.
The KmsKeyId can be any of the following formats:
         Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
         
         Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
         
         Alias name: alias/ExampleAlias
         
         Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
         
         The KMS key policy must grant permission to the IAM role that you specify in your
         CreateEndpoint, UpdateEndpoint requests. For more information, refer to the
         Amazon Web Services Key Management Service section Using Key Policies in
         Amazon Web Services KMS 
         
         Certain Nitro-based instances include local storage, dependent on the instance type. Local storage
         volumes are encrypted using a hardware module on the instance. You can't request a KmsKeyId
         when using an instance type with local storage. If any of the models that you specify in the
         ProductionVariants parameter use nitro-based instances with local storage, do not specify a
         value for the KmsKeyId parameter. If you specify a value for KmsKeyId when
         using any nitro-based instances with local storage, the call to CreateEndpointConfig fails.
         
For a list of instance types that support local instance storage, see Instance Store Volumes.
For more information about local instance storage encryption, see SSD Instance Store Volumes.
public CreateEndpointConfigRequest withKmsKeyId(String kmsKeyId)
The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.
The KmsKeyId can be any of the following formats:
 Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
 
 Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
 
 Alias name: alias/ExampleAlias
 
 Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
 
 The KMS key policy must grant permission to the IAM role that you specify in your CreateEndpoint,
 UpdateEndpoint requests. For more information, refer to the Amazon Web Services Key Management
 Service section Using Key
 Policies in Amazon Web Services KMS 
 
 Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes are
 encrypted using a hardware module on the instance. You can't request a KmsKeyId when using an
 instance type with local storage. If any of the models that you specify in the ProductionVariants
 parameter use nitro-based instances with local storage, do not specify a value for the KmsKeyId
 parameter. If you specify a value for KmsKeyId when using any nitro-based instances with local
 storage, the call to CreateEndpointConfig fails.
 
For a list of instance types that support local instance storage, see Instance Store Volumes.
For more information about local instance storage encryption, see SSD Instance Store Volumes.
kmsKeyId - The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that Amazon SageMaker
        uses to encrypt data on the storage volume attached to the ML compute instance that hosts the
        endpoint.
        The KmsKeyId can be any of the following formats:
        Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
        
        Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
        
        Alias name: alias/ExampleAlias
        
        Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
        
        The KMS key policy must grant permission to the IAM role that you specify in your
        CreateEndpoint, UpdateEndpoint requests. For more information, refer to the
        Amazon Web Services Key Management Service section Using Key Policies in
        Amazon Web Services KMS 
        
        Certain Nitro-based instances include local storage, dependent on the instance type. Local storage volumes
        are encrypted using a hardware module on the instance. You can't request a KmsKeyId when
        using an instance type with local storage. If any of the models that you specify in the
        ProductionVariants parameter use nitro-based instances with local storage, do not specify a
        value for the KmsKeyId parameter. If you specify a value for KmsKeyId when using
        any nitro-based instances with local storage, the call to CreateEndpointConfig fails.
        
For a list of instance types that support local instance storage, see Instance Store Volumes.
For more information about local instance storage encryption, see SSD Instance Store Volumes.
public String toString()
toString in class ObjectObject.toString()public CreateEndpointConfigRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()