Interface UpdateMembershipRequest.Builder

  • Method Details

    • membershipId

      UpdateMembershipRequest.Builder membershipId(String membershipId)

      Required element for UpdateMembership to identify the membership to update.

      Parameters:
      membershipId - Required element for UpdateMembership to identify the membership to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • membershipName

      UpdateMembershipRequest.Builder membershipName(String membershipName)

      Optional element for UpdateMembership to update the membership name.

      Parameters:
      membershipName - Optional element for UpdateMembership to update the membership name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • incidentResponseTeam

      UpdateMembershipRequest.Builder incidentResponseTeam(Collection<IncidentResponder> incidentResponseTeam)

      Optional element for UpdateMembership to update the membership name.

      Parameters:
      incidentResponseTeam - Optional element for UpdateMembership to update the membership name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • incidentResponseTeam

      UpdateMembershipRequest.Builder incidentResponseTeam(IncidentResponder... incidentResponseTeam)

      Optional element for UpdateMembership to update the membership name.

      Parameters:
      incidentResponseTeam - Optional element for UpdateMembership to update the membership name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • incidentResponseTeam

      UpdateMembershipRequest.Builder incidentResponseTeam(Consumer<IncidentResponder.Builder>... incidentResponseTeam)

      Optional element for UpdateMembership to update the membership name.

      This is a convenience method that creates an instance of the IncidentResponder.Builder avoiding the need to create one manually via IncidentResponder.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to incidentResponseTeam(List<IncidentResponder>).

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

      Optional element for UpdateMembership to enable or disable opt-in features for the service.

      Parameters:
      optInFeatures - Optional element for UpdateMembership to enable or disable opt-in features for the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • optInFeatures

      UpdateMembershipRequest.Builder optInFeatures(OptInFeature... optInFeatures)

      Optional element for UpdateMembership to enable or disable opt-in features for the service.

      Parameters:
      optInFeatures - Optional element for UpdateMembership to enable or disable opt-in features for the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • optInFeatures

      Optional element for UpdateMembership to enable or disable opt-in features for the service.

      This is a convenience method that creates an instance of the OptInFeature.Builder avoiding the need to create one manually via OptInFeature.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to optInFeatures(List<OptInFeature>).

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

      UpdateMembershipRequest.Builder membershipAccountsConfigurationsUpdate(MembershipAccountsConfigurationsUpdate membershipAccountsConfigurationsUpdate)

      The membershipAccountsConfigurationsUpdate field in the UpdateMembershipRequest structure allows you to update the configuration settings for accounts within a membership.

      This field is optional and contains a structure of type MembershipAccountsConfigurationsUpdate that specifies the updated account configurations for the membership.

      Parameters:
      membershipAccountsConfigurationsUpdate - The membershipAccountsConfigurationsUpdate field in the UpdateMembershipRequest structure allows you to update the configuration settings for accounts within a membership.

      This field is optional and contains a structure of type MembershipAccountsConfigurationsUpdate that specifies the updated account configurations for the membership.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • membershipAccountsConfigurationsUpdate

      default UpdateMembershipRequest.Builder membershipAccountsConfigurationsUpdate(Consumer<MembershipAccountsConfigurationsUpdate.Builder> membershipAccountsConfigurationsUpdate)

      The membershipAccountsConfigurationsUpdate field in the UpdateMembershipRequest structure allows you to update the configuration settings for accounts within a membership.

      This field is optional and contains a structure of type MembershipAccountsConfigurationsUpdate that specifies the updated account configurations for the membership.

      This is a convenience method that creates an instance of the MembershipAccountsConfigurationsUpdate.Builder avoiding the need to create one manually via MembershipAccountsConfigurationsUpdate.builder().

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

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

      UpdateMembershipRequest.Builder undoMembershipCancellation(Boolean undoMembershipCancellation)

      The undoMembershipCancellation parameter is a boolean flag that indicates whether to reverse a previously requested membership cancellation. When set to true, this will revoke the cancellation request and maintain the membership status.

      This parameter is optional and can be used in scenarios where you need to restore a membership that was marked for cancellation but hasn't been fully terminated yet.

      • If set to true, the cancellation request will be revoked

      • If set to false the service will throw a ValidationException.

      Parameters:
      undoMembershipCancellation - The undoMembershipCancellation parameter is a boolean flag that indicates whether to reverse a previously requested membership cancellation. When set to true, this will revoke the cancellation request and maintain the membership status.

      This parameter is optional and can be used in scenarios where you need to restore a membership that was marked for cancellation but hasn't been fully terminated yet.

      • If set to true, the cancellation request will be revoked

      • If set to false the service will throw a ValidationException.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdateMembershipRequest.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.