Interface CreateRcsAgentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateRcsAgentResponse.Builder,,CreateRcsAgentResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<CreateRcsAgentResponse.Builder,,CreateRcsAgentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateRcsAgentResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTimestamp(Instant createdTimestamp) The time when the RCS agent was created, in UNIX epoch time format.deletionProtectionEnabled(Boolean deletionProtectionEnabled) When set to true deletion protection is enabled.optOutListName(String optOutListName) The name of the OptOutList associated with the RCS agent.rcsAgentArn(String rcsAgentArn) The Amazon Resource Name (ARN) of the newly created RCS agent.rcsAgentId(String rcsAgentId) The unique identifier for the RCS agent.selfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled) By default this is set to false.The current status of the RCS agent.status(RcsAgentStatus status) The current status of the RCS agent.tags(Collection<Tag> tags) An array of tags (key and value pairs) associated with the RCS agent.tags(Consumer<Tag.Builder>... tags) An array of tags (key and value pairs) associated with the RCS agent.An array of tags (key and value pairs) associated with the RCS agent.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.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
-
rcsAgentArn
The Amazon Resource Name (ARN) of the newly created RCS agent.
- Parameters:
rcsAgentArn- The Amazon Resource Name (ARN) of the newly created RCS agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rcsAgentId
The unique identifier for the RCS agent.
- Parameters:
rcsAgentId- The unique identifier for the RCS agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the RCS agent.
- Parameters:
status- The current status of the RCS agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the RCS agent.
- Parameters:
status- The current status of the RCS agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
optOutListName
The name of the OptOutList associated with the RCS agent.
- Parameters:
optOutListName- The name of the OptOutList associated with the RCS agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimestamp
The time when the RCS agent was created, in UNIX epoch time format.
- Parameters:
createdTimestamp- The time when the RCS agent was created, in UNIX epoch time format.- 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.
-
tags
An array of tags (key and value pairs) associated with the RCS agent.
- Parameters:
tags- An array of tags (key and value pairs) associated with the RCS agent.- 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 RCS agent.
- Parameters:
tags- An array of tags (key and value pairs) associated with the RCS agent.- 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 RCS agent.
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:
-