@Generated(value="software.amazon.awssdk:codegen") public final class CreateEndpointConfigRequest extends SageMakerRequest implements ToCopyableBuilder<CreateEndpointConfigRequest.Builder,CreateEndpointConfigRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateEndpointConfigRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateEndpointConfigRequest.Builder |
builder() |
DataCaptureConfig |
dataCaptureConfig()
Returns the value of the DataCaptureConfig property for this object.
|
String |
endpointConfigName()
The name of the endpoint configuration.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasProductionVariants()
Returns true if the ProductionVariants property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
kmsKeyId()
The Amazon Resource Name (ARN) of a AWS 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> |
productionVariants()
An list of
ProductionVariant objects, one for each model that you want to host at this endpoint. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateEndpointConfigRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
An array of key-value pairs.
|
CreateEndpointConfigRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String endpointConfigName()
The name of the endpoint configuration. You specify this name in a CreateEndpoint request.
public boolean hasProductionVariants()
public List<ProductionVariant> productionVariants()
An list of ProductionVariant objects, one for each model that you want to host at this endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasProductionVariants() to see if a value was sent in this field.
ProductionVariant objects, one for each model that you want to host at this
endpoint.public DataCaptureConfig dataCaptureConfig()
public boolean hasTags()
public List<Tag> tags()
An array of key-value pairs. You can use tags to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging AWS Resources.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public String kmsKeyId()
The Amazon Resource Name (ARN) of a AWS 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 AWS Key Management Service section Using Key Policies in AWS 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 AWS
Key Management Service section Using Key Policies in AWS
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateEndpointConfigRequest.Builder,CreateEndpointConfigRequest>toBuilder in class SageMakerRequestpublic static CreateEndpointConfigRequest.Builder builder()
public static Class<? extends CreateEndpointConfigRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.