Class GetPolicyDocumentPlainArgs.Builder

  • Enclosing class:
    GetPolicyDocumentPlainArgs

    public static final class GetPolicyDocumentPlainArgs.Builder
    extends java.lang.Object
    • Method Detail

      • 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
      • 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
      • 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