Interface PutExternalModelRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutExternalModelRequest.Builder,PutExternalModelRequest>,FraudDetectorRequest.Builder,SdkBuilder<PutExternalModelRequest.Builder,PutExternalModelRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutExternalModelRequest
public static interface PutExternalModelRequest.Builder extends FraudDetectorRequest.Builder, SdkPojo, CopyableBuilder<PutExternalModelRequest.Builder,PutExternalModelRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.frauddetector.model.FraudDetectorRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
modelEndpoint
PutExternalModelRequest.Builder modelEndpoint(String modelEndpoint)
The model endpoints name.
- Parameters:
modelEndpoint- The model endpoints name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelSource
PutExternalModelRequest.Builder modelSource(String modelSource)
The source of the model.
- Parameters:
modelSource- The source of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ModelSource,ModelSource
-
modelSource
PutExternalModelRequest.Builder modelSource(ModelSource modelSource)
The source of the model.
- Parameters:
modelSource- The source of the model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ModelSource,ModelSource
-
invokeModelEndpointRoleArn
PutExternalModelRequest.Builder invokeModelEndpointRoleArn(String invokeModelEndpointRoleArn)
The IAM role used to invoke the model endpoint.
- Parameters:
invokeModelEndpointRoleArn- The IAM role used to invoke the model endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputConfiguration
PutExternalModelRequest.Builder inputConfiguration(ModelInputConfiguration inputConfiguration)
The model endpoint input configuration.
- Parameters:
inputConfiguration- The model endpoint input configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputConfiguration
default PutExternalModelRequest.Builder inputConfiguration(Consumer<ModelInputConfiguration.Builder> inputConfiguration)
The model endpoint input configuration.
This is a convenience method that creates an instance of theModelInputConfiguration.Builderavoiding the need to create one manually viaModelInputConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputConfiguration(ModelInputConfiguration).- Parameters:
inputConfiguration- a consumer that will call methods onModelInputConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
inputConfiguration(ModelInputConfiguration)
-
outputConfiguration
PutExternalModelRequest.Builder outputConfiguration(ModelOutputConfiguration outputConfiguration)
The model endpoint output configuration.
- Parameters:
outputConfiguration- The model endpoint output configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfiguration
default PutExternalModelRequest.Builder outputConfiguration(Consumer<ModelOutputConfiguration.Builder> outputConfiguration)
The model endpoint output configuration.
This is a convenience method that creates an instance of theModelOutputConfiguration.Builderavoiding the need to create one manually viaModelOutputConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfiguration(ModelOutputConfiguration).- Parameters:
outputConfiguration- a consumer that will call methods onModelOutputConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outputConfiguration(ModelOutputConfiguration)
-
modelEndpointStatus
PutExternalModelRequest.Builder modelEndpointStatus(String modelEndpointStatus)
The model endpoint’s status in Amazon Fraud Detector.
- Parameters:
modelEndpointStatus- The model endpoint’s status in Amazon Fraud Detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ModelEndpointStatus,ModelEndpointStatus
-
modelEndpointStatus
PutExternalModelRequest.Builder modelEndpointStatus(ModelEndpointStatus modelEndpointStatus)
The model endpoint’s status in Amazon Fraud Detector.
- Parameters:
modelEndpointStatus- The model endpoint’s status in Amazon Fraud Detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ModelEndpointStatus,ModelEndpointStatus
-
tags
PutExternalModelRequest.Builder tags(Collection<Tag> tags)
A collection of key and value pairs.
- Parameters:
tags- A collection of key and value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
PutExternalModelRequest.Builder tags(Tag... tags)
A collection of key and value pairs.
- Parameters:
tags- A collection of key and value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
PutExternalModelRequest.Builder tags(Consumer<Tag.Builder>... tags)
A collection of key and value pairs.
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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
PutExternalModelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutExternalModelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-