Interface GetPolicyGenerationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreControlResponse.Builder,Buildable,CopyableBuilder<GetPolicyGenerationResponse.Builder,,GetPolicyGenerationResponse> SdkBuilder<GetPolicyGenerationResponse.Builder,,GetPolicyGenerationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPolicyGenerationResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the policy generation request was created.The findings and results from the policy generation process.The customer-assigned name for the policy generation request.policyEngineId(String policyEngineId) The identifier of the policy engine associated with this policy generation.policyGenerationArn(String policyGenerationArn) The Amazon Resource Name (ARN) of the policy generation.policyGenerationId(String policyGenerationId) The unique identifier of the policy generation request.resource(Consumer<Resource.Builder> resource) The resource information associated with the policy generation.The resource information associated with the policy generation.The current status of the policy generation.status(PolicyGenerationStatus status) The current status of the policy generation.statusReasons(String... statusReasons) Additional information about the generation status.statusReasons(Collection<String> statusReasons) Additional information about the generation status.The timestamp when the policy generation was last updated.Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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 theResource.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresource(Resource).- Parameters:
resource- a consumer that will call methods onResource.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
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
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.
-