Class GetPolicyDocumentArgs.Builder

  • Enclosing class:
    GetPolicyDocumentArgs

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

      • overrideJson

        @Deprecated
        public GetPolicyDocumentArgs.Builder overrideJson​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> overrideJson)
        Deprecated.
        override_json is deprecated. This argument is retained only for backward compatibility with previous versions of this data source.
        Returns:
        builder
      • overrideJson

        @Deprecated
        public GetPolicyDocumentArgs.Builder overrideJson​(java.lang.String overrideJson)
        Deprecated.
        override_json is deprecated. This argument is retained only for backward compatibility with previous versions of this data source.
        Returns:
        builder
      • overridePolicyDocuments

        public GetPolicyDocumentArgs.Builder overridePolicyDocuments​(@Nullable
                                                                     com.pulumi.core.Output<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 `sourcePolicyDocuments`. Non-overriding statements will be added to the exported document.
        Returns:
        builder
      • overridePolicyDocuments

        public GetPolicyDocumentArgs.Builder overridePolicyDocuments​(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 `sourcePolicyDocuments`. Non-overriding statements will be added to the exported document.
        Returns:
        builder
      • overridePolicyDocuments

        public GetPolicyDocumentArgs.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 `sourcePolicyDocuments`. Non-overriding statements will be added to the exported document.
        Returns:
        builder
      • policyId

        public GetPolicyDocumentArgs.Builder policyId​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> policyId)
        Parameters:
        policyId - ID for the policy document.
        Returns:
        builder
      • policyId

        public GetPolicyDocumentArgs.Builder policyId​(java.lang.String policyId)
        Parameters:
        policyId - ID for the policy document.
        Returns:
        builder
      • sourceJson

        @Deprecated
        public GetPolicyDocumentArgs.Builder sourceJson​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> sourceJson)
        Deprecated.
        source_json is deprecated. This argument is retained only for backward compatibility with previous versions of this data source.
        Returns:
        builder
      • sourceJson

        @Deprecated
        public GetPolicyDocumentArgs.Builder sourceJson​(java.lang.String sourceJson)
        Deprecated.
        source_json is deprecated. This argument is retained only for backward compatibility with previous versions of this data source.
        Returns:
        builder
      • sourcePolicyDocuments

        public GetPolicyDocumentArgs.Builder sourcePolicyDocuments​(@Nullable
                                                                   com.pulumi.core.Output<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 `sourcePolicyDocuments` must have unique `sid`s. Statements with the same `sid` from `overridePolicyDocuments` will override source statements.
        Returns:
        builder
      • sourcePolicyDocuments

        public GetPolicyDocumentArgs.Builder sourcePolicyDocuments​(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 `sourcePolicyDocuments` must have unique `sid`s. Statements with the same `sid` from `overridePolicyDocuments` will override source statements.
        Returns:
        builder
      • sourcePolicyDocuments

        public GetPolicyDocumentArgs.Builder sourcePolicyDocuments​(java.lang.String... sourcePolicyDocuments)
        Parameters:
        sourcePolicyDocuments - List of IAM policy documents that are merged together into the exported document. Statements defined in `sourcePolicyDocuments` must have unique `sid`s. Statements with the same `sid` from `overridePolicyDocuments` will override source statements.
        Returns:
        builder
      • version

        public GetPolicyDocumentArgs.Builder version​(@Nullable
                                                     com.pulumi.core.Output<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
      • version

        public GetPolicyDocumentArgs.Builder version​(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