Class LogServiceState.Builder

  • Enclosing class:
    LogServiceState

    public static final class LogServiceState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • directoryId

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

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

        public LogServiceState.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 LogServiceState.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