Interface GetPolicyGenerationResponse.Builder

  • Method Details

    • policyEngineId

      GetPolicyGenerationResponse.Builder policyEngineId(String policyEngineId)

      The identifier of the policy engine associated with this policy generation. This confirms the policy engine context for the generation operation.

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

      GetPolicyGenerationResponse.Builder policyGenerationId(String policyGenerationId)

      The unique identifier of the policy generation request. This matches the generation ID provided in the request and serves as the tracking identifier.

      Parameters:
      policyGenerationId - The unique identifier of the policy generation request. This matches the generation ID provided in the request and serves as the tracking identifier.
      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. This helps identify and track generation operations across multiple requests.

      Parameters:
      name - The customer-assigned name for the policy generation request. This helps identify and track generation operations across multiple requests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyGenerationArn

      GetPolicyGenerationResponse.Builder policyGenerationArn(String policyGenerationArn)

      The Amazon Resource Name (ARN) of the policy generation. This globally unique identifier can be used for tracking, auditing, and cross-service references.

      Parameters:
      policyGenerationArn - The Amazon Resource Name (ARN) of the policy generation. This globally unique identifier can be used for tracking, auditing, and cross-service references.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resource

      The resource information associated with the policy generation. This provides context about the target resources for which the policies are being generated.

      Parameters:
      resource - The resource information associated with the policy generation. This provides context about the target resources for which the policies are being generated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resource

      The resource information associated with the policy generation. This provides context about the target resources for which the policies are being generated.

      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. This is used for tracking and auditing generation operations and their lifecycle.

      Parameters:
      createdAt - The timestamp when the policy generation request was created. This is used for tracking and auditing generation operations and their lifecycle.
      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. This tracks the progress of the generation process and any status changes.

      Parameters:
      updatedAt - The timestamp when the policy generation was last updated. This tracks the progress of the generation process and any status changes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the policy generation. This indicates whether the generation is in progress, completed successfully, or failed during processing.

      Parameters:
      status - The current status of the policy generation. This indicates whether the generation is in progress, completed successfully, or failed during processing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the policy generation. This indicates whether the generation is in progress, completed successfully, or failed during processing.

      Parameters:
      status - The current status of the policy generation. This indicates whether the generation is in progress, completed successfully, or failed during processing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReasons

      GetPolicyGenerationResponse.Builder statusReasons(Collection<String> statusReasons)

      Additional information about the generation status. This provides details about any failures, warnings, or the current state of the generation process.

      Parameters:
      statusReasons - Additional information about the generation status. This provides details about any failures, warnings, or the current state of the generation process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReasons

      GetPolicyGenerationResponse.Builder statusReasons(String... statusReasons)

      Additional information about the generation status. This provides details about any failures, warnings, or the current state of the generation process.

      Parameters:
      statusReasons - Additional information about the generation status. This provides details about any failures, warnings, or the current state of the generation process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findings

      The findings and results from the policy generation process. This includes any issues, recommendations, validation results, or insights from the generated policies.

      Parameters:
      findings - The findings and results from the policy generation process. This includes any issues, recommendations, validation results, or insights from the generated policies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.