Interface CreateMembershipRequest.Builder

  • Method Details

    • clientToken

      CreateMembershipRequest.Builder clientToken(String clientToken)

      The clientToken field is an idempotency key used to ensure that repeated attempts for a single action will be ignored by the server during retries. A caller supplied unique ID (typically a UUID) should be provided.

      Parameters:
      clientToken -

      The clientToken field is an idempotency key used to ensure that repeated attempts for a single action will be ignored by the server during retries. A caller supplied unique ID (typically a UUID) should be provided.

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

      CreateMembershipRequest.Builder membershipName(String membershipName)

      Required element used in combination with CreateMembership to create a name for the membership.

      Parameters:
      membershipName - Required element used in combination with CreateMembership to create a name for the membership.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • incidentResponseTeam

      CreateMembershipRequest.Builder incidentResponseTeam(Collection<IncidentResponder> incidentResponseTeam)

      Required element used in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.

      Parameters:
      incidentResponseTeam - Required element used in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • incidentResponseTeam

      CreateMembershipRequest.Builder incidentResponseTeam(IncidentResponder... incidentResponseTeam)

      Required element used in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.

      Parameters:
      incidentResponseTeam - Required element used in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • incidentResponseTeam

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

      Required element used in combination with CreateMembership to add customer incident response team members and trusted partners to the membership.

      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 to enable the monitoring and investigation opt-in features for the service.

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

      CreateMembershipRequest.Builder optInFeatures(OptInFeature... optInFeatures)

      Optional element to enable the monitoring and investigation opt-in features for the service.

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

      Optional element to enable the monitoring and investigation 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:
    • tags

      Optional element for customer configured tags.

      Parameters:
      tags - Optional element for customer configured tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • coverEntireOrganization

      CreateMembershipRequest.Builder coverEntireOrganization(Boolean coverEntireOrganization)

      The coverEntireOrganization parameter is a boolean flag that determines whether the membership should be applied to the entire Amazon Web Services Organization. When set to true, the membership will be created for all accounts within the organization. When set to false, the membership will only be created for specified accounts.

      This parameter is optional. If not specified, the default value is false.

      • If set to true: The membership will automatically include all existing and future accounts in the Amazon Web Services Organization.

      • If set to false: The membership will only apply to explicitly specified accounts.

      Parameters:
      coverEntireOrganization - The coverEntireOrganization parameter is a boolean flag that determines whether the membership should be applied to the entire Amazon Web Services Organization. When set to true, the membership will be created for all accounts within the organization. When set to false, the membership will only be created for specified accounts.

      This parameter is optional. If not specified, the default value is false.

      • If set to true: The membership will automatically include all existing and future accounts in the Amazon Web Services Organization.

      • If set to false: The membership will only apply to explicitly specified accounts.

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

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