Class ApplicationInferenceProfileAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.alpha.ApplicationInferenceProfileAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApplicationInferenceProfileAttributes>
- Enclosing interface:
ApplicationInferenceProfileAttributes
@Stability(Experimental)
public static final class ApplicationInferenceProfileAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<ApplicationInferenceProfileAttributes>
A builder for
ApplicationInferenceProfileAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.inferenceProfileArn(String inferenceProfileArn) Sets the value ofApplicationInferenceProfileAttributes.getInferenceProfileArn()inferenceProfileIdentifier(String inferenceProfileIdentifier) Sets the value ofApplicationInferenceProfileAttributes.getInferenceProfileIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inferenceProfileArn
@Stability(Experimental) public ApplicationInferenceProfileAttributes.Builder inferenceProfileArn(String inferenceProfileArn) Sets the value ofApplicationInferenceProfileAttributes.getInferenceProfileArn()- Parameters:
inferenceProfileArn- The ARN of the application inference profile. This parameter is required.- Returns:
this
-
inferenceProfileIdentifier
@Stability(Experimental) public ApplicationInferenceProfileAttributes.Builder inferenceProfileIdentifier(String inferenceProfileIdentifier) Sets the value ofApplicationInferenceProfileAttributes.getInferenceProfileIdentifier()- Parameters:
inferenceProfileIdentifier- The ID or Amazon Resource Name (ARN) of the inference profile. This parameter is required. This can be either the profile ID or the full ARN.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApplicationInferenceProfileAttributes>- Returns:
- a new instance of
ApplicationInferenceProfileAttributes - Throws:
NullPointerException- if any required attribute was not provided
-