public static final class DescribeInstanceHistoryEventsRequest.Builder extends Object
public DescribeInstanceHistoryEventsRequest.Builder eventPublishTime(DescribeInstanceHistoryEventsRequest.EventPublishTime eventPublishTime)
public DescribeInstanceHistoryEventsRequest.Builder notBefore(DescribeInstanceHistoryEventsRequest.NotBefore notBefore)
public DescribeInstanceHistoryEventsRequest.Builder sourceRegionId(String sourceRegionId)
public DescribeInstanceHistoryEventsRequest.Builder eventCycleStatus(String eventCycleStatus)
* Scheduled * Avoided * Executing * Executed * Canceled * Failed * Inquiring
public DescribeInstanceHistoryEventsRequest.Builder eventId(List<String> eventId)
public DescribeInstanceHistoryEventsRequest.Builder eventType(String eventType)
* SystemMaintenance.Reboot: The instance is restarted due to system maintenance. * SystemMaintenance.Redeploy: The instance is redeployed due to system maintenance. * SystemFailure.Reboot: The instance is restarted due to a system error. * SystemFailure.Redeploy: The instance is redeployed due to a system error. * SystemFailure.Delete: The instance is released due to an instance creation failure. * InstanceFailure.Reboot: The instance is restarted due to an instance error. * InstanceExpiration.Stop: The subscription instance is stopped due to expiration. * InstanceExpiration.Delete: The subscription instance is released due to expiration. * AccountUnbalanced.Stop: The pay-as-you-go instance is stopped due to an overdue payment. * AccountUnbalanced.Delete: The pay-as-you-go instance is released due to an overdue payment. > For more information, see [Overview](~~66574~~). The values of this parameter are applicable only to instance system events, but not to disk system events.
public DescribeInstanceHistoryEventsRequest.Builder impactLevel(String impactLevel)
public DescribeInstanceHistoryEventsRequest.Builder instanceEventCycleStatus(List<String> instanceEventCycleStatus)
* Scheduled * Avoided * Executing * Executed * Canceled * Failed * Inquiring
public DescribeInstanceHistoryEventsRequest.Builder instanceEventType(List<String> instanceEventType)
* SystemMaintenance.Reboot: The instance is restarted due to system maintenance. * SystemMaintenance.Redeploy: The instance is redeployed due to system maintenance. * SystemFailure.Reboot: The instance is restarted due to a system error. * SystemFailure.Redeploy: The instance is redeployed due to a system error. * SystemFailure.Delete: The instance is released due to an instance creation failure. * InstanceFailure.Reboot: The instance is restarted due to an instance error. * InstanceExpiration.Stop: The subscription instance is stopped due to expiration. * InstanceExpiration.Delete: The subscription instance is released due to expiration. * AccountUnbalanced.Stop: The pay-as-you-go instance is stopped due to an overdue payment. * AccountUnbalanced.Delete: The pay-as-you-go instance is released due to an overdue payment. > For more information, see [Overview](~~66574~~). The values of this parameter are applicable only to instance system events, but not to disk system events.
public DescribeInstanceHistoryEventsRequest.Builder instanceId(String instanceId)
public DescribeInstanceHistoryEventsRequest.Builder ownerAccount(String ownerAccount)
public DescribeInstanceHistoryEventsRequest.Builder ownerId(Long ownerId)
public DescribeInstanceHistoryEventsRequest.Builder pageNumber(Integer pageNumber)
Default value: 1.
public DescribeInstanceHistoryEventsRequest.Builder pageSize(Integer pageSize)
Default value: 10.
public DescribeInstanceHistoryEventsRequest.Builder regionId(String regionId)
public DescribeInstanceHistoryEventsRequest.Builder resourceGroupId(String resourceGroupId)
public DescribeInstanceHistoryEventsRequest.Builder resourceId(List<String> resourceId)
* When `ResourceType` is set to instance, ResourceId.N specifies the ID of instance N. * When `ResourceType` is set to ddh, ResourceId.N specifies the ID of dedicated host N. * When `ResourceType` is set to managedhost, ResourceId.N specifies the ID of physical machine N from a smart hosting pool. If this parameter is not specified, the system events of all resources of the type specified by `ResourceType` in the region specified by `RegionId` are queried. > We recommend that you use `ResourceId.N` to specify one or more resource IDs. If you specify both `ResourceId.N` and `InstanceId`, `ResourceId.N` takes precedence by default.
public DescribeInstanceHistoryEventsRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public DescribeInstanceHistoryEventsRequest.Builder resourceOwnerId(Long resourceOwnerId)
public DescribeInstanceHistoryEventsRequest.Builder resourceType(String resourceType)
* instance: ECS instance * ddh: dedicated host * managehost: physical machine in a smart hosting pool Default value: instance.
public DescribeInstanceHistoryEventsRequest.Builder tag(List<DescribeInstanceHistoryEventsRequest.Tag> tag)
public DescribeInstanceHistoryEventsRequest build()
Copyright © 2024. All rights reserved.