Interface GetAppInstanceRetentionSettingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeSdkIdentityResponse.Builder
,CopyableBuilder<GetAppInstanceRetentionSettingsResponse.Builder,
,GetAppInstanceRetentionSettingsResponse> SdkBuilder<GetAppInstanceRetentionSettingsResponse.Builder,
,GetAppInstanceRetentionSettingsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetAppInstanceRetentionSettingsResponse
public static interface GetAppInstanceRetentionSettingsResponse.Builder
extends ChimeSdkIdentityResponse.Builder, SdkPojo, CopyableBuilder<GetAppInstanceRetentionSettingsResponse.Builder,GetAppInstanceRetentionSettingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionappInstanceRetentionSettings
(Consumer<AppInstanceRetentionSettings.Builder> appInstanceRetentionSettings) The retention settings for theAppInstance
.appInstanceRetentionSettings
(AppInstanceRetentionSettings appInstanceRetentionSettings) The retention settings for theAppInstance
.initiateDeletionTimestamp
(Instant initiateDeletionTimestamp) The timestamp representing the time at which the specified items are retained, in Epoch Seconds.Methods inherited from interface software.amazon.awssdk.services.chimesdkidentity.model.ChimeSdkIdentityResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
appInstanceRetentionSettings
GetAppInstanceRetentionSettingsResponse.Builder appInstanceRetentionSettings(AppInstanceRetentionSettings appInstanceRetentionSettings) The retention settings for the
AppInstance
.- Parameters:
appInstanceRetentionSettings
- The retention settings for theAppInstance
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appInstanceRetentionSettings
default GetAppInstanceRetentionSettingsResponse.Builder appInstanceRetentionSettings(Consumer<AppInstanceRetentionSettings.Builder> appInstanceRetentionSettings) The retention settings for the
This is a convenience method that creates an instance of theAppInstance
.AppInstanceRetentionSettings.Builder
avoiding the need to create one manually viaAppInstanceRetentionSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toappInstanceRetentionSettings(AppInstanceRetentionSettings)
.- Parameters:
appInstanceRetentionSettings
- a consumer that will call methods onAppInstanceRetentionSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
initiateDeletionTimestamp
GetAppInstanceRetentionSettingsResponse.Builder initiateDeletionTimestamp(Instant initiateDeletionTimestamp) The timestamp representing the time at which the specified items are retained, in Epoch Seconds.
- Parameters:
initiateDeletionTimestamp
- The timestamp representing the time at which the specified items are retained, in Epoch Seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-