Interface StartPolicyGenerationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BedrockAgentCoreControlResponse.Builder,Buildable,CopyableBuilder<StartPolicyGenerationResponse.Builder,,StartPolicyGenerationResponse> SdkBuilder<StartPolicyGenerationResponse.Builder,,StartPolicyGenerationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartPolicyGenerationResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when the policy generation request was created.Initial findings 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 the started policy generation.policyGenerationArn(String policyGenerationArn) The ARN of the created policy generation request.policyGenerationId(String policyGenerationId) The unique identifier assigned to the policy generation request for tracking progress.resource(Consumer<Resource.Builder> resource) The resource information associated with the policy generation request.The resource information associated with the policy generation request.The initial status of the policy generation request.status(PolicyGenerationStatus status) The initial status of the policy generation request.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 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
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
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 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.
- 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
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.
-