Interface GetDataProtectionSettingsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetDataProtectionSettingsResponse.Builder,GetDataProtectionSettingsResponse>,SdkBuilder<GetDataProtectionSettingsResponse.Builder,GetDataProtectionSettingsResponse>,SdkPojo,SdkResponse.Builder,WorkSpacesWebResponse.Builder
- Enclosing class:
- GetDataProtectionSettingsResponse
public static interface GetDataProtectionSettingsResponse.Builder extends WorkSpacesWebResponse.Builder, SdkPojo, CopyableBuilder<GetDataProtectionSettingsResponse.Builder,GetDataProtectionSettingsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetDataProtectionSettingsResponse.BuilderdataProtectionSettings(Consumer<DataProtectionSettings.Builder> dataProtectionSettings)The data protection settings.GetDataProtectionSettingsResponse.BuilderdataProtectionSettings(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 Detail
-
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.Builderavoiding the need to create one manually viaDataProtectionSettings.builder().When the
Consumercompletes,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:
dataProtectionSettings(DataProtectionSettings)
-
-