Interface CreateEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateEndpointRequest.Builder,,CreateEndpointRequest> SageMakerRequest.Builder,SdkBuilder<CreateEndpointRequest.Builder,,CreateEndpointRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateEndpointRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateEndpointRequest.BuilderdeploymentConfig(Consumer<DeploymentConfig.Builder> deploymentConfig) Sets the value of the DeploymentConfig property for this object.deploymentConfig(DeploymentConfig deploymentConfig) Sets the value of the DeploymentConfig property for this object.endpointConfigName(String endpointConfigName) The name of an endpoint configuration.endpointName(String endpointName) The name of the endpoint.The name must be unique within an Amazon Web Services Region in your Amazon Web Services account.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) An array of key-value pairs.tags(Consumer<Tag.Builder>... tags) An array of key-value pairs.An array of key-value pairs.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, sdkFields
-
Method Details
-
endpointName
The name of the endpoint.The name must be unique within an Amazon Web Services Region in your Amazon Web Services account. The name is case-insensitive in
CreateEndpoint, but the case is preserved and must be matched in InvokeEndpoint.- Parameters:
endpointName- The name of the endpoint.The name must be unique within an Amazon Web Services Region in your Amazon Web Services account. The name is case-insensitive inCreateEndpoint, but the case is preserved and must be matched in InvokeEndpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfigName
The name of an endpoint configuration. For more information, see CreateEndpointConfig.
- Parameters:
endpointConfigName- The name of an endpoint configuration. For more information, see CreateEndpointConfig.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfig
Sets the value of the DeploymentConfig property for this object.- Parameters:
deploymentConfig- The new value for the DeploymentConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfig
default CreateEndpointRequest.Builder deploymentConfig(Consumer<DeploymentConfig.Builder> deploymentConfig) Sets the value of the DeploymentConfig property for this object. This is a convenience method that creates an instance of theDeploymentConfig.Builderavoiding the need to create one manually viaDeploymentConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todeploymentConfig(DeploymentConfig).- Parameters:
deploymentConfig- a consumer that will call methods onDeploymentConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateEndpointRequest.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
CreateEndpointRequest.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.
-