OperationResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.kusto.fluent.models.OperationResultInner

public final class OperationResultInner

Operation Result Entity.

Constructor Summary

Constructor Description
OperationResultInner()

Creates an instance of OperationResultInner class.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: The code of the error.

OffsetDateTime endTime()

Get the endTime property: The operation end time.

String id()

Get the id property: ID of the resource.

String message()

Get the message property: The error message.

String name()

Get the name property: Name of the resource.

String operationKind()

Get the operationKind property: The kind of the operation.

String operationState()

Get the operationState property: The state of the operation.

Double percentComplete()

Get the percentComplete property: Percentage completed.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioned state of the resource.

OffsetDateTime startTime()

Get the startTime property: The operation start time.

Status status()

Get the status property: status of the Operation result.

void validate()

Validates the instance.

OperationResultInner withCode(String code)

Set the code property: The code of the error.

OperationResultInner withEndTime(OffsetDateTime endTime)

Set the endTime property: The operation end time.

OperationResultInner withMessage(String message)

Set the message property: The error message.

OperationResultInner withOperationKind(String operationKind)

Set the operationKind property: The kind of the operation.

OperationResultInner withOperationState(String operationState)

Set the operationState property: The state of the operation.

OperationResultInner withPercentComplete(Double percentComplete)

Set the percentComplete property: Percentage completed.

OperationResultInner withStartTime(OffsetDateTime startTime)

Set the startTime property: The operation start time.

Methods inherited from java.lang.Object

Constructor Details

OperationResultInner

public OperationResultInner()

Creates an instance of OperationResultInner class.

Method Details

code

public String code()

Get the code property: The code of the error.

Returns:

the code value.

endTime

public OffsetDateTime endTime()

Get the endTime property: The operation end time.

Returns:

the endTime value.

id

public String id()

Get the id property: ID of the resource.

Returns:

the id value.

message

public String message()

Get the message property: The error message.

Returns:

the message value.

name

public String name()

Get the name property: Name of the resource.

Returns:

the name value.

operationKind

public String operationKind()

Get the operationKind property: The kind of the operation.

Returns:

the operationKind value.

operationState

public String operationState()

Get the operationState property: The state of the operation.

Returns:

the operationState value.

percentComplete

public Double percentComplete()

Get the percentComplete property: Percentage completed.

Returns:

the percentComplete value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioned state of the resource.

Returns:

the provisioningState value.

startTime

public OffsetDateTime startTime()

Get the startTime property: The operation start time.

Returns:

the startTime value.

status

public Status status()

Get the status property: status of the Operation result.

Returns:

the status value.

validate

public void validate()

Validates the instance.

withCode

public OperationResultInner withCode(String code)

Set the code property: The code of the error.

Parameters:

code - the code value to set.

Returns:

the OperationResultInner object itself.

withEndTime

public OperationResultInner withEndTime(OffsetDateTime endTime)

Set the endTime property: The operation end time.

Parameters:

endTime - the endTime value to set.

Returns:

the OperationResultInner object itself.

withMessage

public OperationResultInner withMessage(String message)

Set the message property: The error message.

Parameters:

message - the message value to set.

Returns:

the OperationResultInner object itself.

withOperationKind

public OperationResultInner withOperationKind(String operationKind)

Set the operationKind property: The kind of the operation.

Parameters:

operationKind - the operationKind value to set.

Returns:

the OperationResultInner object itself.

withOperationState

public OperationResultInner withOperationState(String operationState)

Set the operationState property: The state of the operation.

Parameters:

operationState - the operationState value to set.

Returns:

the OperationResultInner object itself.

withPercentComplete

public OperationResultInner withPercentComplete(Double percentComplete)

Set the percentComplete property: Percentage completed.

Parameters:

percentComplete - the percentComplete value to set.

Returns:

the OperationResultInner object itself.

withStartTime

public OperationResultInner withStartTime(OffsetDateTime startTime)

Set the startTime property: The operation start time.

Parameters:

startTime - the startTime value to set.

Returns:

the OperationResultInner object itself.

Applies to

Azure SDK for Java

Preview