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 SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workspacesweb.model.WorkSpacesWebResponse.Builderbuild, responseMetadata, responseMetadata
- 
Method Details- 
dataProtectionSettingsGetDataProtectionSettingsResponse.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.
 
- 
dataProtectionSettingsdefault 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 on- DataProtectionSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-