Interface PolicyConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PolicyConfiguration.Builder,,PolicyConfiguration> SdkBuilder<PolicyConfiguration.Builder,,PolicyConfiguration> SdkPojo
- Enclosing class:
PolicyConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe type of impact analysis job.jobType(ImpactAnalysisJobType jobType) The type of impact analysis job.policyDocumentsList(String... policyDocumentsList) A list of SCP policy documents to test.policyDocumentsList(Collection<String> policyDocumentsList) A list of SCP policy documents to test.The identifier of the target resource for the policy analysis.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
-
jobType
The type of impact analysis job. Currently only
SCP(Service Control Policy) is supported.- Parameters:
jobType- The type of impact analysis job. Currently onlySCP(Service Control Policy) is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobType
The type of impact analysis job. Currently only
SCP(Service Control Policy) is supported.- Parameters:
jobType- The type of impact analysis job. Currently onlySCP(Service Control Policy) is supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetId
The identifier of the target resource for the policy analysis. This can be an Amazon Web Services account ID (12-digit number), an organization root ID (format:
r-[0-9a-z]{4,32}), or an organizational unit ID (format:ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}).- Parameters:
targetId- The identifier of the target resource for the policy analysis. This can be an Amazon Web Services account ID (12-digit number), an organization root ID (format:r-[0-9a-z]{4,32}), or an organizational unit ID (format:ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDocumentsList
A list of SCP policy documents to test. Each policy document is a JSON string with a maximum length of 5,120 characters. The analysis evaluates how these policies would affect access to resources.
- Parameters:
policyDocumentsList- A list of SCP policy documents to test. Each policy document is a JSON string with a maximum length of 5,120 characters. The analysis evaluates how these policies would affect access to resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyDocumentsList
A list of SCP policy documents to test. Each policy document is a JSON string with a maximum length of 5,120 characters. The analysis evaluates how these policies would affect access to resources.
- Parameters:
policyDocumentsList- A list of SCP policy documents to test. Each policy document is a JSON string with a maximum length of 5,120 characters. The analysis evaluates how these policies would affect access to resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-