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 Details

    • 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

      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

      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 the Plan.Builder avoiding the need to create one manually via Plan.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to plan(Plan).

      Parameters:
      plan - a consumer that will call methods on Plan.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      UpdateContactRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.