ValidateOperationResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.servicelinker.fluent.models.ValidateOperationResultInner

Implements

public final class ValidateOperationResultInner
implements JsonSerializable<ValidateOperationResultInner>

The validation operation result for a Linker.

Constructor Summary

Constructor Description
ValidateOperationResultInner()

Creates an instance of ValidateOperationResultInner class.

Method Summary

Modifier and Type Method and Description
AuthType authType()

Get the authType property: The authentication type.

static ValidateOperationResultInner fromJson(JsonReader jsonReader)

Reads an instance of ValidateOperationResultInner from the JsonReader.

Boolean isConnectionAvailable()

Get the isConnectionAvailable property: A boolean value indicating whether the connection is available or not.

String linkerName()

Get the linkerName property: The linker name.

OffsetDateTime reportEndTimeUtc()

Get the reportEndTimeUtc property: The end time of the validation report.

OffsetDateTime reportStartTimeUtc()

Get the reportStartTimeUtc property: The start time of the validation report.

String resourceId()

Get the resourceId property: Validated Linker id.

String sourceId()

Get the sourceId property: The resource id of the Linker source application.

String status()

Get the status property: Validation operation status.

String targetId()

Get the targetId property: The resource Id of target service.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<ValidationResultItem> validationDetail()

Get the validationDetail property: The detail of validation result.

ValidateOperationResultInner withAuthType(AuthType authType)

Set the authType property: The authentication type.

ValidateOperationResultInner withIsConnectionAvailable(Boolean isConnectionAvailable)

Set the isConnectionAvailable property: A boolean value indicating whether the connection is available or not.

ValidateOperationResultInner withLinkerName(String linkerName)

Set the linkerName property: The linker name.

ValidateOperationResultInner withReportEndTimeUtc(OffsetDateTime reportEndTimeUtc)

Set the reportEndTimeUtc property: The end time of the validation report.

ValidateOperationResultInner withReportStartTimeUtc(OffsetDateTime reportStartTimeUtc)

Set the reportStartTimeUtc property: The start time of the validation report.

ValidateOperationResultInner withResourceId(String resourceId)

Set the resourceId property: Validated Linker id.

ValidateOperationResultInner withSourceId(String sourceId)

Set the sourceId property: The resource id of the Linker source application.

ValidateOperationResultInner withStatus(String status)

Set the status property: Validation operation status.

ValidateOperationResultInner withTargetId(String targetId)

Set the targetId property: The resource Id of target service.

ValidateOperationResultInner withValidationDetail(List<ValidationResultItem> validationDetail)

Set the validationDetail property: The detail of validation result.

Methods inherited from java.lang.Object

Constructor Details

ValidateOperationResultInner

public ValidateOperationResultInner()

Creates an instance of ValidateOperationResultInner class.

Method Details

authType

public AuthType authType()

Get the authType property: The authentication type.

Returns:

the authType value.

fromJson

public static ValidateOperationResultInner fromJson(JsonReader jsonReader)

Reads an instance of ValidateOperationResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ValidateOperationResultInner 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 ValidateOperationResultInner.

isConnectionAvailable

public Boolean isConnectionAvailable()

Get the isConnectionAvailable property: A boolean value indicating whether the connection is available or not.

Returns:

the isConnectionAvailable value.

linkerName

public String linkerName()

Get the linkerName property: The linker name.

Returns:

the linkerName value.

reportEndTimeUtc

public OffsetDateTime reportEndTimeUtc()

Get the reportEndTimeUtc property: The end time of the validation report.

Returns:

the reportEndTimeUtc value.

reportStartTimeUtc

public OffsetDateTime reportStartTimeUtc()

Get the reportStartTimeUtc property: The start time of the validation report.

Returns:

the reportStartTimeUtc value.

resourceId

public String resourceId()

Get the resourceId property: Validated Linker id.

Returns:

the resourceId value.

sourceId

public String sourceId()

Get the sourceId property: The resource id of the Linker source application.

Returns:

the sourceId value.

status

public String status()

Get the status property: Validation operation status.

Returns:

the status value.

targetId

public String targetId()

Get the targetId property: The resource Id of target service.

Returns:

the targetId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

validationDetail

public List<ValidationResultItem> validationDetail()

Get the validationDetail property: The detail of validation result.

Returns:

the validationDetail value.

withAuthType

public ValidateOperationResultInner withAuthType(AuthType authType)

Set the authType property: The authentication type.

Parameters:

authType - the authType value to set.

Returns:

the ValidateOperationResultInner object itself.

withIsConnectionAvailable

public ValidateOperationResultInner withIsConnectionAvailable(Boolean isConnectionAvailable)

Set the isConnectionAvailable property: A boolean value indicating whether the connection is available or not.

Parameters:

isConnectionAvailable - the isConnectionAvailable value to set.

Returns:

the ValidateOperationResultInner object itself.

withLinkerName

public ValidateOperationResultInner withLinkerName(String linkerName)

Set the linkerName property: The linker name.

Parameters:

linkerName - the linkerName value to set.

Returns:

the ValidateOperationResultInner object itself.

withReportEndTimeUtc

public ValidateOperationResultInner withReportEndTimeUtc(OffsetDateTime reportEndTimeUtc)

Set the reportEndTimeUtc property: The end time of the validation report.

Parameters:

reportEndTimeUtc - the reportEndTimeUtc value to set.

Returns:

the ValidateOperationResultInner object itself.

withReportStartTimeUtc

public ValidateOperationResultInner withReportStartTimeUtc(OffsetDateTime reportStartTimeUtc)

Set the reportStartTimeUtc property: The start time of the validation report.

Parameters:

reportStartTimeUtc - the reportStartTimeUtc value to set.

Returns:

the ValidateOperationResultInner object itself.

withResourceId

public ValidateOperationResultInner withResourceId(String resourceId)

Set the resourceId property: Validated Linker id.

Parameters:

resourceId - the resourceId value to set.

Returns:

the ValidateOperationResultInner object itself.

withSourceId

public ValidateOperationResultInner withSourceId(String sourceId)

Set the sourceId property: The resource id of the Linker source application.

Parameters:

sourceId - the sourceId value to set.

Returns:

the ValidateOperationResultInner object itself.

withStatus

public ValidateOperationResultInner withStatus(String status)

Set the status property: Validation operation status.

Parameters:

status - the status value to set.

Returns:

the ValidateOperationResultInner object itself.

withTargetId

public ValidateOperationResultInner withTargetId(String targetId)

Set the targetId property: The resource Id of target service.

Parameters:

targetId - the targetId value to set.

Returns:

the ValidateOperationResultInner object itself.

withValidationDetail

public ValidateOperationResultInner withValidationDetail(List<ValidationResultItem> validationDetail)

Set the validationDetail property: The detail of validation result.

Parameters:

validationDetail - the validationDetail value to set.

Returns:

the ValidateOperationResultInner object itself.

Applies to