Class LogResourcePolicyState.Builder

  • Enclosing class:
    LogResourcePolicyState

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

      • policyDocument

        public LogResourcePolicyState.Builder policyDocument​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> policyDocument)
        Parameters:
        policyDocument - Details of the resource policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. Maximum length of 5120 characters.
        Returns:
        builder
      • policyDocument

        public LogResourcePolicyState.Builder policyDocument​(java.lang.String policyDocument)
        Parameters:
        policyDocument - Details of the resource policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. Maximum length of 5120 characters.
        Returns:
        builder
      • policyName

        public LogResourcePolicyState.Builder policyName​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> policyName)
        Parameters:
        policyName - Name of the resource policy.
        Returns:
        builder
      • policyName

        public LogResourcePolicyState.Builder policyName​(java.lang.String policyName)
        Parameters:
        policyName - Name of the resource policy.
        Returns:
        builder