Interface DescribeConfigurationSetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeConfigurationSetsResponse.Builder,,DescribeConfigurationSetsResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<DescribeConfigurationSetsResponse.Builder,,DescribeConfigurationSetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeConfigurationSetsResponse
public static interface DescribeConfigurationSetsResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeConfigurationSetsResponse.Builder,DescribeConfigurationSetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationSets(Collection<ConfigurationSetInformation> configurationSets) An array of ConfigurationSets objects.configurationSets(Consumer<ConfigurationSetInformation.Builder>... configurationSets) An array of ConfigurationSets objects.configurationSets(ConfigurationSetInformation... configurationSets) An array of ConfigurationSets objects.The token to be used for the next set of paginated results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
configurationSets
DescribeConfigurationSetsResponse.Builder configurationSets(Collection<ConfigurationSetInformation> configurationSets) An array of ConfigurationSets objects.
- Parameters:
configurationSets- An array of ConfigurationSets objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationSets
DescribeConfigurationSetsResponse.Builder configurationSets(ConfigurationSetInformation... configurationSets) An array of ConfigurationSets objects.
- Parameters:
configurationSets- An array of ConfigurationSets objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationSets
DescribeConfigurationSetsResponse.Builder configurationSets(Consumer<ConfigurationSetInformation.Builder>... configurationSets) An array of ConfigurationSets objects.
This is a convenience method that creates an instance of theConfigurationSetInformation.Builderavoiding the need to create one manually viaConfigurationSetInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigurationSets(List<ConfigurationSetInformation>).- Parameters:
configurationSets- a consumer that will call methods onConfigurationSetInformation.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. If this field is empty then there are no more results.
- Parameters:
nextToken- The token to be used for the next set of paginated results. If this field is empty then there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-