Class LogSubscriptionState.Builder

  • Enclosing class:
    LogSubscriptionState

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

      • directoryId

        public LogSubscriptionState.Builder directoryId​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> directoryId)
        Parameters:
        directoryId - ID of directory.
        Returns:
        builder
      • directoryId

        public LogSubscriptionState.Builder directoryId​(java.lang.String directoryId)
        Parameters:
        directoryId - ID of directory.
        Returns:
        builder
      • logGroupName

        public LogSubscriptionState.Builder logGroupName​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> logGroupName)
        Parameters:
        logGroupName - Name of the CloudWatch log group to which the logs should be published. The log group should be already created and the directory service principal should be provided with required permission to create stream and publish logs. Changing this value would delete the current subscription and create a new one. A directory can only have one log subscription at a time.
        Returns:
        builder
      • logGroupName

        public LogSubscriptionState.Builder logGroupName​(java.lang.String logGroupName)
        Parameters:
        logGroupName - Name of the CloudWatch log group to which the logs should be published. The log group should be already created and the directory service principal should be provided with required permission to create stream and publish logs. Changing this value would delete the current subscription and create a new one. A directory can only have one log subscription at a time.
        Returns:
        builder
      • region

        public LogSubscriptionState.Builder region​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public LogSubscriptionState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder