次の方法で共有


DataMigrationServiceStatusResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.datamigration.fluent.models.DataMigrationServiceStatusResponseInner

Implements

public final class DataMigrationServiceStatusResponseInner
implements JsonSerializable<DataMigrationServiceStatusResponseInner>

Service health status.

Constructor Summary

Constructor Description
DataMigrationServiceStatusResponseInner()

Creates an instance of DataMigrationServiceStatusResponseInner class.

Method Summary

Modifier and Type Method and Description
Object agentConfiguration()

Get the agentConfiguration property: Agent Configuration.

String agentVersion()

Get the agentVersion property: The DMS instance agent version.

static DataMigrationServiceStatusResponseInner fromJson(JsonReader jsonReader)

Reads an instance of DataMigrationServiceStatusResponseInner from the JsonReader.

String status()

Get the status property: The machine-readable status, such as 'Initializing', 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop' or 'Failed'.

List<String> supportedTaskTypes()

Get the supportedTaskTypes property: The list of supported task types.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String vmSize()

Get the vmSize property: The services virtual machine size, such as 'Standard_D2_v2'.

DataMigrationServiceStatusResponseInner withAgentConfiguration(Object agentConfiguration)

Set the agentConfiguration property: Agent Configuration.

DataMigrationServiceStatusResponseInner withAgentVersion(String agentVersion)

Set the agentVersion property: The DMS instance agent version.

DataMigrationServiceStatusResponseInner withStatus(String status)

Set the status property: The machine-readable status, such as 'Initializing', 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop' or 'Failed'.

DataMigrationServiceStatusResponseInner withSupportedTaskTypes(List<String> supportedTaskTypes)

Set the supportedTaskTypes property: The list of supported task types.

DataMigrationServiceStatusResponseInner withVmSize(String vmSize)

Set the vmSize property: The services virtual machine size, such as 'Standard_D2_v2'.

Methods inherited from java.lang.Object

Constructor Details

DataMigrationServiceStatusResponseInner

public DataMigrationServiceStatusResponseInner()

Creates an instance of DataMigrationServiceStatusResponseInner class.

Method Details

agentConfiguration

public Object agentConfiguration()

Get the agentConfiguration property: Agent Configuration.

Returns:

the agentConfiguration value.

agentVersion

public String agentVersion()

Get the agentVersion property: The DMS instance agent version.

Returns:

the agentVersion value.

fromJson

public static DataMigrationServiceStatusResponseInner fromJson(JsonReader jsonReader)

Reads an instance of DataMigrationServiceStatusResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DataMigrationServiceStatusResponseInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DataMigrationServiceStatusResponseInner.

status

public String status()

Get the status property: The machine-readable status, such as 'Initializing', 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop' or 'Failed'.

Returns:

the status value.

supportedTaskTypes

public List<String> supportedTaskTypes()

Get the supportedTaskTypes property: The list of supported task types.

Returns:

the supportedTaskTypes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vmSize

public String vmSize()

Get the vmSize property: The services virtual machine size, such as 'Standard_D2_v2'.

Returns:

the vmSize value.

withAgentConfiguration

public DataMigrationServiceStatusResponseInner withAgentConfiguration(Object agentConfiguration)

Set the agentConfiguration property: Agent Configuration.

Parameters:

agentConfiguration - the agentConfiguration value to set.

Returns:

the DataMigrationServiceStatusResponseInner object itself.

withAgentVersion

public DataMigrationServiceStatusResponseInner withAgentVersion(String agentVersion)

Set the agentVersion property: The DMS instance agent version.

Parameters:

agentVersion - the agentVersion value to set.

Returns:

the DataMigrationServiceStatusResponseInner object itself.

withStatus

public DataMigrationServiceStatusResponseInner withStatus(String status)

Set the status property: The machine-readable status, such as 'Initializing', 'Offline', 'Online', 'Deploying', 'Deleting', 'Stopped', 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop' or 'Failed'.

Parameters:

status - the status value to set.

Returns:

the DataMigrationServiceStatusResponseInner object itself.

withSupportedTaskTypes

public DataMigrationServiceStatusResponseInner withSupportedTaskTypes(List<String> supportedTaskTypes)

Set the supportedTaskTypes property: The list of supported task types.

Parameters:

supportedTaskTypes - the supportedTaskTypes value to set.

Returns:

the DataMigrationServiceStatusResponseInner object itself.

withVmSize

public DataMigrationServiceStatusResponseInner withVmSize(String vmSize)

Set the vmSize property: The services virtual machine size, such as 'Standard_D2_v2'.

Parameters:

vmSize - the vmSize value to set.

Returns:

the DataMigrationServiceStatusResponseInner object itself.

Applies to