Interface GetRetentionSettingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeResponse.Builder
,CopyableBuilder<GetRetentionSettingsResponse.Builder,
,GetRetentionSettingsResponse> SdkBuilder<GetRetentionSettingsResponse.Builder,
,GetRetentionSettingsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetRetentionSettingsResponse
@Mutable
@NotThreadSafe
public static interface GetRetentionSettingsResponse.Builder
extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<GetRetentionSettingsResponse.Builder,GetRetentionSettingsResponse>
-
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, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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 GetRetentionSettingsResponse.Builder retentionSettings(Consumer<RetentionSettings.Builder> retentionSettings) The retention settings.
This is a convenience method that creates an instance of theRetentionSettings.Builder
avoiding the need to create one manually viaRetentionSettings.builder()
.When the
Consumer
completes,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.
-