Class BaselineStrategyState.Builder
- java.lang.Object
-
- com.pulumi.alicloud.threatdetection.inputs.BaselineStrategyState.Builder
-
- Enclosing class:
- BaselineStrategyState
public static final class BaselineStrategyState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(BaselineStrategyState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaselineStrategyState.Builder
baselineStrategyId(com.pulumi.core.Output<java.lang.String> baselineStrategyId)
BaselineStrategyState.Builder
baselineStrategyId(java.lang.String baselineStrategyId)
BaselineStrategyState.Builder
baselineStrategyName(com.pulumi.core.Output<java.lang.String> baselineStrategyName)
BaselineStrategyState.Builder
baselineStrategyName(java.lang.String baselineStrategyName)
BaselineStrategyState
build()
BaselineStrategyState.Builder
customType(com.pulumi.core.Output<java.lang.String> customType)
BaselineStrategyState.Builder
customType(java.lang.String customType)
BaselineStrategyState.Builder
cycleDays(com.pulumi.core.Output<java.lang.Integer> cycleDays)
BaselineStrategyState.Builder
cycleDays(java.lang.Integer cycleDays)
BaselineStrategyState.Builder
cycleStartTime(com.pulumi.core.Output<java.lang.Integer> cycleStartTime)
BaselineStrategyState.Builder
cycleStartTime(java.lang.Integer cycleStartTime)
BaselineStrategyState.Builder
endTime(com.pulumi.core.Output<java.lang.String> endTime)
BaselineStrategyState.Builder
endTime(java.lang.String endTime)
BaselineStrategyState.Builder
riskSubTypeName(com.pulumi.core.Output<java.lang.String> riskSubTypeName)
BaselineStrategyState.Builder
riskSubTypeName(java.lang.String riskSubTypeName)
BaselineStrategyState.Builder
startTime(com.pulumi.core.Output<java.lang.String> startTime)
BaselineStrategyState.Builder
startTime(java.lang.String startTime)
BaselineStrategyState.Builder
targetType(com.pulumi.core.Output<java.lang.String> targetType)
BaselineStrategyState.Builder
targetType(java.lang.String targetType)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(BaselineStrategyState defaults)
-
-
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
-
build
public BaselineStrategyState build()
-
-