Interface CreateNotifyConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateNotifyConfigurationResponse.Builder,,CreateNotifyConfigurationResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<CreateNotifyConfigurationResponse.Builder,,CreateNotifyConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateNotifyConfigurationResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTimestamp(Instant createdTimestamp) The time when the notify configuration was created, in UNIX epoch time format.defaultTemplateId(String defaultTemplateId) The default template identifier associated with the notify configuration.deletionProtectionEnabled(Boolean deletionProtectionEnabled) When set to true deletion protection is enabled.displayName(String displayName) The display name associated with the notify configuration.enabledChannels(Collection<NumberCapability> enabledChannels) An array of channels enabled for the notify configuration.enabledChannels(NumberCapability... enabledChannels) An array of channels enabled for the notify configuration.enabledChannelsWithStrings(String... enabledChannels) An array of channels enabled for the notify configuration.enabledChannelsWithStrings(Collection<String> enabledChannels) An array of channels enabled for the notify configuration.enabledCountries(String... enabledCountries) An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.enabledCountries(Collection<String> enabledCountries) An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.notifyConfigurationArn(String notifyConfigurationArn) The Amazon Resource Name (ARN) for the notify configuration.notifyConfigurationId(String notifyConfigurationId) The unique identifier for the notify configuration.The identifier of the pool associated with the notify configuration.rejectionReason(String rejectionReason) The reason the notify configuration was rejected, if applicable.The current status of the notify configuration.status(NotifyConfigurationStatus status) The current status of the notify configuration.tags(Collection<Tag> tags) An array of tags (key and value pairs) associated with the notify configuration.tags(Consumer<Tag.Builder>... tags) An array of tags (key and value pairs) associated with the notify configuration.An array of tags (key and value pairs) associated with the notify configuration.The tier of the notify configuration.tier(NotifyConfigurationTier tier) The tier of the notify configuration.tierUpgradeStatus(String tierUpgradeStatus) The tier upgrade status of the notify configuration.tierUpgradeStatus(TierUpgradeStatus tierUpgradeStatus) The tier upgrade status of the notify configuration.The use case for the notify configuration.useCase(NotifyConfigurationUseCase useCase) The use case for the notify configuration.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
notifyConfigurationArn
The Amazon Resource Name (ARN) for the notify configuration.
- Parameters:
notifyConfigurationArn- The Amazon Resource Name (ARN) for the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifyConfigurationId
The unique identifier for the notify configuration.
- Parameters:
notifyConfigurationId- The unique identifier for the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The display name associated with the notify configuration.
- Parameters:
displayName- The display name associated with the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
useCase
The use case for the notify configuration.
- Parameters:
useCase- The use case for the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
useCase
The use case for the notify configuration.
- Parameters:
useCase- The use case for the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
defaultTemplateId
The default template identifier associated with the notify configuration.
- Parameters:
defaultTemplateId- The default template identifier associated with the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolId
The identifier of the pool associated with the notify configuration.
- Parameters:
poolId- The identifier of the pool associated with the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledCountries
An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.
- Parameters:
enabledCountries- An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledCountries
An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.
- Parameters:
enabledCountries- An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, that are enabled for the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledChannelsWithStrings
CreateNotifyConfigurationResponse.Builder enabledChannelsWithStrings(Collection<String> enabledChannels) An array of channels enabled for the notify configuration. Supported values include
SMSandVOICE.- Parameters:
enabledChannels- An array of channels enabled for the notify configuration. Supported values includeSMSandVOICE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledChannelsWithStrings
An array of channels enabled for the notify configuration. Supported values include
SMSandVOICE.- Parameters:
enabledChannels- An array of channels enabled for the notify configuration. Supported values includeSMSandVOICE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledChannels
CreateNotifyConfigurationResponse.Builder enabledChannels(Collection<NumberCapability> enabledChannels) An array of channels enabled for the notify configuration. Supported values include
SMSandVOICE.- Parameters:
enabledChannels- An array of channels enabled for the notify configuration. Supported values includeSMSandVOICE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledChannels
An array of channels enabled for the notify configuration. Supported values include
SMSandVOICE.- Parameters:
enabledChannels- An array of channels enabled for the notify configuration. Supported values includeSMSandVOICE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tier
The tier of the notify configuration.
- Parameters:
tier- The tier of the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tier
The tier of the notify configuration.
- Parameters:
tier- The tier of the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tierUpgradeStatus
The tier upgrade status of the notify configuration.
- Parameters:
tierUpgradeStatus- The tier upgrade status of the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tierUpgradeStatus
The tier upgrade status of the notify configuration.
- Parameters:
tierUpgradeStatus- The tier upgrade status of the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the notify configuration.
- Parameters:
status- The current status of the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the notify configuration.
- Parameters:
status- The current status of the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rejectionReason
The reason the notify configuration was rejected, if applicable.
- Parameters:
rejectionReason- The reason the notify configuration was rejected, if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtectionEnabled
CreateNotifyConfigurationResponse.Builder deletionProtectionEnabled(Boolean deletionProtectionEnabled) When set to true deletion protection is enabled. By default this is set to false.
- Parameters:
deletionProtectionEnabled- When set to true deletion protection is enabled. By default this is set to false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tags (key and value pairs) associated with the notify configuration.
- Parameters:
tags- An array of tags (key and value pairs) associated with the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tags (key and value pairs) associated with the notify configuration.
- Parameters:
tags- An array of tags (key and value pairs) associated with the notify configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tags (key and value pairs) associated with the notify configuration.
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 notify configuration was created, in UNIX epoch time format.
- Parameters:
createdTimestamp- The time when the notify configuration was created, in UNIX epoch time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-