Interface PutProjectDataRetentionStorageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<PutProjectDataRetentionStorageRequest.Builder,,PutProjectDataRetentionStorageRequest> SdkBuilder<PutProjectDataRetentionStorageRequest.Builder,,PutProjectDataRetentionStorageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutProjectDataRetentionStorageRequest
-
Method Summary
Modifier and TypeMethodDescriptionmodelProvider(String modelProvider) The model provider whose retention storage configuration is addressed by this request.modelProvider(DataRetentionStorageModelProvider modelProvider) The model provider whose retention storage configuration is addressed by this request.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.projectIdentifier(String projectIdentifier) The ID or ARN of a named project owned by the calling account in this AWS Region.storageConfiguration(Consumer<DataRetentionStorageConfiguration.Builder> storageConfiguration) Destination bucket and key.storageConfiguration(DataRetentionStorageConfiguration storageConfiguration) Destination bucket and key.storageDestination(String storageDestination) Where retained data is delivered for this scope.storageDestination(DataRetentionStorageDestination storageDestination) Where retained data is delivered for this scope.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
-
projectIdentifier
The ID or ARN of a named project owned by the calling account in this AWS Region. The default project is not supported; use the account-level retention storage operations instead.
- Parameters:
projectIdentifier- The ID or ARN of a named project owned by the calling account in this AWS Region. The default project is not supported; use the account-level retention storage operations instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelProvider
The model provider whose retention storage configuration is addressed by this request.
- Parameters:
modelProvider- The model provider whose retention storage configuration is addressed by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelProvider
PutProjectDataRetentionStorageRequest.Builder modelProvider(DataRetentionStorageModelProvider modelProvider) The model provider whose retention storage configuration is addressed by this request.
- Parameters:
modelProvider- The model provider whose retention storage configuration is addressed by this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageDestination
Where retained data is delivered for this scope. customer_managed requires storageConfiguration; amazon_managed forbids it.
- Parameters:
storageDestination- Where retained data is delivered for this scope. customer_managed requires storageConfiguration; amazon_managed forbids it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageDestination
PutProjectDataRetentionStorageRequest.Builder storageDestination(DataRetentionStorageDestination storageDestination) Where retained data is delivered for this scope. customer_managed requires storageConfiguration; amazon_managed forbids it.
- Parameters:
storageDestination- Where retained data is delivered for this scope. customer_managed requires storageConfiguration; amazon_managed forbids it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageConfiguration
PutProjectDataRetentionStorageRequest.Builder storageConfiguration(DataRetentionStorageConfiguration storageConfiguration) Destination bucket and key. Required when storageDestination is customer_managed; rejected with ValidationException when amazon_managed.
- Parameters:
storageConfiguration- Destination bucket and key. Required when storageDestination is customer_managed; rejected with ValidationException when amazon_managed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageConfiguration
default PutProjectDataRetentionStorageRequest.Builder storageConfiguration(Consumer<DataRetentionStorageConfiguration.Builder> storageConfiguration) Destination bucket and key. Required when storageDestination is customer_managed; rejected with ValidationException when amazon_managed.
This is a convenience method that creates an instance of theDataRetentionStorageConfiguration.Builderavoiding the need to create one manually viaDataRetentionStorageConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostorageConfiguration(DataRetentionStorageConfiguration).- Parameters:
storageConfiguration- a consumer that will call methods onDataRetentionStorageConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutProjectDataRetentionStorageRequest.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
PutProjectDataRetentionStorageRequest.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.
-