Interface PutRetentionSettingsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeResponse.Builder,CopyableBuilder<PutRetentionSettingsResponse.Builder,PutRetentionSettingsResponse>,SdkBuilder<PutRetentionSettingsResponse.Builder,PutRetentionSettingsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- PutRetentionSettingsResponse
public static interface PutRetentionSettingsResponse.Builder extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<PutRetentionSettingsResponse.Builder,PutRetentionSettingsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PutRetentionSettingsResponse.BuilderinitiateDeletionTimestamp(Instant initiateDeletionTimestamp)The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.default PutRetentionSettingsResponse.BuilderretentionSettings(Consumer<RetentionSettings.Builder> retentionSettings)The retention settings.PutRetentionSettingsResponse.BuilderretentionSettings(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 Detail
-
retentionSettings
PutRetentionSettingsResponse.Builder retentionSettings(RetentionSettings 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:
retentionSettings(RetentionSettings)
-
initiateDeletionTimestamp
PutRetentionSettingsResponse.Builder initiateDeletionTimestamp(Instant 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.
-
-