Interface PutTrustedAccessProgramProjectEnrollmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<PutTrustedAccessProgramProjectEnrollmentRequest.Builder,,PutTrustedAccessProgramProjectEnrollmentRequest> SdkBuilder<PutTrustedAccessProgramProjectEnrollmentRequest.Builder,,PutTrustedAccessProgramProjectEnrollmentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutTrustedAccessProgramProjectEnrollmentRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe enrollment preference to store.optIn(TrustedAccessProgramOptIn optIn) The enrollment preference to store.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.programIdentifier(String programIdentifier) The identifier of the trusted access program.projectIdentifier(String projectIdentifier) The id or ARN of the named Bedrock project.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
-
programIdentifier
The identifier of the trusted access program.
- Parameters:
programIdentifier- The identifier of the trusted access program.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectIdentifier
The id or ARN of the named Bedrock project. The default project is not supported; use PutTrustedAccessProgramAccountEnrollment for account-level enrollment. An ARN from another account, Region, or partition returns ValidationException. A project that does not exist in the calling account returns ResourceNotFoundException.
- Parameters:
projectIdentifier- The id or ARN of the named Bedrock project. The default project is not supported; use PutTrustedAccessProgramAccountEnrollment for account-level enrollment. An ARN from another account, Region, or partition returns ValidationException. A project that does not exist in the calling account returns ResourceNotFoundException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optIn
The enrollment preference to store. A transition to enabled accepts the program's terms. Changing the preference records a new updatedAt. Repeating the same stored preference preserves updatedAt.
- Parameters:
optIn- The enrollment preference to store. A transition to enabled accepts the program's terms. Changing the preference records a new updatedAt. Repeating the same stored preference preserves updatedAt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
optIn
The enrollment preference to store. A transition to enabled accepts the program's terms. Changing the preference records a new updatedAt. Repeating the same stored preference preserves updatedAt.
- Parameters:
optIn- The enrollment preference to store. A transition to enabled accepts the program's terms. Changing the preference records a new updatedAt. Repeating the same stored preference preserves updatedAt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutTrustedAccessProgramProjectEnrollmentRequest.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
PutTrustedAccessProgramProjectEnrollmentRequest.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.
-