Class ValidateOperationResultInner
- java.lang.Object
-
- com.azure.resourcemanager.servicelinker.fluent.models.ValidateOperationResultInner
-
public final class ValidateOperationResultInner extends Object
The validation operation result for a linker.
-
-
Constructor Summary
Constructors Constructor Description ValidateOperationResultInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthType
authType()
Get the authType property: The authentication type.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.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.
-
-
-
Method Detail
-
resourceId
public String resourceId()
Get the resourceId property: Validated linker id.- Returns:
- the resourceId value.
-
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.
-
status
public String status()
Get the status property: Validation operation status.- Returns:
- the status value.
-
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.
-
linkerName
public String linkerName()
Get the linkerName property: The linker name.- Returns:
- the linkerName value.
-
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.
-
isConnectionAvailable
public Boolean isConnectionAvailable()
Get the isConnectionAvailable property: A boolean value indicating whether the connection is available or not.- Returns:
- the isConnectionAvailable value.
-
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.
-
reportStartTimeUtc
public OffsetDateTime reportStartTimeUtc()
Get the reportStartTimeUtc property: The start time of the validation report.- Returns:
- the reportStartTimeUtc value.
-
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.
-
reportEndTimeUtc
public OffsetDateTime reportEndTimeUtc()
Get the reportEndTimeUtc property: The end time of the validation report.- Returns:
- the reportEndTimeUtc value.
-
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.
-
sourceId
public String sourceId()
Get the sourceId property: The resource id of the linker source application.- Returns:
- the sourceId value.
-
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.
-
targetId
public String targetId()
Get the targetId property: The resource Id of target service.- Returns:
- the targetId value.
-
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.
-
authType
public AuthType authType()
Get the authType property: The authentication type.- Returns:
- the authType 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.
-
validationDetail
public List<ValidationResultItem> validationDetail()
Get the validationDetail property: The detail of validation result.- Returns:
- the validationDetail value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-