Interface CreateContactRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateContactRequest.Builder,CreateContactRequest>,SdkBuilder<CreateContactRequest.Builder,CreateContactRequest>,SdkPojo,SdkRequest.Builder,SsmContactsRequest.Builder
- Enclosing class:
- CreateContactRequest
public static interface CreateContactRequest.Builder extends SsmContactsRequest.Builder, SdkPojo, CopyableBuilder<CreateContactRequest.Builder,CreateContactRequest>
-
-
Method Summary
-
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
-
alias
CreateContactRequest.Builder alias(String 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
CreateContactRequest.Builder displayName(String 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
CreateContactRequest.Builder type(String 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:
ContactType,ContactType
-
type
CreateContactRequest.Builder type(ContactType 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:
ContactType,ContactType
-
plan
CreateContactRequest.Builder plan(Plan 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
default CreateContactRequest.Builder plan(Consumer<Plan.Builder> 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.Builderavoiding the need to create one manually viaPlan.builder().When the
Consumercompletes,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:
plan(Plan)
-
tags
CreateContactRequest.Builder tags(Collection<Tag> 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
CreateContactRequest.Builder tags(Tag... 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
CreateContactRequest.Builder tags(Consumer<Tag.Builder>... 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
idempotencyToken
CreateContactRequest.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
CreateContactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateContactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-