Interface DescribeProtectConfigurationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeProtectConfigurationsResponse.Builder,
,DescribeProtectConfigurationsResponse> PinpointSmsVoiceV2Response.Builder
,SdkBuilder<DescribeProtectConfigurationsResponse.Builder,
,DescribeProtectConfigurationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeProtectConfigurationsResponse
public static interface DescribeProtectConfigurationsResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeProtectConfigurationsResponse.Builder,DescribeProtectConfigurationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to be used for the next set of paginated results.protectConfigurations
(Collection<ProtectConfigurationInformation> protectConfigurations) An array of ProtectConfigurationInformation objects that contain the details for the request.protectConfigurations
(Consumer<ProtectConfigurationInformation.Builder>... protectConfigurations) An array of ProtectConfigurationInformation objects that contain the details for the request.protectConfigurations
(ProtectConfigurationInformation... protectConfigurations) An array of ProtectConfigurationInformation objects that contain the details for the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
protectConfigurations
DescribeProtectConfigurationsResponse.Builder protectConfigurations(Collection<ProtectConfigurationInformation> protectConfigurations) An array of ProtectConfigurationInformation objects that contain the details for the request.
- Parameters:
protectConfigurations
- An array of ProtectConfigurationInformation objects that contain the details for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectConfigurations
DescribeProtectConfigurationsResponse.Builder protectConfigurations(ProtectConfigurationInformation... protectConfigurations) An array of ProtectConfigurationInformation objects that contain the details for the request.
- Parameters:
protectConfigurations
- An array of ProtectConfigurationInformation objects that contain the details for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectConfigurations
DescribeProtectConfigurationsResponse.Builder protectConfigurations(Consumer<ProtectConfigurationInformation.Builder>... protectConfigurations) An array of ProtectConfigurationInformation objects that contain the details for the request.
This is a convenience method that creates an instance of theProtectConfigurationInformation.Builder
avoiding the need to create one manually viaProtectConfigurationInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprotectConfigurations(List<ProtectConfigurationInformation>)
.- Parameters:
protectConfigurations
- a consumer that will call methods onProtectConfigurationInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
- Parameters:
nextToken
- The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-