Interface UpdateDataProtectionSettingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateDataProtectionSettingsResponse.Builder,,UpdateDataProtectionSettingsResponse> SdkBuilder<UpdateDataProtectionSettingsResponse.Builder,,UpdateDataProtectionSettingsResponse> SdkPojo,SdkResponse.Builder,WorkSpacesWebResponse.Builder
- Enclosing class:
UpdateDataProtectionSettingsResponse
@Mutable
@NotThreadSafe
public static interface UpdateDataProtectionSettingsResponse.Builder
extends WorkSpacesWebResponse.Builder, SdkPojo, CopyableBuilder<UpdateDataProtectionSettingsResponse.Builder,UpdateDataProtectionSettingsResponse>
-
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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspacesweb.model.WorkSpacesWebResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
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:
-