Interface PutProjectDataRetentionStorageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<PutProjectDataRetentionStorageResponse.Builder,,PutProjectDataRetentionStorageResponse> SdkBuilder<PutProjectDataRetentionStorageResponse.Builder,,PutProjectDataRetentionStorageResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutProjectDataRetentionStorageResponse
-
Method Summary
Modifier and TypeMethodDescriptionkmsKeyStatus(String kmsKeyStatus) Validation state of the KMS key.kmsKeyStatus(DataRetentionStorageResourceStatus kmsKeyStatus) Validation state of the KMS key.modelProvider(String modelProvider) Model provider this configuration applies to.modelProvider(DataRetentionStorageModelProvider modelProvider) Model provider this configuration applies to.projectArn(String projectArn) ARN of the configured project.s3BucketStatus(String s3BucketStatus) Validation state of the bucket.s3BucketStatus(DataRetentionStorageResourceStatus s3BucketStatus) Validation state of the bucket.Scope addressed by the operation that returned this record.scope(DataRetentionStorageScope scope) Scope addressed by the operation that returned this record.storageConfiguration(Consumer<DataRetentionStorageConfiguration.Builder> storageConfiguration) The stored destination and key.storageConfiguration(DataRetentionStorageConfiguration storageConfiguration) The stored destination and key.storageDestination(String storageDestination) Where this record delivers retained data.storageDestination(DataRetentionStorageDestination storageDestination) Where this record delivers retained data.Time the stored record last changed.Methods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
scope
Scope addressed by the operation that returned this record.
- Parameters:
scope- Scope addressed by the operation that returned this record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scope
Scope addressed by the operation that returned this record.
- Parameters:
scope- Scope addressed by the operation that returned this record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelProvider
Model provider this configuration applies to.
- Parameters:
modelProvider- Model provider this configuration applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelProvider
PutProjectDataRetentionStorageResponse.Builder modelProvider(DataRetentionStorageModelProvider modelProvider) Model provider this configuration applies to.
- Parameters:
modelProvider- Model provider this configuration applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageDestination
Where this record delivers retained data.
- Parameters:
storageDestination- Where this record delivers retained data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageDestination
PutProjectDataRetentionStorageResponse.Builder storageDestination(DataRetentionStorageDestination storageDestination) Where this record delivers retained data.
- Parameters:
storageDestination- Where this record delivers retained data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
storageConfiguration
PutProjectDataRetentionStorageResponse.Builder storageConfiguration(DataRetentionStorageConfiguration storageConfiguration) The stored destination and key. Present only when storageDestination is customer_managed.
- Parameters:
storageConfiguration- The stored destination and key. Present only when storageDestination is customer_managed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageConfiguration
default PutProjectDataRetentionStorageResponse.Builder storageConfiguration(Consumer<DataRetentionStorageConfiguration.Builder> storageConfiguration) The stored destination and key. Present only when storageDestination is customer_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:
-
updatedAt
Time the stored record last changed.
- Parameters:
updatedAt- Time the stored record last changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyStatus
Validation state of the KMS key. Present only when storageDestination is customer_managed.
- Parameters:
kmsKeyStatus- Validation state of the KMS key. Present only when storageDestination is customer_managed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyStatus
PutProjectDataRetentionStorageResponse.Builder kmsKeyStatus(DataRetentionStorageResourceStatus kmsKeyStatus) Validation state of the KMS key. Present only when storageDestination is customer_managed.
- Parameters:
kmsKeyStatus- Validation state of the KMS key. Present only when storageDestination is customer_managed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3BucketStatus
Validation state of the bucket. Present only when storageDestination is customer_managed.
- Parameters:
s3BucketStatus- Validation state of the bucket. Present only when storageDestination is customer_managed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3BucketStatus
PutProjectDataRetentionStorageResponse.Builder s3BucketStatus(DataRetentionStorageResourceStatus s3BucketStatus) Validation state of the bucket. Present only when storageDestination is customer_managed.
- Parameters:
s3BucketStatus- Validation state of the bucket. Present only when storageDestination is customer_managed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
projectArn
ARN of the configured project.
- Parameters:
projectArn- ARN of the configured project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-