Package com.pulumi.aws.iam.inputs
Class GetPolicyDocumentPlainArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.iam.inputs.GetPolicyDocumentPlainArgs.Builder
-
- Enclosing class:
- GetPolicyDocumentPlainArgs
public static final class GetPolicyDocumentPlainArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(GetPolicyDocumentPlainArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetPolicyDocumentPlainArgs defaults)
-
-
Method Detail
-
overrideJson
@Deprecated public GetPolicyDocumentPlainArgs.Builder overrideJson(@Nullable java.lang.String overrideJson)
Deprecated.Not used- Returns:
- builder
-
overridePolicyDocuments
public GetPolicyDocumentPlainArgs.Builder overridePolicyDocuments(@Nullable java.util.List<java.lang.String> overridePolicyDocuments)
- Parameters:
overridePolicyDocuments
- List of IAM policy documents that are merged together into the exported document. In merging, statements with non-blank `sid`s will override statements with the same `sid` from earlier documents in the list. Statements with non-blank `sid`s will also override statements with the same `sid` from `source_policy_documents`. Non-overriding statements will be added to the exported document.- Returns:
- builder
-
overridePolicyDocuments
public GetPolicyDocumentPlainArgs.Builder overridePolicyDocuments(java.lang.String... overridePolicyDocuments)
- Parameters:
overridePolicyDocuments
- List of IAM policy documents that are merged together into the exported document. In merging, statements with non-blank `sid`s will override statements with the same `sid` from earlier documents in the list. Statements with non-blank `sid`s will also override statements with the same `sid` from `source_policy_documents`. Non-overriding statements will be added to the exported document.- Returns:
- builder
-
policyId
public GetPolicyDocumentPlainArgs.Builder policyId(@Nullable java.lang.String policyId)
- Parameters:
policyId
- ID for the policy document.- Returns:
- builder
-
sourceJson
@Deprecated public GetPolicyDocumentPlainArgs.Builder sourceJson(@Nullable java.lang.String sourceJson)
Deprecated.Not used- Returns:
- builder
-
sourcePolicyDocuments
public GetPolicyDocumentPlainArgs.Builder sourcePolicyDocuments(@Nullable java.util.List<java.lang.String> sourcePolicyDocuments)
- Parameters:
sourcePolicyDocuments
- List of IAM policy documents that are merged together into the exported document. Statements defined in `source_policy_documents` must have unique `sid`s. Statements with the same `sid` from `override_policy_documents` will override source statements.- Returns:
- builder
-
sourcePolicyDocuments
public GetPolicyDocumentPlainArgs.Builder sourcePolicyDocuments(java.lang.String... sourcePolicyDocuments)
- Parameters:
sourcePolicyDocuments
- List of IAM policy documents that are merged together into the exported document. Statements defined in `source_policy_documents` must have unique `sid`s. Statements with the same `sid` from `override_policy_documents` will override source statements.- Returns:
- builder
-
statements
public GetPolicyDocumentPlainArgs.Builder statements(@Nullable java.util.List<GetPolicyDocumentStatement> statements)
- Parameters:
statements
- Configuration block for a policy statement. Detailed below.- Returns:
- builder
-
statements
public GetPolicyDocumentPlainArgs.Builder statements(GetPolicyDocumentStatement... statements)
- Parameters:
statements
- Configuration block for a policy statement. Detailed below.- Returns:
- builder
-
version
public GetPolicyDocumentPlainArgs.Builder version(@Nullable java.lang.String version)
- Parameters:
version
- IAM policy document version. Valid values are `2008-10-17` and `2012-10-17`. Defaults to `2012-10-17`. For more information, see the [AWS IAM User Guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_version.html).- Returns:
- builder
-
build
public GetPolicyDocumentPlainArgs build()
-
-