Class BaselineStrategyState.Builder

  • Enclosing class:
    BaselineStrategyState

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

      • baselineStrategyId

        public BaselineStrategyState.Builder baselineStrategyId​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> baselineStrategyId)
        Parameters:
        baselineStrategyId - The ID of the baseline check policy.
        Returns:
        builder
      • baselineStrategyId

        public BaselineStrategyState.Builder baselineStrategyId​(java.lang.String baselineStrategyId)
        Parameters:
        baselineStrategyId - The ID of the baseline check policy.
        Returns:
        builder
      • baselineStrategyName

        public BaselineStrategyState.Builder baselineStrategyName​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> baselineStrategyName)
        Parameters:
        baselineStrategyName - Policy name.
        Returns:
        builder
      • baselineStrategyName

        public BaselineStrategyState.Builder baselineStrategyName​(java.lang.String baselineStrategyName)
        Parameters:
        baselineStrategyName - Policy name.
        Returns:
        builder
      • customType

        public BaselineStrategyState.Builder customType​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> customType)
        Parameters:
        customType - The type of policy. Value: * **common**: standard policy * **custom**: custom policy
        Returns:
        builder
      • customType

        public BaselineStrategyState.Builder customType​(java.lang.String customType)
        Parameters:
        customType - The type of policy. Value: * **common**: standard policy * **custom**: custom policy
        Returns:
        builder
      • cycleDays

        public BaselineStrategyState.Builder cycleDays​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Integer> cycleDays)
        Parameters:
        cycleDays - The detection period of the policy.
        Returns:
        builder
      • cycleDays

        public BaselineStrategyState.Builder cycleDays​(java.lang.Integer cycleDays)
        Parameters:
        cycleDays - The detection period of the policy.
        Returns:
        builder
      • cycleStartTime

        public BaselineStrategyState.Builder cycleStartTime​(@Nullable
                                                            com.pulumi.core.Output<java.lang.Integer> cycleStartTime)
        Parameters:
        cycleStartTime - The detection period of the policy. Value: * **0**: 0:00~06:00 * **6**: 6:00~12:00 * **12**: 12:00~18:00 * **18**: 18:00~24:00
        Returns:
        builder
      • cycleStartTime

        public BaselineStrategyState.Builder cycleStartTime​(java.lang.Integer cycleStartTime)
        Parameters:
        cycleStartTime - The detection period of the policy. Value: * **0**: 0:00~06:00 * **6**: 6:00~12:00 * **12**: 12:00~18:00 * **18**: 18:00~24:00
        Returns:
        builder
      • endTime

        public BaselineStrategyState.Builder endTime​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> endTime)
        Parameters:
        endTime - The baseline check policy execution end time.
        Returns:
        builder
      • endTime

        public BaselineStrategyState.Builder endTime​(java.lang.String endTime)
        Parameters:
        endTime - The baseline check policy execution end time.
        Returns:
        builder
      • riskSubTypeName

        public BaselineStrategyState.Builder riskSubTypeName​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> riskSubTypeName)
        Parameters:
        riskSubTypeName - Detection item subtype.
        Returns:
        builder
      • riskSubTypeName

        public BaselineStrategyState.Builder riskSubTypeName​(java.lang.String riskSubTypeName)
        Parameters:
        riskSubTypeName - Detection item subtype.
        Returns:
        builder
      • startTime

        public BaselineStrategyState.Builder startTime​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> startTime)
        Parameters:
        startTime - The baseline check policy start time.
        Returns:
        builder
      • startTime

        public BaselineStrategyState.Builder startTime​(java.lang.String startTime)
        Parameters:
        startTime - The baseline check policy start time.
        Returns:
        builder
      • targetType

        public BaselineStrategyState.Builder targetType​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> targetType)
        Parameters:
        targetType - The method of adding assets that take effect from the policy. Value: * **groupId**: Added by asset group. * **uuid**: Add by single asset.
        Returns:
        builder
      • targetType

        public BaselineStrategyState.Builder targetType​(java.lang.String targetType)
        Parameters:
        targetType - The method of adding assets that take effect from the policy. Value: * **groupId**: Added by asset group. * **uuid**: Add by single asset.
        Returns:
        builder