Interface PutAccountDataRetentionStorageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockResponse.Builder,Buildable,CopyableBuilder<PutAccountDataRetentionStorageResponse.Builder,,PutAccountDataRetentionStorageResponse> SdkBuilder<PutAccountDataRetentionStorageResponse.Builder,,PutAccountDataRetentionStorageResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutAccountDataRetentionStorageResponse
-
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.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
PutAccountDataRetentionStorageResponse.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
PutAccountDataRetentionStorageResponse.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
PutAccountDataRetentionStorageResponse.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 PutAccountDataRetentionStorageResponse.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
PutAccountDataRetentionStorageResponse.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
PutAccountDataRetentionStorageResponse.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:
-