Interface ListDataProtectionSettingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDataProtectionSettingsResponse.Builder,,ListDataProtectionSettingsResponse> SdkBuilder<ListDataProtectionSettingsResponse.Builder,,ListDataProtectionSettingsResponse> SdkPojo,SdkResponse.Builder,WorkSpacesWebResponse.Builder
- Enclosing class:
ListDataProtectionSettingsResponse
@Mutable
@NotThreadSafe
public static interface ListDataProtectionSettingsResponse.Builder
extends WorkSpacesWebResponse.Builder, SdkPojo, CopyableBuilder<ListDataProtectionSettingsResponse.Builder,ListDataProtectionSettingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondataProtectionSettings(Collection<DataProtectionSettingsSummary> dataProtectionSettings) The data protection settings.dataProtectionSettings(Consumer<DataProtectionSettingsSummary.Builder>... dataProtectionSettings) The data protection settings.dataProtectionSettings(DataProtectionSettingsSummary... dataProtectionSettings) The data protection settings.The pagination token used to retrieve the next page of results for this operation.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
ListDataProtectionSettingsResponse.Builder dataProtectionSettings(Collection<DataProtectionSettingsSummary> 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
ListDataProtectionSettingsResponse.Builder dataProtectionSettings(DataProtectionSettingsSummary... 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
ListDataProtectionSettingsResponse.Builder dataProtectionSettings(Consumer<DataProtectionSettingsSummary.Builder>... dataProtectionSettings) The data protection settings.
This is a convenience method that creates an instance of theDataProtectionSettingsSummary.Builderavoiding the need to create one manually viaDataProtectionSettingsSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataProtectionSettings(List<DataProtectionSettingsSummary>).- Parameters:
dataProtectionSettings- a consumer that will call methods onDataProtectionSettingsSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token used to retrieve the next page of results for this operation.
- Parameters:
nextToken- The pagination token used to retrieve the next page of results for this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-