Interface CreateContactRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateContactRequest.Builder,
,CreateContactRequest> SdkBuilder<CreateContactRequest.Builder,
,CreateContactRequest> SdkPojo
,SdkRequest.Builder
,SsmContactsRequest.Builder
- Enclosing class:
CreateContactRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe short name to quickly identify a contact or escalation plan.displayName
(String displayName) The full name of the contact or escalation plan.idempotencyToken
(String idempotencyToken) A token ensuring that the operation is called only once with the specified details.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateContactRequest.Builder
plan
(Consumer<Plan.Builder> plan) A list of stages.A list of stages.tags
(Collection<Tag> tags) Adds a tag to the target.tags
(Consumer<Tag.Builder>... tags) Adds a tag to the target.Adds a tag to the target.To create an escalation plan useESCALATION
.type
(ContactType type) To create an escalation plan useESCALATION
.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.ssmcontacts.model.SsmContactsRequest.Builder
build
-
Method Details
-
alias
The short name to quickly identify a contact or escalation plan. The contact alias must be unique and identifiable.
- Parameters:
alias
- The short name to quickly identify a contact or escalation plan. The contact alias must be unique and identifiable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The full name of the contact or escalation plan.
- Parameters:
displayName
- The full name of the contact or escalation plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
To create an escalation plan use
ESCALATION
. To create a contact usePERSONAL
.- Parameters:
type
- To create an escalation plan useESCALATION
. To create a contact usePERSONAL
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
To create an escalation plan use
ESCALATION
. To create a contact usePERSONAL
.- Parameters:
type
- To create an escalation plan useESCALATION
. To create a contact usePERSONAL
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
plan
A list of stages. A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.
- Parameters:
plan
- A list of stages. A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plan
A list of stages. A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.
This is a convenience method that creates an instance of thePlan.Builder
avoiding the need to create one manually viaPlan.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplan(Plan)
.- Parameters:
plan
- a consumer that will call methods onPlan.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Adds a tag to the target. You can only tag resources created in the first Region of your replication set.
- Parameters:
tags
- Adds a tag to the target. You can only tag resources created in the first Region of your replication set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Adds a tag to the target. You can only tag resources created in the first Region of your replication set.
- Parameters:
tags
- Adds a tag to the target. You can only tag resources created in the first Region of your replication set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Adds a tag to the target. You can only tag resources created in the first Region of your replication set.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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:
-
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
CreateContactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateContactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-