Interface DescribeRegistrationFieldDefinitionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeRegistrationFieldDefinitionsResponse.Builder,
,DescribeRegistrationFieldDefinitionsResponse> PinpointSmsVoiceV2Response.Builder
,SdkBuilder<DescribeRegistrationFieldDefinitionsResponse.Builder,
,DescribeRegistrationFieldDefinitionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeRegistrationFieldDefinitionsResponse
public static interface DescribeRegistrationFieldDefinitionsResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<DescribeRegistrationFieldDefinitionsResponse.Builder,DescribeRegistrationFieldDefinitionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to be used for the next set of paginated results.registrationFieldDefinitions
(Collection<RegistrationFieldDefinition> registrationFieldDefinitions) An array of RegistrationFieldDefinitions objects that contain the details for the requested fields.registrationFieldDefinitions
(Consumer<RegistrationFieldDefinition.Builder>... registrationFieldDefinitions) An array of RegistrationFieldDefinitions objects that contain the details for the requested fields.registrationFieldDefinitions
(RegistrationFieldDefinition... registrationFieldDefinitions) An array of RegistrationFieldDefinitions objects that contain the details for the requested fields.registrationType
(String registrationType) The type of registration form.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
-
registrationType
The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.
- Parameters:
registrationType
- The type of registration form. The list of RegistrationTypes can be found using the DescribeRegistrationTypeDefinitions action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationFieldDefinitions
DescribeRegistrationFieldDefinitionsResponse.Builder registrationFieldDefinitions(Collection<RegistrationFieldDefinition> registrationFieldDefinitions) An array of RegistrationFieldDefinitions objects that contain the details for the requested fields.
- Parameters:
registrationFieldDefinitions
- An array of RegistrationFieldDefinitions objects that contain the details for the requested fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationFieldDefinitions
DescribeRegistrationFieldDefinitionsResponse.Builder registrationFieldDefinitions(RegistrationFieldDefinition... registrationFieldDefinitions) An array of RegistrationFieldDefinitions objects that contain the details for the requested fields.
- Parameters:
registrationFieldDefinitions
- An array of RegistrationFieldDefinitions objects that contain the details for the requested fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationFieldDefinitions
DescribeRegistrationFieldDefinitionsResponse.Builder registrationFieldDefinitions(Consumer<RegistrationFieldDefinition.Builder>... registrationFieldDefinitions) An array of RegistrationFieldDefinitions objects that contain the details for the requested fields.
This is a convenience method that creates an instance of theRegistrationFieldDefinition.Builder
avoiding the need to create one manually viaRegistrationFieldDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toregistrationFieldDefinitions(List<RegistrationFieldDefinition>)
.- Parameters:
registrationFieldDefinitions
- a consumer that will call methods onRegistrationFieldDefinition.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.
-