public static final class ReportInstancesStatusRequest.Builder extends Object
public ReportInstancesStatusRequest.Builder sourceRegionId(String sourceRegionId)
public ReportInstancesStatusRequest.Builder description(String description)
public ReportInstancesStatusRequest.Builder device(List<String> device)
If you are using an ECS bare metal instance, enter the slot numbers of disks on the instance. > For ECS bare metal instances, this parameter is required when the value of the `Reason` parameter is `abnormal-local-disk` or `abnormal-cloud-disk` or when the value of the `IssueCategory` parameter is `hardware-disk-error`.
public ReportInstancesStatusRequest.Builder diskId(List<String> diskId)
> This parameter is required when the value of the `Reason` parameter is `abnormal-local-disk` or `abnormal-cloud-disk` or when the value of the `IssueCategory` parameter is `hardware-disk-error`.
public ReportInstancesStatusRequest.Builder endTime(String endTime)
public ReportInstancesStatusRequest.Builder instanceId(List<String> instanceId)
public ReportInstancesStatusRequest.Builder issueCategory(String issueCategory)
* hardware-cpu-error: CPU failure * hardware-motherboard-error: motherboard failure * hardware-mem-error: memory failure * hardware-power-error: power failure * hardware-disk-error: disk failure * hardware-networkcard-error: network interface controller (NIC) failure * hardware-raidcard-error: SAS/RAID card failure * hardware-fan-error: fan failure * others: other failures
public ReportInstancesStatusRequest.Builder ownerAccount(String ownerAccount)
public ReportInstancesStatusRequest.Builder ownerId(Long ownerId)
public ReportInstancesStatusRequest.Builder reason(String reason)
* instance-hang: The instance is unavailable or cannot be connected. * instance-stuck-in-status: The instance is stuck in a state such as Starting or Stopping. * abnormal-network: The instance has a network exception. * abnormal-local-disk: A local disk attached to the instance has an exception. * abnormal-cloud-disk: A disk or a Shared Block Storage device attached to the instance has an exception. * others: other exception types. If the impact is not of the preceding types, you can set `Reason` to others and specify the `Description` parameter.
public ReportInstancesStatusRequest.Builder regionId(String regionId)
public ReportInstancesStatusRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ReportInstancesStatusRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ReportInstancesStatusRequest.Builder startTime(String startTime)
public ReportInstancesStatusRequest build()
Copyright © 2024. All rights reserved.