Class ValidateResult
- java.lang.Object
-
- com.azure.resourcemanager.servicelinker.fluent.models.ValidateResult
-
public final class ValidateResult extends Object
The validation result for a linker.
-
-
Constructor Summary
Constructors Constructor Description ValidateResult()
-
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
sourceId()
Get the sourceId property: The resource id of the linker source application.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.ValidateResult
withAuthType(AuthType authType)
Set the authType property: The authentication type.ValidateResult
withIsConnectionAvailable(Boolean isConnectionAvailable)
Set the isConnectionAvailable property: A boolean value indicating whether the connection is available or not.ValidateResult
withLinkerName(String linkerName)
Set the linkerName property: The linker name.ValidateResult
withReportEndTimeUtc(OffsetDateTime reportEndTimeUtc)
Set the reportEndTimeUtc property: The end time of the validation report.ValidateResult
withReportStartTimeUtc(OffsetDateTime reportStartTimeUtc)
Set the reportStartTimeUtc property: The start time of the validation report.ValidateResult
withSourceId(String sourceId)
Set the sourceId property: The resource id of the linker source application.ValidateResult
withTargetId(String targetId)
Set the targetId property: The resource Id of target service.ValidateResult
withValidationDetail(List<ValidationResultItem> validationDetail)
Set the validationDetail property: The detail of validation result.
-
-
-
Method Detail
-
linkerName
public String linkerName()
Get the linkerName property: The linker name.- Returns:
- the linkerName value.
-
withLinkerName
public ValidateResult withLinkerName(String linkerName)
Set the linkerName property: The linker name.- Parameters:
linkerName
- the linkerName value to set.- Returns:
- the ValidateResult 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 ValidateResult 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 ValidateResult object itself.
-
reportStartTimeUtc
public OffsetDateTime reportStartTimeUtc()
Get the reportStartTimeUtc property: The start time of the validation report.- Returns:
- the reportStartTimeUtc value.
-
withReportStartTimeUtc
public ValidateResult withReportStartTimeUtc(OffsetDateTime reportStartTimeUtc)
Set the reportStartTimeUtc property: The start time of the validation report.- Parameters:
reportStartTimeUtc
- the reportStartTimeUtc value to set.- Returns:
- the ValidateResult object itself.
-
reportEndTimeUtc
public OffsetDateTime reportEndTimeUtc()
Get the reportEndTimeUtc property: The end time of the validation report.- Returns:
- the reportEndTimeUtc value.
-
withReportEndTimeUtc
public ValidateResult withReportEndTimeUtc(OffsetDateTime reportEndTimeUtc)
Set the reportEndTimeUtc property: The end time of the validation report.- Parameters:
reportEndTimeUtc
- the reportEndTimeUtc value to set.- Returns:
- the ValidateResult object itself.
-
sourceId
public String sourceId()
Get the sourceId property: The resource id of the linker source application.- Returns:
- the sourceId value.
-
withSourceId
public ValidateResult withSourceId(String sourceId)
Set the sourceId property: The resource id of the linker source application.- Parameters:
sourceId
- the sourceId value to set.- Returns:
- the ValidateResult object itself.
-
targetId
public String targetId()
Get the targetId property: The resource Id of target service.- Returns:
- the targetId value.
-
withTargetId
public ValidateResult withTargetId(String targetId)
Set the targetId property: The resource Id of target service.- Parameters:
targetId
- the targetId value to set.- Returns:
- the ValidateResult object itself.
-
authType
public AuthType authType()
Get the authType property: The authentication type.- Returns:
- the authType value.
-
withAuthType
public ValidateResult withAuthType(AuthType authType)
Set the authType property: The authentication type.- Parameters:
authType
- the authType value to set.- Returns:
- the ValidateResult object itself.
-
validationDetail
public List<ValidationResultItem> validationDetail()
Get the validationDetail property: The detail of validation result.- Returns:
- the validationDetail value.
-
withValidationDetail
public ValidateResult withValidationDetail(List<ValidationResultItem> validationDetail)
Set the validationDetail property: The detail of validation result.- Parameters:
validationDetail
- the validationDetail value to set.- Returns:
- the ValidateResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-