Partilhar via


ValidateSecretOutputInner Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.fluent.models.ValidateSecretOutputInner

Implements

public final class ValidateSecretOutputInner
implements JsonSerializable<ValidateSecretOutputInner>

Output of the validated secret.

Constructor Summary

Constructor Description
ValidateSecretOutputInner()

Creates an instance of ValidateSecretOutputInner class.

Method Summary

Modifier and Type Method and Description
static ValidateSecretOutputInner fromJson(JsonReader jsonReader)

Reads an instance of ValidateSecretOutputInner from the JsonReader.

String message()

Get the message property: Detailed error message.

Status status()

Get the status property: The validation status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ValidateSecretOutputInner withMessage(String message)

Set the message property: Detailed error message.

ValidateSecretOutputInner withStatus(Status status)

Set the status property: The validation status.

Methods inherited from java.lang.Object

Constructor Details

ValidateSecretOutputInner

public ValidateSecretOutputInner()

Creates an instance of ValidateSecretOutputInner class.

Method Details

fromJson

public static ValidateSecretOutputInner fromJson(JsonReader jsonReader)

Reads an instance of ValidateSecretOutputInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

message

public String message()

Get the message property: Detailed error message.

Returns:

the message value.

status

public Status status()

Get the status property: The validation status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withMessage

public ValidateSecretOutputInner withMessage(String message)

Set the message property: Detailed error message.

Parameters:

message - the message value to set.

Returns:

the ValidateSecretOutputInner object itself.

withStatus

public ValidateSecretOutputInner withStatus(Status status)

Set the status property: The validation status.

Parameters:

status - the status value to set.

Returns:

the ValidateSecretOutputInner object itself.

Applies to