Interface UpdateConfigurationPolicyResponse.Builder

    • Method Detail

      • arn

        UpdateConfigurationPolicyResponse.Builder arn​(String arn)

        The ARN of the configuration policy.

        Parameters:
        arn - The ARN of the configuration policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        UpdateConfigurationPolicyResponse.Builder id​(String id)

        The UUID of the configuration policy.

        Parameters:
        id - The UUID of the configuration policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        UpdateConfigurationPolicyResponse.Builder name​(String name)

        The name of the configuration policy.

        Parameters:
        name - The name of the configuration policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        UpdateConfigurationPolicyResponse.Builder description​(String description)

        The description of the configuration policy.

        Parameters:
        description - The description of the configuration policy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedAt

        UpdateConfigurationPolicyResponse.Builder updatedAt​(Instant updatedAt)

        The date and time, in UTC and ISO 8601 format, that the configuration policy was last updated.

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

        UpdateConfigurationPolicyResponse.Builder createdAt​(Instant createdAt)

        The date and time, in UTC and ISO 8601 format, that the configuration policy was created.

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

        UpdateConfigurationPolicyResponse.Builder configurationPolicy​(Policy configurationPolicy)

        An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If the request included a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If the request included a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).

        Parameters:
        configurationPolicy - An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If the request included a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If the request included a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configurationPolicy

        default UpdateConfigurationPolicyResponse.Builder configurationPolicy​(Consumer<Policy.Builder> configurationPolicy)

        An object that defines how Security Hub is configured. It includes whether Security Hub is enabled or disabled, a list of enabled security standards, a list of enabled or disabled security controls, and a list of custom parameter values for specified controls. If the request included a list of security controls that are enabled in the configuration policy, Security Hub disables all other controls (including newly released controls). If the request included a list of security controls that are disabled in the configuration policy, Security Hub enables all other controls (including newly released controls).

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

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

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