Interface CreateRegistrationAttachmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateRegistrationAttachmentResponse.Builder,,CreateRegistrationAttachmentResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<CreateRegistrationAttachmentResponse.Builder,,CreateRegistrationAttachmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateRegistrationAttachmentResponse
-
Method Summary
Modifier and TypeMethodDescriptionattachmentStatus(String attachmentStatus) The status of the registration attachment.attachmentStatus(AttachmentStatus attachmentStatus) The status of the registration attachment.createdTimestamp(Instant createdTimestamp) The time when the registration attachment was created, in UNIX epoch time format.registrationAttachmentArn(String registrationAttachmentArn) The Amazon Resource Name (ARN) for the registration attachment.registrationAttachmentId(String registrationAttachmentId) The unique identifier for the registration attachment.tags(Collection<Tag> tags) An array of tags (key and value pairs) to associate with the registration attachment.tags(Consumer<Tag.Builder>... tags) An array of tags (key and value pairs) to associate with the registration attachment.An array of tags (key and value pairs) to associate with the registration attachment.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
-
registrationAttachmentArn
CreateRegistrationAttachmentResponse.Builder registrationAttachmentArn(String registrationAttachmentArn) The Amazon Resource Name (ARN) for the registration attachment.
- Parameters:
registrationAttachmentArn- The Amazon Resource Name (ARN) for the registration attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationAttachmentId
CreateRegistrationAttachmentResponse.Builder registrationAttachmentId(String registrationAttachmentId) The unique identifier for the registration attachment.
- Parameters:
registrationAttachmentId- The unique identifier for the registration attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentStatus
The status of the registration attachment.
-
UPLOAD_IN_PROGRESSThe attachment is being uploaded. -
UPLOAD_COMPLETEThe attachment has been uploaded. -
UPLOAD_FAILEDThe attachment failed to uploaded. -
DELETEDThe attachment has been deleted..
- Parameters:
attachmentStatus- The status of the registration attachment.-
UPLOAD_IN_PROGRESSThe attachment is being uploaded. -
UPLOAD_COMPLETEThe attachment has been uploaded. -
UPLOAD_FAILEDThe attachment failed to uploaded. -
DELETEDThe attachment has been deleted..
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
attachmentStatus
The status of the registration attachment.
-
UPLOAD_IN_PROGRESSThe attachment is being uploaded. -
UPLOAD_COMPLETEThe attachment has been uploaded. -
UPLOAD_FAILEDThe attachment failed to uploaded. -
DELETEDThe attachment has been deleted..
- Parameters:
attachmentStatus- The status of the registration attachment.-
UPLOAD_IN_PROGRESSThe attachment is being uploaded. -
UPLOAD_COMPLETEThe attachment has been uploaded. -
UPLOAD_FAILEDThe attachment failed to uploaded. -
DELETEDThe attachment has been deleted..
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
tags
An array of tags (key and value pairs) to associate with the registration attachment.
- Parameters:
tags- An array of tags (key and value pairs) to associate with the registration attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tags (key and value pairs) to associate with the registration attachment.
- Parameters:
tags- An array of tags (key and value pairs) to associate with the registration attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tags (key and value pairs) to associate with the registration attachment.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTimestamp
The time when the registration attachment was created, in UNIX epoch time format.
- Parameters:
createdTimestamp- The time when the registration attachment was created, in UNIX epoch time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-