Interface StartEngagementRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartEngagementRequest.Builder,StartEngagementRequest>,SdkBuilder<StartEngagementRequest.Builder,StartEngagementRequest>,SdkPojo,SdkRequest.Builder,SsmContactsRequest.Builder
- Enclosing class:
- StartEngagementRequest
public static interface StartEngagementRequest.Builder extends SsmContactsRequest.Builder, SdkPojo, CopyableBuilder<StartEngagementRequest.Builder,StartEngagementRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartEngagementRequest.BuildercontactId(String contactId)The Amazon Resource Name (ARN) of the contact being engaged.StartEngagementRequest.Buildercontent(String content)The secure content of the message that was sent to the contact.StartEngagementRequest.BuilderidempotencyToken(String idempotencyToken)A token ensuring that the operation is called only once with the specified details.StartEngagementRequest.BuilderincidentId(String incidentId)The ARN of the incident that the engagement is part of.StartEngagementRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartEngagementRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartEngagementRequest.BuilderpublicContent(String publicContent)The insecure content of the message that was sent to the contact.StartEngagementRequest.BuilderpublicSubject(String publicSubject)The insecure subject of the message that was sent to the contact.StartEngagementRequest.Buildersender(String sender)The user that started the engagement.StartEngagementRequest.Buildersubject(String subject)The secure subject of the message that was sent to the contact.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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.services.ssmcontacts.model.SsmContactsRequest.Builder
build
-
-
-
-
Method Detail
-
contactId
StartEngagementRequest.Builder contactId(String contactId)
The Amazon Resource Name (ARN) of the contact being engaged.
- Parameters:
contactId- The Amazon Resource Name (ARN) of the contact being engaged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sender
StartEngagementRequest.Builder sender(String sender)
The user that started the engagement.
- Parameters:
sender- The user that started the engagement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subject
StartEngagementRequest.Builder subject(String subject)
The secure subject of the message that was sent to the contact. Use this field for engagements to
VOICEorEMAIL.- Parameters:
subject- The secure subject of the message that was sent to the contact. Use this field for engagements toVOICEorEMAIL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
StartEngagementRequest.Builder content(String content)
The secure content of the message that was sent to the contact. Use this field for engagements to
VOICEorEMAIL.- Parameters:
content- The secure content of the message that was sent to the contact. Use this field for engagements toVOICEorEMAIL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicSubject
StartEngagementRequest.Builder publicSubject(String publicSubject)
The insecure subject of the message that was sent to the contact. Use this field for engagements to
SMS.- Parameters:
publicSubject- The insecure subject of the message that was sent to the contact. Use this field for engagements toSMS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicContent
StartEngagementRequest.Builder publicContent(String publicContent)
The insecure content of the message that was sent to the contact. Use this field for engagements to
SMS.- Parameters:
publicContent- The insecure content of the message that was sent to the contact. Use this field for engagements toSMS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentId
StartEngagementRequest.Builder incidentId(String incidentId)
The ARN of the incident that the engagement is part of.
- Parameters:
incidentId- The ARN of the incident that the engagement is part of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
idempotencyToken
StartEngagementRequest.Builder idempotencyToken(String idempotencyToken)
A token ensuring that the operation is called only once with the specified details.
- Parameters:
idempotencyToken- A token ensuring that the operation is called only once with the specified details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartEngagementRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartEngagementRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-