Interface UpdateRcsAgentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRcsAgentRequest.Builder,,UpdateRcsAgentRequest> PinpointSmsVoiceV2Request.Builder,SdkBuilder<UpdateRcsAgentRequest.Builder,,UpdateRcsAgentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRcsAgentRequest
-
Method Summary
Modifier and TypeMethodDescriptiondeletionProtectionEnabled(Boolean deletionProtectionEnabled) By default this is set to false.optOutListName(String optOutListName) The OptOutList to associate with the RCS agent.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.rcsAgentId(String rcsAgentId) The unique identifier of the RCS agent to update.selfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled) By default this is set to false.twoWayChannelArn(String twoWayChannelArn) The Amazon Resource Name (ARN) of the two way channel.twoWayChannelRole(String twoWayChannelRole) An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.twoWayEnabled(Boolean twoWayEnabled) By default this is set to false.twoWayMediaS3BucketName(String twoWayMediaS3BucketName) The name of the S3 bucket where inbound RCS media files are stored.twoWayMediaS3KeyPrefix(String twoWayMediaS3KeyPrefix) The key prefix used for inbound RCS media objects in the S3 bucket.twoWayMediaS3Role(String twoWayMediaS3Role) The ARN of the IAM role used to write inbound RCS media files to the S3 bucket.twoWayRcsEventsEnabled(String... twoWayRcsEventsEnabled) The list of RCS event types to enable for two-way messaging.twoWayRcsEventsEnabled(Collection<String> twoWayRcsEventsEnabled) The list of RCS event types to enable for two-way messaging.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
rcsAgentId
The unique identifier of the RCS agent to update. You can use either the RcsAgentId or RcsAgentArn.
- Parameters:
rcsAgentId- The unique identifier of the RCS agent to update. You can use either the RcsAgentId or RcsAgentArn.- 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 RCS agent can't be deleted.
- Parameters:
deletionProtectionEnabled- By default this is set to false. When set to true the RCS agent can't be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optOutListName
The OptOutList to associate with the RCS agent. Valid values are either OptOutListName or OptOutListArn.
- Parameters:
optOutListName- The OptOutList to associate with the RCS agent. Valid values are either OptOutListName or OptOutListArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selfManagedOptOutsEnabled
By default this is set to false. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
- Parameters:
selfManagedOptOutsEnabled- By default this is set to false. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
twoWayChannelArn
The Amazon Resource Name (ARN) of the two way channel.
- Parameters:
twoWayChannelArn- The Amazon Resource Name (ARN) of the two way channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
twoWayChannelRole
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
- Parameters:
twoWayChannelRole- An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
twoWayEnabled
By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
- Parameters:
twoWayEnabled- By default this is set to false. When set to true you can receive incoming text messages from your end recipients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
twoWayMediaS3BucketName
The name of the S3 bucket where inbound RCS media files are stored. Two-way messaging must be enabled on the agent. To remove the media configuration, pass the sentinel value
UNSET_RCS_MEDIA_CONFIGURATIONfor both this field and TwoWayMediaS3Role.- Parameters:
twoWayMediaS3BucketName- The name of the S3 bucket where inbound RCS media files are stored. Two-way messaging must be enabled on the agent. To remove the media configuration, pass the sentinel valueUNSET_RCS_MEDIA_CONFIGURATIONfor both this field and TwoWayMediaS3Role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
twoWayMediaS3KeyPrefix
The key prefix used for inbound RCS media objects in the S3 bucket.
- Parameters:
twoWayMediaS3KeyPrefix- The key prefix used for inbound RCS media objects in the S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
twoWayMediaS3Role
The ARN of the IAM role used to write inbound RCS media files to the S3 bucket. The role must have
s3:PutObjectpermission on the bucket and a trust policy allowingsms-voice.amazonaws.com.rproxy.govskope.cato assume it. To remove the media configuration, pass the sentinel valueUNSET_RCS_MEDIA_CONFIGURATIONfor both this field and TwoWayMediaS3BucketName.- Parameters:
twoWayMediaS3Role- The ARN of the IAM role used to write inbound RCS media files to the S3 bucket. The role must haves3:PutObjectpermission on the bucket and a trust policy allowingsms-voice.amazonaws.com.rproxy.govskope.cato assume it. To remove the media configuration, pass the sentinel valueUNSET_RCS_MEDIA_CONFIGURATIONfor both this field and TwoWayMediaS3BucketName.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
twoWayRcsEventsEnabled
The list of RCS event types to enable for two-way messaging. Pass an empty list to disable all event types. The special value
ALLenables all current and future event types and must be the sole element if used.- Parameters:
twoWayRcsEventsEnabled- The list of RCS event types to enable for two-way messaging. Pass an empty list to disable all event types. The special valueALLenables all current and future event types and must be the sole element if used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
twoWayRcsEventsEnabled
The list of RCS event types to enable for two-way messaging. Pass an empty list to disable all event types. The special value
ALLenables all current and future event types and must be the sole element if used.- Parameters:
twoWayRcsEventsEnabled- The list of RCS event types to enable for two-way messaging. Pass an empty list to disable all event types. The special valueALLenables all current and future event types and must be the sole element if used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateRcsAgentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateRcsAgentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-