OperationStatusInner Class

  • java.lang.Object
    • com.azure.resourcemanager.loganalytics.fluent.models.OperationStatusInner

public final class OperationStatusInner

The status of operation.

Constructor Summary

Constructor Description
OperationStatusInner()

Creates an instance of OperationStatusInner class.

Method Summary

Modifier and Type Method and Description
String endTime()

Get the endTime property: The end time of the operation.

ManagementError error()

Get the error property: Error response

String id()

Get the id property: The operation Id.

String name()

Get the name property: The operation name.

String startTime()

Get the startTime property: The start time of the operation.

String status()

Get the status property: The status of the operation.

void validate()

Validates the instance.

OperationStatusInner withEndTime(String endTime)

Set the endTime property: The end time of the operation.

OperationStatusInner withError(ManagementError error)

Set the error property: Error response

OperationStatusInner withId(String id)

Set the id property: The operation Id.

OperationStatusInner withName(String name)

Set the name property: The operation name.

OperationStatusInner withStartTime(String startTime)

Set the startTime property: The start time of the operation.

OperationStatusInner withStatus(String status)

Set the status property: The status of the operation.

Methods inherited from java.lang.Object

Constructor Details

OperationStatusInner

public OperationStatusInner()

Creates an instance of OperationStatusInner class.

Method Details

endTime

public String endTime()

Get the endTime property: The end time of the operation.

Returns:

the endTime value.

error

public ManagementError error()

Get the error property: Error response

The error detail of the operation if any.

Returns:

the error value.

id

public String id()

Get the id property: The operation Id.

Returns:

the id value.

name

public String name()

Get the name property: The operation name.

Returns:

the name value.

startTime

public String startTime()

Get the startTime property: The start time of the operation.

Returns:

the startTime value.

status

public String status()

Get the status property: The status of the operation.

Returns:

the status value.

validate

public void validate()

Validates the instance.

withEndTime

public OperationStatusInner withEndTime(String endTime)

Set the endTime property: The end time of the operation.

Parameters:

endTime - the endTime value to set.

Returns:

the OperationStatusInner object itself.

withError

public OperationStatusInner withError(ManagementError error)

Set the error property: Error response

The error detail of the operation if any.

Parameters:

error - the error value to set.

Returns:

the OperationStatusInner object itself.

withId

public OperationStatusInner withId(String id)

Set the id property: The operation Id.

Parameters:

id - the id value to set.

Returns:

the OperationStatusInner object itself.

withName

public OperationStatusInner withName(String name)

Set the name property: The operation name.

Parameters:

name - the name value to set.

Returns:

the OperationStatusInner object itself.

withStartTime

public OperationStatusInner withStartTime(String startTime)

Set the startTime property: The start time of the operation.

Parameters:

startTime - the startTime value to set.

Returns:

the OperationStatusInner object itself.

withStatus

public OperationStatusInner withStatus(String status)

Set the status property: The status of the operation.

Parameters:

status - the status value to set.

Returns:

the OperationStatusInner object itself.

Applies to