Interface GetDataProtectionSettingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetDataProtectionSettingsResponse.Builder,
,GetDataProtectionSettingsResponse> SdkBuilder<GetDataProtectionSettingsResponse.Builder,
,GetDataProtectionSettingsResponse> SdkPojo
,SdkResponse.Builder
,WorkSpacesWebResponse.Builder
- Enclosing class:
GetDataProtectionSettingsResponse
@Mutable
@NotThreadSafe
public static interface GetDataProtectionSettingsResponse.Builder
extends WorkSpacesWebResponse.Builder, SdkPojo, CopyableBuilder<GetDataProtectionSettingsResponse.Builder,GetDataProtectionSettingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondataProtectionSettings
(Consumer<DataProtectionSettings.Builder> dataProtectionSettings) The data protection settings.dataProtectionSettings
(DataProtectionSettings dataProtectionSettings) The data protection settings.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
Methods inherited from interface software.amazon.awssdk.services.workspacesweb.model.WorkSpacesWebResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
dataProtectionSettings
GetDataProtectionSettingsResponse.Builder dataProtectionSettings(DataProtectionSettings dataProtectionSettings) The data protection settings.
- Parameters:
dataProtectionSettings
- The data protection settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataProtectionSettings
default GetDataProtectionSettingsResponse.Builder dataProtectionSettings(Consumer<DataProtectionSettings.Builder> dataProtectionSettings) The data protection settings.
This is a convenience method that creates an instance of theDataProtectionSettings.Builder
avoiding the need to create one manually viaDataProtectionSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataProtectionSettings(DataProtectionSettings)
.- Parameters:
dataProtectionSettings
- a consumer that will call methods onDataProtectionSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-