Interface StandardsSubscription.Builder

  • Method Details

    • standardsSubscriptionArn

      StandardsSubscription.Builder standardsSubscriptionArn(String standardsSubscriptionArn)

      The ARN of the resource that represents your subscription to the standard.

      Parameters:
      standardsSubscriptionArn - The ARN of the resource that represents your subscription to the 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 the standard.

      Parameters:
      standardsArn - The ARN of the 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 your subscription to the standard. Possible values are:

      • PENDING - The standard is in the process of being enabled. Or the standard is already enabled and Security Hub is adding new controls to the standard.

      • READY - The standard is enabled.

      • INCOMPLETE - The standard could not be enabled completely. One or more errors ( StandardsStatusReason) occurred when Security Hub attempted to enable the standard.

      • DELETING - The standard is in the process of being disabled.

      • FAILED - The standard could not be disabled. One or more errors ( StandardsStatusReason) occurred when Security Hub attempted to disable the standard.

      Parameters:
      standardsStatus - The status of your subscription to the standard. Possible values are:

      • PENDING - The standard is in the process of being enabled. Or the standard is already enabled and Security Hub is adding new controls to the standard.

      • READY - The standard is enabled.

      • INCOMPLETE - The standard could not be enabled completely. One or more errors ( StandardsStatusReason) occurred when Security Hub attempted to enable the standard.

      • DELETING - The standard is in the process of being disabled.

      • FAILED - The standard could not be disabled. One or more errors ( StandardsStatusReason) occurred when Security Hub attempted to disable the standard.

      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 your subscription to the standard. Possible values are:

      • PENDING - The standard is in the process of being enabled. Or the standard is already enabled and Security Hub is adding new controls to the standard.

      • READY - The standard is enabled.

      • INCOMPLETE - The standard could not be enabled completely. One or more errors ( StandardsStatusReason) occurred when Security Hub attempted to enable the standard.

      • DELETING - The standard is in the process of being disabled.

      • FAILED - The standard could not be disabled. One or more errors ( StandardsStatusReason) occurred when Security Hub attempted to disable the standard.

      Parameters:
      standardsStatus - The status of your subscription to the standard. Possible values are:

      • PENDING - The standard is in the process of being enabled. Or the standard is already enabled and Security Hub is adding new controls to the standard.

      • READY - The standard is enabled.

      • INCOMPLETE - The standard could not be enabled completely. One or more errors ( StandardsStatusReason) occurred when Security Hub attempted to enable the standard.

      • DELETING - The standard is in the process of being disabled.

      • FAILED - The standard could not be disabled. One or more errors ( StandardsStatusReason) occurred when Security Hub attempted to disable the standard.

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

      StandardsSubscription.Builder standardsControlsUpdatable(String standardsControlsUpdatable)

      Specifies whether you can retrieve information about and configure individual controls that apply to the standard. Possible values are:

      • READY_FOR_UPDATES - Controls in the standard can be retrieved and configured.

      • NOT_READY_FOR_UPDATES - Controls in the standard cannot be retrieved or configured.

      Parameters:
      standardsControlsUpdatable - Specifies whether you can retrieve information about and configure individual controls that apply to the standard. Possible values are:

      • READY_FOR_UPDATES - Controls in the standard can be retrieved and configured.

      • NOT_READY_FOR_UPDATES - Controls in the standard cannot be retrieved or configured.

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

      StandardsSubscription.Builder standardsControlsUpdatable(StandardsControlsUpdatable standardsControlsUpdatable)

      Specifies whether you can retrieve information about and configure individual controls that apply to the standard. Possible values are:

      • READY_FOR_UPDATES - Controls in the standard can be retrieved and configured.

      • NOT_READY_FOR_UPDATES - Controls in the standard cannot be retrieved or configured.

      Parameters:
      standardsControlsUpdatable - Specifies whether you can retrieve information about and configure individual controls that apply to the standard. Possible values are:

      • READY_FOR_UPDATES - Controls in the standard can be retrieved and configured.

      • NOT_READY_FOR_UPDATES - Controls in the standard cannot be retrieved or configured.

      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: