StateConfigurationProps
Properties for defining a StateConfiguration.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-oos-stateconfiguration
Initializer
import com.aliyun.ros.cdk.oos.StateConfigurationProps;
StateConfigurationProps.builder()
    .scheduleExpression(java.lang.String)
    .scheduleExpression(IResolvable)
    .scheduleType(java.lang.String)
    .scheduleType(IResolvable)
    .targets(java.lang.String)
    .targets(IResolvable)
    .templateName(java.lang.String)
    .templateName(IResolvable)
//  .configureMode(java.lang.String)
//  .configureMode(IResolvable)
//  .description(java.lang.String)
//  .description(IResolvable)
//  .parameters(java.lang.String)
//  .parameters(IResolvable)
//  .resourceGroupId(java.lang.String)
//  .resourceGroupId(IResolvable)
//  .tags(java.util.Map<java.lang.String, java.lang.Object>)
//  .templateVersion(java.lang.String)
//  .templateVersion(IResolvable)
    .build();
Properties
| Name | Type | Description | 
|---|---|---|
| scheduleExpression | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property scheduleExpression: The schedule expression. | 
| scheduleType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property scheduleType: The schedule type. | 
| targets | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property targets: The resources to be queried. | 
| templateName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property templateName: The name of the template. | 
| configureMode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property configureMode: The configuration mode. | 
| description | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property description: The description of the desired-state configuration. | 
| parameters | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property parameters: The parameters. | 
| resourceGroupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property resourceGroupId: The resource group ID. | 
| tags | java.util.Map | Property tags: Tag value and the key mapping, the label of the key number can be up to 20. | 
| templateVersion | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property templateVersion: The version number of the template. | 
scheduleExpressionRequired 
public java.lang.Object getScheduleExpression();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property scheduleExpression: The schedule expression.
The interval between two schedules must be a minimum of 30 minutes.
scheduleTypeRequired 
public java.lang.Object getScheduleType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property scheduleType: The schedule type.
Set the value to rate.
targetsRequired 
public java.lang.Object getTargets();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property targets: The resources to be queried.
templateNameRequired 
public java.lang.Object getTemplateName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property templateName: The name of the template.
The name must be 1 to 200 characters in length and can contain letters, digits, hyphens (-), and underscores (_).
configureModeOptional 
public java.lang.Object getConfigureMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property configureMode: The configuration mode.
Valid values: ApplyOnce: The configuration is applied only once. After a configuration is updated, the new configuration is applied. ApplyAndMonitor: The configuration is applied only once. After the configuration is applied, the system only checks whether the configuration is migrated in the future. ApplyAndAutoCorrect: The configuration is always applied.
descriptionOptional 
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: The description of the desired-state configuration.
parametersOptional 
public java.lang.Object getParameters();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property parameters: The parameters.
resourceGroupIdOptional 
public java.lang.Object getResourceGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property resourceGroupId: The resource group ID.
tagsOptional 
public java.util.Map<java.lang.String, java.lang.Object> getTags();
- Type: java.util.Map
Property tags: Tag value and the key mapping, the label of the key number can be up to 20.
templateVersionOptional 
public java.lang.Object getTemplateVersion();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property templateVersion: The version number of the template.
If you do not specify this parameter, the latest version of the template is used.