Interface StandardsSubscription.Builder

All Superinterfaces:
Buildable, CopyableBuilder<StandardsSubscription.Builder,StandardsSubscription>, SdkBuilder<StandardsSubscription.Builder,StandardsSubscription>, SdkPojo
Enclosing class:
StandardsSubscription

public static interface StandardsSubscription.Builder extends SdkPojo, CopyableBuilder<StandardsSubscription.Builder,StandardsSubscription>
  • Method Details

    • standardsSubscriptionArn

      StandardsSubscription.Builder standardsSubscriptionArn(String standardsSubscriptionArn)

      The ARN of a resource that represents your subscription to a supported standard.

      Parameters:
      standardsSubscriptionArn - The ARN of a resource that represents your subscription to a supported standard.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • standardsArn

      StandardsSubscription.Builder standardsArn(String standardsArn)

      The ARN of a standard.

      Parameters:
      standardsArn - The ARN of a standard.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • standardsInput

      StandardsSubscription.Builder standardsInput(Map<String,String> standardsInput)

      A key-value pair of input for the standard.

      Parameters:
      standardsInput - A key-value pair of input for the standard.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • standardsStatus

      StandardsSubscription.Builder standardsStatus(String standardsStatus)

      The status of the standard subscription.

      The status values are as follows:

      • PENDING - Standard is in the process of being enabled.

      • READY - Standard is enabled.

      • INCOMPLETE - Standard could not be enabled completely. Some controls may not be available.

      • DELETING - Standard is in the process of being disabled.

      • FAILED - Standard could not be disabled.

      Parameters:
      standardsStatus - The status of the standard subscription.

      The status values are as follows:

      • PENDING - Standard is in the process of being enabled.

      • READY - Standard is enabled.

      • INCOMPLETE - Standard could not be enabled completely. Some controls may not be available.

      • DELETING - Standard is in the process of being disabled.

      • FAILED - Standard could not be disabled.

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

      StandardsSubscription.Builder standardsStatus(StandardsStatus standardsStatus)

      The status of the standard subscription.

      The status values are as follows:

      • PENDING - Standard is in the process of being enabled.

      • READY - Standard is enabled.

      • INCOMPLETE - Standard could not be enabled completely. Some controls may not be available.

      • DELETING - Standard is in the process of being disabled.

      • FAILED - Standard could not be disabled.

      Parameters:
      standardsStatus - The status of the standard subscription.

      The status values are as follows:

      • PENDING - Standard is in the process of being enabled.

      • READY - Standard is enabled.

      • INCOMPLETE - Standard could not be enabled completely. Some controls may not be available.

      • DELETING - Standard is in the process of being disabled.

      • FAILED - Standard could not be disabled.

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

      StandardsSubscription.Builder standardsStatusReason(StandardsStatusReason standardsStatusReason)

      The reason for the current status.

      Parameters:
      standardsStatusReason - The reason for the current status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • standardsStatusReason

      default StandardsSubscription.Builder standardsStatusReason(Consumer<StandardsStatusReason.Builder> standardsStatusReason)

      The reason for the current status.

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

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

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