Interface UpdateDataProtectionSettingsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateDataProtectionSettingsResponse.Builder,UpdateDataProtectionSettingsResponse>,SdkBuilder<UpdateDataProtectionSettingsResponse.Builder,UpdateDataProtectionSettingsResponse>,SdkPojo,SdkResponse.Builder,WorkSpacesWebResponse.Builder
- Enclosing class:
- UpdateDataProtectionSettingsResponse
public static interface UpdateDataProtectionSettingsResponse.Builder extends WorkSpacesWebResponse.Builder, SdkPojo, CopyableBuilder<UpdateDataProtectionSettingsResponse.Builder,UpdateDataProtectionSettingsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UpdateDataProtectionSettingsResponse.BuilderdataProtectionSettings(Consumer<DataProtectionSettings.Builder> dataProtectionSettings)The data protection settings.UpdateDataProtectionSettingsResponse.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
UpdateDataProtectionSettingsResponse.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 UpdateDataProtectionSettingsResponse.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)
-
-