Interface PolicyGeneration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyGeneration.Builder,,PolicyGeneration> SdkBuilder<PolicyGeneration.Builder,,PolicyGeneration> SdkPojo
- Enclosing class:
PolicyGeneration
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp when this policy generation request was created.Findings and insights from this policy generation process.The customer-assigned name for this policy generation request.policyEngineId(String policyEngineId) The identifier of the policy engine associated with this generation request.policyGenerationArn(String policyGenerationArn) The ARN of this policy generation request.policyGenerationId(String policyGenerationId) The unique identifier for this policy generation request.default PolicyGeneration.Builderresource(Consumer<Resource.Builder> resource) The resource information associated with this policy generation.The resource information associated with this policy generation.The current status of this policy generation request.status(PolicyGenerationStatus status) The current status of this 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 this policy generation was last updated.Methods 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, sdkFields
-
Method Details
-
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
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
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 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 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:
-
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
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.
-