Interface SubscriptionSummary.Builder

  • Method Details

    • arn

      The Amazon Resource Name (ARN) that uniquely identifies this subscription.

      Parameters:
      arn - The Amazon Resource Name (ARN) that uniquely identifies this subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • planFamily

      SubscriptionSummary.Builder planFamily(String planFamily)

      The pricing plan family for the subscription, such as CloudFront.

      Parameters:
      planFamily - The pricing plan family for the subscription, such as CloudFront.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • planTier

      SubscriptionSummary.Builder planTier(String planTier)

      The current tier level of the pricing plan.

      Parameters:
      planTier - The current tier level of the pricing plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • usageLevel

      SubscriptionSummary.Builder usageLevel(String usageLevel)

      The usage level within the plan tier.

      Parameters:
      usageLevel - The usage level within the plan tier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduledChange

      SubscriptionSummary.Builder scheduledChange(ScheduledChange scheduledChange)

      A pending change that will take effect at the end of the current billing period, if any.

      Parameters:
      scheduledChange - A pending change that will take effect at the end of the current billing period, if any.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheduledChange

      default SubscriptionSummary.Builder scheduledChange(Consumer<ScheduledChange.Builder> scheduledChange)

      A pending change that will take effect at the end of the current billing period, if any.

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

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

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

      The current status of the subscription.

      Parameters:
      status - The current status of the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the subscription.

      Parameters:
      status - The current status of the subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      SubscriptionSummary.Builder statusReason(String statusReason)

      A human-readable explanation of the current status, present when additional context is available.

      Parameters:
      statusReason - A human-readable explanation of the current status, present when additional context is available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArns

      SubscriptionSummary.Builder resourceArns(Collection<String> resourceArns)

      The ARNs of the AWS resources covered by this subscription.

      Parameters:
      resourceArns - The ARNs of the AWS resources covered by this subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArns

      SubscriptionSummary.Builder resourceArns(String... resourceArns)

      The ARNs of the AWS resources covered by this subscription.

      Parameters:
      resourceArns - The ARNs of the AWS resources covered by this subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      SubscriptionSummary.Builder createdAt(Instant createdAt)

      The date and time when the subscription was created, in ISO 8601 format.

      Parameters:
      createdAt - The date and time when the subscription was created, in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      SubscriptionSummary.Builder updatedAt(Instant updatedAt)

      The date and time when the subscription was last modified, in ISO 8601 format.

      Parameters:
      updatedAt - The date and time when the subscription was last modified, in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eTag

      The entity tag for concurrency control. Pass this value in the If-Match header when making changes to this subscription.

      Parameters:
      eTag - The entity tag for concurrency control. Pass this value in the If-Match header when making changes to this subscription.
      Returns:
      Returns a reference to this object so that method calls can be chained together.