Interface SenderIdInformation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SenderIdInformation.Builder,,SenderIdInformation> SdkBuilder<SenderIdInformation.Builder,,SenderIdInformation> SdkPojo
- Enclosing class:
SenderIdInformation
-
Method Summary
Modifier and TypeMethodDescriptiondeletionProtectionEnabled(Boolean deletionProtectionEnabled) By default this is set to false.isoCountryCode(String isoCountryCode) The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.messageTypes(Collection<MessageType> messageTypes) The type of message.messageTypes(MessageType... messageTypes) The type of message.messageTypesWithStrings(String... messageTypes) The type of message.messageTypesWithStrings(Collection<String> messageTypes) The type of message.default SenderIdInformation.BuildermessagingLimits(Consumer<MessagingLimits.Builder> messagingLimits) The messaging limits that apply to the sender ID, including the per-capability send rates.messagingLimits(MessagingLimits messagingLimits) The messaging limits that apply to the sender ID, including the per-capability send rates.monthlyLeasingPrice(String monthlyLeasingPrice) The monthly leasing price, in US dollars.registered(Boolean registered) True if the sender ID is registered.registrationId(String registrationId) The unique identifier for the registration.The alphanumeric sender ID in a specific country that you'd like to describe.senderIdArn(String senderIdArn) The Amazon Resource Name (ARN) associated with the SenderId.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
senderIdArn
The Amazon Resource Name (ARN) associated with the SenderId.
- Parameters:
senderIdArn- The Amazon Resource Name (ARN) associated with the SenderId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
senderId
The alphanumeric sender ID in a specific country that you'd like to describe.
- Parameters:
senderId- The alphanumeric sender ID in a specific country that you'd like to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isoCountryCode
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
- Parameters:
isoCountryCode- The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageTypesWithStrings
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
- Parameters:
messageTypes- The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageTypesWithStrings
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
- Parameters:
messageTypes- The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageTypes
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
- Parameters:
messageTypes- The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageTypes
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
- Parameters:
messageTypes- The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monthlyLeasingPrice
The monthly leasing price, in US dollars.
- Parameters:
monthlyLeasingPrice- The monthly leasing price, in US dollars.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtectionEnabled
By default this is set to false. When set to true the sender ID can't be deleted.
- Parameters:
deletionProtectionEnabled- By default this is set to false. When set to true the sender ID can't be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registered
True if the sender ID is registered.
- Parameters:
registered- True if the sender ID is registered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
messagingLimits
The messaging limits that apply to the sender ID, including the per-capability send rates.
- Parameters:
messagingLimits- The messaging limits that apply to the sender ID, including the per-capability send rates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messagingLimits
default SenderIdInformation.Builder messagingLimits(Consumer<MessagingLimits.Builder> messagingLimits) The messaging limits that apply to the sender ID, including the per-capability send rates.
This is a convenience method that creates an instance of theMessagingLimits.Builderavoiding the need to create one manually viaMessagingLimits.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomessagingLimits(MessagingLimits).- Parameters:
messagingLimits- a consumer that will call methods onMessagingLimits.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-