Interface StartPolicyGenerationResponse.Builder

  • Method Details

    • policyEngineId

      StartPolicyGenerationResponse.Builder policyEngineId(String policyEngineId)

      The identifier of the policy engine associated with the started policy generation.

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

      StartPolicyGenerationResponse.Builder policyGenerationId(String policyGenerationId)

      The unique identifier assigned to the policy generation request for tracking progress.

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

      The customer-assigned name for the policy generation request.

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

      StartPolicyGenerationResponse.Builder policyGenerationArn(String policyGenerationArn)

      The ARN of the created policy generation request.

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

      The resource information associated with the policy generation request.

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

      The resource information associated with the policy generation request.

      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 the policy generation request was created.

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

      The timestamp when the policy generation was last updated.

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

      The initial status of the policy generation request.

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

      The initial status of the policy generation request.

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

      Additional information about the generation status.

      Parameters:
      statusReasons - Additional information about the generation status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReasons

      StartPolicyGenerationResponse.Builder statusReasons(String... statusReasons)

      Additional information about the generation status.

      Parameters:
      statusReasons - Additional information about the generation status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findings

      Initial findings from the policy generation process.

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