Interface CreateRegistrationAttachmentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateRegistrationAttachmentResponse.Builder,CreateRegistrationAttachmentResponse>,PinpointSmsVoiceV2Response.Builder,SdkBuilder<CreateRegistrationAttachmentResponse.Builder,CreateRegistrationAttachmentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateRegistrationAttachmentResponse
public static interface CreateRegistrationAttachmentResponse.Builder extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<CreateRegistrationAttachmentResponse.Builder,CreateRegistrationAttachmentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateRegistrationAttachmentResponse.BuilderattachmentStatus(String attachmentStatus)The status of the registration attachment.CreateRegistrationAttachmentResponse.BuilderattachmentStatus(AttachmentStatus attachmentStatus)The status of the registration attachment.CreateRegistrationAttachmentResponse.BuildercreatedTimestamp(Instant createdTimestamp)The time when the registration attachment was created, in UNIX epoch time format.CreateRegistrationAttachmentResponse.BuilderregistrationAttachmentArn(String registrationAttachmentArn)The Amazon Resource Name (ARN) for the registration attachment.CreateRegistrationAttachmentResponse.BuilderregistrationAttachmentId(String registrationAttachmentId)The unique identifier for the registration attachment.CreateRegistrationAttachmentResponse.Buildertags(Collection<Tag> tags)An array of tags (key and value pairs) to associate with the registration attachment.CreateRegistrationAttachmentResponse.Buildertags(Consumer<Tag.Builder>... tags)An array of tags (key and value pairs) to associate with the registration attachment.CreateRegistrationAttachmentResponse.Buildertags(Tag... tags)An array of tags (key and value pairs) to associate with the registration attachment.-
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
-
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
CreateRegistrationAttachmentResponse.Builder attachmentStatus(String 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,AttachmentStatus
-
-
attachmentStatus
CreateRegistrationAttachmentResponse.Builder attachmentStatus(AttachmentStatus 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,AttachmentStatus
-
-
tags
CreateRegistrationAttachmentResponse.Builder tags(Collection<Tag> 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
CreateRegistrationAttachmentResponse.Builder tags(Tag... 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
CreateRegistrationAttachmentResponse.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
createdTimestamp
CreateRegistrationAttachmentResponse.Builder createdTimestamp(Instant 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.
-
-