ExternalEvaluationEndpointInvocationResult Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. ExternalEvaluationEndpointInvocationResult
- com.
Implements
public final class ExternalEvaluationEndpointInvocationResult
implements JsonSerializable<ExternalEvaluationEndpointInvocationResult>
The external evaluation endpoint invocation results.
Constructor Summary
| Constructor | Description |
|---|---|
| ExternalEvaluationEndpointInvocationResult() |
Creates an instance of External |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Object |
claims()
Get the claims property: The set of claims that will be attached to the policy token as an attestation for the result of the endpoint invocation. |
|
Offset |
expiration()
Get the expiration property: The expiration of the results. |
|
static
External |
fromJson(JsonReader jsonReader)
Reads an instance of External |
| String |
message()
Get the message property: The status message with additional details about the invocation result. |
|
Policy |
policyInfo()
Get the policy |
|
External |
result()
Get the result property: The result of the external endpoint. |
|
Offset |
retryAfter()
Get the retry |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
External |
withClaims(Object claims)
Set the claims property: The set of claims that will be attached to the policy token as an attestation for the result of the endpoint invocation. |
|
External |
withExpiration(OffsetDateTime expiration)
Set the expiration property: The expiration of the results. |
|
External |
withMessage(String message)
Set the message property: The status message with additional details about the invocation result. |
|
External |
withPolicyInfo(PolicyLogInfo policyInfo)
Set the policy |
|
External |
withResult(ExternalEndpointResult result)
Set the result property: The result of the external endpoint. |
|
External |
withRetryAfter(OffsetDateTime retryAfter)
Set the retry |
Methods inherited from java.lang.Object
Constructor Details
ExternalEvaluationEndpointInvocationResult
public ExternalEvaluationEndpointInvocationResult()
Creates an instance of ExternalEvaluationEndpointInvocationResult class.
Method Details
claims
public Object claims()
Get the claims property: The set of claims that will be attached to the policy token as an attestation for the result of the endpoint invocation.
Returns:
expiration
public OffsetDateTime expiration()
Get the expiration property: The expiration of the results.
Returns:
fromJson
public static ExternalEvaluationEndpointInvocationResult fromJson(JsonReader jsonReader)
Reads an instance of ExternalEvaluationEndpointInvocationResult from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: The status message with additional details about the invocation result.
Returns:
policyInfo
public PolicyLogInfo policyInfo()
Get the policyInfo property: The details of the policy requiring the external endpoint invocation.
Returns:
result
public ExternalEndpointResult result()
Get the result property: The result of the external endpoint. Possible values are Succeeded and Failed.
Returns:
retryAfter
public OffsetDateTime retryAfter()
Get the retryAfter property: The date and time after which a failed endpoint invocation can be retried.
Returns:
toJson
validate
public void validate()
Validates the instance.
withClaims
public ExternalEvaluationEndpointInvocationResult withClaims(Object claims)
Set the claims property: The set of claims that will be attached to the policy token as an attestation for the result of the endpoint invocation.
Parameters:
Returns:
withExpiration
public ExternalEvaluationEndpointInvocationResult withExpiration(OffsetDateTime expiration)
Set the expiration property: The expiration of the results.
Parameters:
Returns:
withMessage
public ExternalEvaluationEndpointInvocationResult withMessage(String message)
Set the message property: The status message with additional details about the invocation result.
Parameters:
Returns:
withPolicyInfo
public ExternalEvaluationEndpointInvocationResult withPolicyInfo(PolicyLogInfo policyInfo)
Set the policyInfo property: The details of the policy requiring the external endpoint invocation.
Parameters:
Returns:
withResult
public ExternalEvaluationEndpointInvocationResult withResult(ExternalEndpointResult result)
Set the result property: The result of the external endpoint. Possible values are Succeeded and Failed.
Parameters:
Returns:
withRetryAfter
public ExternalEvaluationEndpointInvocationResult withRetryAfter(OffsetDateTime retryAfter)
Set the retryAfter property: The date and time after which a failed endpoint invocation can be retried.
Parameters:
Returns: