Class DataLimitState.Builder

  • Enclosing class:
    DataLimitState

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

      • Builder

        public Builder()
    • Method Detail

      • auditStatus

        public DataLimitState.Builder auditStatus​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Integer> auditStatus)
        Parameters:
        auditStatus - Whether to enable the log auditing feature. Valid values: `0`, `1`.
        Returns:
        builder
      • auditStatus

        public DataLimitState.Builder auditStatus​(java.lang.Integer auditStatus)
        Parameters:
        auditStatus - Whether to enable the log auditing feature. Valid values: `0`, `1`.
        Returns:
        builder
      • engineType

        public DataLimitState.Builder engineType​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> engineType)
        Parameters:
        engineType - The type of the database. Valid values: `MySQL`, `SQLServer`.
        Returns:
        builder
      • engineType

        public DataLimitState.Builder engineType​(java.lang.String engineType)
        Parameters:
        engineType - The type of the database. Valid values: `MySQL`, `SQLServer`.
        Returns:
        builder
      • lang

        public DataLimitState.Builder lang​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> lang)
        Parameters:
        lang - The lang.
        Returns:
        builder
      • lang

        public DataLimitState.Builder lang​(java.lang.String lang)
        Parameters:
        lang - The lang.
        Returns:
        builder
      • logStoreDay

        public DataLimitState.Builder logStoreDay​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Integer> logStoreDay)
        Parameters:
        logStoreDay - The retention period of raw logs after you enable the log auditing feature. Unit: day. Valid values: `180`, `30`, `365`, `90`. **NOTE:** The`log_store_day` is valid when the `audit_status` is `1`.
        Returns:
        builder
      • logStoreDay

        public DataLimitState.Builder logStoreDay​(java.lang.Integer logStoreDay)
        Parameters:
        logStoreDay - The retention period of raw logs after you enable the log auditing feature. Unit: day. Valid values: `180`, `30`, `365`, `90`. **NOTE:** The`log_store_day` is valid when the `audit_status` is `1`.
        Returns:
        builder
      • parentId

        public DataLimitState.Builder parentId​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> parentId)
        Parameters:
        parentId - The ID of the data asset.
        Returns:
        builder
      • parentId

        public DataLimitState.Builder parentId​(java.lang.String parentId)
        Parameters:
        parentId - The ID of the data asset.
        Returns:
        builder
      • password

        public DataLimitState.Builder password​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> password)
        Parameters:
        password - The password that is used to connect to the database.
        Returns:
        builder
      • password

        public DataLimitState.Builder password​(java.lang.String password)
        Parameters:
        password - The password that is used to connect to the database.
        Returns:
        builder
      • port

        public DataLimitState.Builder port​(@Nullable
                                           com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - The port that is used to connect to the database.
        Returns:
        builder
      • port

        public DataLimitState.Builder port​(java.lang.Integer port)
        Parameters:
        port - The port that is used to connect to the database.
        Returns:
        builder
      • resourceType

        public DataLimitState.Builder resourceType​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> resourceType)
        Parameters:
        resourceType - The type of the service to which the data asset belongs. Valid values: `MaxCompute`, `OSS`, `RDS`.
        Returns:
        builder
      • resourceType

        public DataLimitState.Builder resourceType​(java.lang.String resourceType)
        Parameters:
        resourceType - The type of the service to which the data asset belongs. Valid values: `MaxCompute`, `OSS`, `RDS`.
        Returns:
        builder
      • serviceRegionId

        public DataLimitState.Builder serviceRegionId​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> serviceRegionId)
        Parameters:
        serviceRegionId - The region ID of the data asset.
        Returns:
        builder
      • serviceRegionId

        public DataLimitState.Builder serviceRegionId​(java.lang.String serviceRegionId)
        Parameters:
        serviceRegionId - The region ID of the data asset.
        Returns:
        builder
      • userName

        public DataLimitState.Builder userName​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> userName)
        Parameters:
        userName - The name of the service to which the data asset belongs.
        Returns:
        builder
      • userName

        public DataLimitState.Builder userName​(java.lang.String userName)
        Parameters:
        userName - The name of the service to which the data asset belongs.
        Returns:
        builder