Interface FreeTrialStatus.Builder

  • Method Details

    • featureType

      FreeTrialStatus.Builder featureType(String featureType)

      The feature that the free trial period applies to. Valid values:

      • SECURITY_HUB_V2 specifies Security Hub.

      • SECURITY_HUB_V2_MULTI_CLOUD_AZURE specifies Security Hub coverage for Microsoft Azure resources.

      Parameters:
      featureType - The feature that the free trial period applies to. Valid values:

      • SECURITY_HUB_V2 specifies Security Hub.

      • SECURITY_HUB_V2_MULTI_CLOUD_AZURE specifies Security Hub coverage for Microsoft Azure resources.

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

      FreeTrialStatus.Builder featureType(FreeTrialType featureType)

      The feature that the free trial period applies to. Valid values:

      • SECURITY_HUB_V2 specifies Security Hub.

      • SECURITY_HUB_V2_MULTI_CLOUD_AZURE specifies Security Hub coverage for Microsoft Azure resources.

      Parameters:
      featureType - The feature that the free trial period applies to. Valid values:

      • SECURITY_HUB_V2 specifies Security Hub.

      • SECURITY_HUB_V2_MULTI_CLOUD_AZURE specifies Security Hub coverage for Microsoft Azure resources.

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

      Whether the free trial period is currently active. Valid values:

      • ACTIVE specifies that the free trial period is ongoing.

      • INACTIVE specifies that the free trial period has ended, or that it never started.

      To determine whether a trial has expired, compare ExpiresAt to the current time.

      Parameters:
      status - Whether the free trial period is currently active. Valid values:

      • ACTIVE specifies that the free trial period is ongoing.

      • INACTIVE specifies that the free trial period has ended, or that it never started.

      To determine whether a trial has expired, compare ExpiresAt to the current time.

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

      Whether the free trial period is currently active. Valid values:

      • ACTIVE specifies that the free trial period is ongoing.

      • INACTIVE specifies that the free trial period has ended, or that it never started.

      To determine whether a trial has expired, compare ExpiresAt to the current time.

      Parameters:
      status - Whether the free trial period is currently active. Valid values:

      • ACTIVE specifies that the free trial period is ongoing.

      • INACTIVE specifies that the free trial period has ended, or that it never started.

      To determine whether a trial has expired, compare ExpiresAt to the current time.

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

      FreeTrialStatus.Builder startedAt(Instant startedAt)

      The date and time at which the free trial period began.

      Parameters:
      startedAt - The date and time at which the free trial period began.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiresAt

      FreeTrialStatus.Builder expiresAt(Instant expiresAt)

      The date and time at which the free trial period ends.

      Parameters:
      expiresAt - The date and time at which the free trial period ends.
      Returns:
      Returns a reference to this object so that method calls can be chained together.