Interface PolicyGenerationSummary.Builder

  • Method Details

    • policyEngineId

      PolicyGenerationSummary.Builder policyEngineId(String policyEngineId)

      The identifier of the policy engine associated with this generation request.

      Parameters:
      policyEngineId - The identifier of the policy engine associated with this generation request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyGenerationId

      PolicyGenerationSummary.Builder policyGenerationId(String policyGenerationId)

      The unique identifier for this policy generation request.

      Parameters:
      policyGenerationId - The unique identifier for this policy generation request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The customer-assigned name for this policy generation request.

      Parameters:
      name - The customer-assigned name for this policy generation request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyGenerationArn

      PolicyGenerationSummary.Builder policyGenerationArn(String policyGenerationArn)

      The ARN of this policy generation request.

      Parameters:
      policyGenerationArn - The ARN of this policy generation request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resource

      The resource information associated with this policy generation.

      Parameters:
      resource - The resource information associated with this policy generation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resource

      The resource information associated with this policy generation.

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

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

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

      The timestamp when this policy generation request was created.

      Parameters:
      createdAt - The timestamp when this policy generation request was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      The timestamp when this policy generation was last updated.

      Parameters:
      updatedAt - The timestamp when this policy generation was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of this policy generation request.

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

      The current status of this policy generation request.

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

      Findings and insights from this policy generation process.

      Parameters:
      findings - Findings and insights from this policy generation process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.