Interface PutRetentionSettingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeResponse.Builder,CopyableBuilder<PutRetentionSettingsResponse.Builder,,PutRetentionSettingsResponse> SdkBuilder<PutRetentionSettingsResponse.Builder,,PutRetentionSettingsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
PutRetentionSettingsResponse
@Mutable
@NotThreadSafe
public static interface PutRetentionSettingsResponse.Builder
extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<PutRetentionSettingsResponse.Builder,PutRetentionSettingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninitiateDeletionTimestamp(Instant initiateDeletionTimestamp) The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.retentionSettings(Consumer<RetentionSettings.Builder> retentionSettings) The retention settings.retentionSettings(RetentionSettings retentionSettings) The retention settings.Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeResponse.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
-
retentionSettings
The retention settings.
- Parameters:
retentionSettings- The retention settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionSettings
default PutRetentionSettingsResponse.Builder retentionSettings(Consumer<RetentionSettings.Builder> retentionSettings) The retention settings.
This is a convenience method that creates an instance of theRetentionSettings.Builderavoiding the need to create one manually viaRetentionSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toretentionSettings(RetentionSettings).- Parameters:
retentionSettings- a consumer that will call methods onRetentionSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
initiateDeletionTimestamp
The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.
- Parameters:
initiateDeletionTimestamp- The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-