Interface UpdateContactRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateContactRequest.Builder,UpdateContactRequest>,SdkBuilder<UpdateContactRequest.Builder,UpdateContactRequest>,SdkPojo,SdkRequest.Builder,SsmContactsRequest.Builder
- Enclosing class:
- UpdateContactRequest
public static interface UpdateContactRequest.Builder extends SsmContactsRequest.Builder, SdkPojo, CopyableBuilder<UpdateContactRequest.Builder,UpdateContactRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateContactRequest.BuildercontactId(String contactId)The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.UpdateContactRequest.BuilderdisplayName(String displayName)The full name of the contact or escalation plan.UpdateContactRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateContactRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateContactRequest.Builderplan(Consumer<Plan.Builder> plan)A list of stages.UpdateContactRequest.Builderplan(Plan plan)A list of stages.-
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
UpdateContactRequest.Builder contactId(String contactId)
The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.
- Parameters:
contactId- The Amazon Resource Name (ARN) of the contact or escalation plan you're updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
UpdateContactRequest.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.
-
plan
UpdateContactRequest.Builder plan(Plan plan)
A list of stages. A contact has an engagement plan with stages for specified contact channels. An escalation plan uses these stages to contact specified contacts.
- Parameters:
plan- A list of stages. A contact has an engagement plan with stages for specified contact channels. An escalation plan uses these stages to contact specified contacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
plan
default UpdateContactRequest.Builder plan(Consumer<Plan.Builder> plan)
A list of stages. A contact has an engagement plan with stages for specified contact channels. An escalation plan uses these stages to 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)
-
overrideConfiguration
UpdateContactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateContactRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-