Interface CreateMarketplaceModelEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<CreateMarketplaceModelEndpointRequest.Builder,,CreateMarketplaceModelEndpointRequest> SdkBuilder<CreateMarketplaceModelEndpointRequest.Builder,,CreateMarketplaceModelEndpointRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateMarketplaceModelEndpointRequest
-
Method Summary
Modifier and TypeMethodDescriptionacceptEula(Boolean acceptEula) Indicates whether you accept the end-user license agreement (EULA) for the model.clientRequestToken(String clientRequestToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.endpointConfig(Consumer<EndpointConfig.Builder> endpointConfig) The configuration for the endpoint, including the number and type of instances to use.endpointConfig(EndpointConfig endpointConfig) The configuration for the endpoint, including the number and type of instances to use.endpointName(String endpointName) The name of the endpoint.modelSourceIdentifier(String modelSourceIdentifier) The ARN of the model from Amazon Bedrock Marketplace that you want to deploy to the endpoint.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 to apply to the underlying Amazon SageMaker endpoint.tags(Consumer<Tag.Builder>... tags) An array of key-value pairs to apply to the underlying Amazon SageMaker endpoint.An array of key-value pairs to apply to the underlying Amazon SageMaker endpoint.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
modelSourceIdentifier
The ARN of the model from Amazon Bedrock Marketplace that you want to deploy to the endpoint.
- Parameters:
modelSourceIdentifier- The ARN of the model from Amazon Bedrock Marketplace that you want to deploy to the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfig
The configuration for the endpoint, including the number and type of instances to use.
- Parameters:
endpointConfig- The configuration for the endpoint, including the number and type of instances to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointConfig
default CreateMarketplaceModelEndpointRequest.Builder endpointConfig(Consumer<EndpointConfig.Builder> endpointConfig) The configuration for the endpoint, including the number and type of instances to use.
This is a convenience method that creates an instance of theEndpointConfig.Builderavoiding the need to create one manually viaEndpointConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpointConfig(EndpointConfig).- Parameters:
endpointConfig- a consumer that will call methods onEndpointConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
acceptEula
Indicates whether you accept the end-user license agreement (EULA) for the model. Set to
trueto accept the EULA.- Parameters:
acceptEula- Indicates whether you accept the end-user license agreement (EULA) for the model. Set totrueto accept the EULA.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointName
The name of the endpoint. This name must be unique within your Amazon Web Services account and region.
- Parameters:
endpointName- The name of the endpoint. This name must be unique within your Amazon Web Services account and region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is listed as not required because Amazon Web Services SDKs automatically generate it for you and set this parameter. If you're not using the Amazon Web Services SDK or the CLI, you must provide this token or the action will fail.
- Parameters:
clientRequestToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is listed as not required because Amazon Web Services SDKs automatically generate it for you and set this parameter. If you're not using the Amazon Web Services SDK or the CLI, you must provide this token or the action will fail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of key-value pairs to apply to the underlying Amazon SageMaker endpoint. You can use these tags to organize and identify your Amazon Web Services resources.
- Parameters:
tags- An array of key-value pairs to apply to the underlying Amazon SageMaker endpoint. You can use these tags to organize and identify your 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 to apply to the underlying Amazon SageMaker endpoint. You can use these tags to organize and identify your Amazon Web Services resources.
- Parameters:
tags- An array of key-value pairs to apply to the underlying Amazon SageMaker endpoint. You can use these tags to organize and identify your 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 to apply to the underlying Amazon SageMaker endpoint. You can use these tags to organize and identify your 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
CreateMarketplaceModelEndpointRequest.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
CreateMarketplaceModelEndpointRequest.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.
-