public static final class CreateSimulatedSystemEventsRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateSimulatedSystemEventsRequest |
build() |
CreateSimulatedSystemEventsRequest.Builder |
eventType(String eventType)
The type of the system event.
|
CreateSimulatedSystemEventsRequest.Builder |
instanceId(List<String> instanceId)
The IDs of the instances.
|
CreateSimulatedSystemEventsRequest.Builder |
notBefore(String notBefore)
The scheduled start time of the event.
|
CreateSimulatedSystemEventsRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
CreateSimulatedSystemEventsRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
CreateSimulatedSystemEventsRequest.Builder |
regionId(String regionId)
The region ID.
|
CreateSimulatedSystemEventsRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CreateSimulatedSystemEventsRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
CreateSimulatedSystemEventsRequest.Builder |
sourceRegionId(String sourceRegionId)
SourceRegionId.
|
public CreateSimulatedSystemEventsRequest.Builder sourceRegionId(String sourceRegionId)
public CreateSimulatedSystemEventsRequest.Builder eventType(String eventType)
* SystemMaintenance.Reboot: The instance is restarted due to system maintenance. * SystemFailure.Reboot: The instance is restarted due to a system error. * InstanceFailure.Reboot: The instance is restarted due to an instance error. * SystemMaintenance.Stop: The instance is stopped due to system maintenance. * SystemMaintenance.Redeploy: The instance is redeployed due to system maintenance. * SystemFailure.Redeploy: The instance is redeployed due to a system error. * SystemFailure.Stop: The instance is stopped due to a system error.
public CreateSimulatedSystemEventsRequest.Builder instanceId(List<String> instanceId)
public CreateSimulatedSystemEventsRequest.Builder notBefore(String notBefore)
> 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 of `NotBefore` is the time when the simulated events enter the `Executed` state.
public CreateSimulatedSystemEventsRequest.Builder ownerAccount(String ownerAccount)
public CreateSimulatedSystemEventsRequest.Builder ownerId(Long ownerId)
public CreateSimulatedSystemEventsRequest.Builder regionId(String regionId)
public CreateSimulatedSystemEventsRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateSimulatedSystemEventsRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateSimulatedSystemEventsRequest build()
Copyright © 2024. All rights reserved.