public class CreateSimulatedSystemEventsRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
eventType
The type of the system event.
|
List<String> |
instanceId
The IDs of the instances.
|
String |
notBefore
The scheduled start time of the event.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The region ID.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
CreateSimulatedSystemEventsRequest() |
限定符和类型 | 方法和说明 |
---|---|
static CreateSimulatedSystemEventsRequest |
build(Map<String,?> map) |
String |
getEventType() |
List<String> |
getInstanceId() |
String |
getNotBefore() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
CreateSimulatedSystemEventsRequest |
setEventType(String eventType) |
CreateSimulatedSystemEventsRequest |
setInstanceId(List<String> instanceId) |
CreateSimulatedSystemEventsRequest |
setNotBefore(String notBefore) |
CreateSimulatedSystemEventsRequest |
setOwnerAccount(String ownerAccount) |
CreateSimulatedSystemEventsRequest |
setOwnerId(Long ownerId) |
CreateSimulatedSystemEventsRequest |
setRegionId(String regionId) |
CreateSimulatedSystemEventsRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
CreateSimulatedSystemEventsRequest |
setResourceOwnerId(Long resourceOwnerId) |
@NameInMap(value="EventType") public String eventType
The type of the system event. Valid values:
This parameter is required.
example:SystemMaintenance.Reboot
@NameInMap(value="InstanceId") public List<String> instanceId
The IDs of the instances. You can specify up to 100 instance IDs.
This parameter is required.
example:i-bp1gtjxuuvwj17zr****
@NameInMap(value="NotBefore") public String notBefore
The scheduled start time of the event. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
For events that occur due to system errors or instance errors, the simulated events of such events enter the
Executing
state when the simulated events are created. The value ofNotBefore
is the time when the simulated events enter theExecuted
state.
This parameter is required.
example:2018-12-01T06:32:31Z
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static CreateSimulatedSystemEventsRequest build(Map<String,?> map) throws Exception
Exception
public CreateSimulatedSystemEventsRequest setEventType(String eventType)
public String getEventType()
public CreateSimulatedSystemEventsRequest setInstanceId(List<String> instanceId)
public CreateSimulatedSystemEventsRequest setNotBefore(String notBefore)
public String getNotBefore()
public CreateSimulatedSystemEventsRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public CreateSimulatedSystemEventsRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public CreateSimulatedSystemEventsRequest setRegionId(String regionId)
public String getRegionId()
public CreateSimulatedSystemEventsRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public CreateSimulatedSystemEventsRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.