Interface DescribeRegistrationVersionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeRegistrationVersionsResponse.Builder,DescribeRegistrationVersionsResponse>,PinpointSmsVoiceV2Response.Builder,SdkBuilder<DescribeRegistrationVersionsResponse.Builder,DescribeRegistrationVersionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeRegistrationVersionsResponse
public static interface DescribeRegistrationVersionsResponse.Builder extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeRegistrationVersionsResponse.Builder,DescribeRegistrationVersionsResponse>
-
-
Method Summary
-
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 Detail
-
registrationArn
DescribeRegistrationVersionsResponse.Builder registrationArn(String registrationArn)
The Amazon Resource Name (ARN) for the registration.
- Parameters:
registrationArn- The Amazon Resource Name (ARN) for the registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationId
DescribeRegistrationVersionsResponse.Builder registrationId(String registrationId)
The unique identifier for the registration.
- Parameters:
registrationId- The unique identifier for the registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationVersions
DescribeRegistrationVersionsResponse.Builder registrationVersions(Collection<RegistrationVersionInformation> registrationVersions)
An array of RegistrationVersions objects.
- Parameters:
registrationVersions- An array of RegistrationVersions objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationVersions
DescribeRegistrationVersionsResponse.Builder registrationVersions(RegistrationVersionInformation... registrationVersions)
An array of RegistrationVersions objects.
- Parameters:
registrationVersions- An array of RegistrationVersions objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationVersions
DescribeRegistrationVersionsResponse.Builder registrationVersions(Consumer<RegistrationVersionInformation.Builder>... registrationVersions)
An array of RegistrationVersions objects.
This is a convenience method that creates an instance of theRegistrationVersionInformation.Builderavoiding the need to create one manually viaRegistrationVersionInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#registrationVersions(List.) - Parameters:
registrationVersions- a consumer that will call methods onRegistrationVersionInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#registrationVersions(java.util.Collection)
-
nextToken
DescribeRegistrationVersionsResponse.Builder nextToken(String 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.
-
-