ContainerRegistryValidateResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.fluent.models.ContainerRegistryValidateResultInner

Implements

public final class ContainerRegistryValidateResultInner
implements JsonSerializable<ContainerRegistryValidateResultInner>

Validation result for container registry properties.

Constructor Summary

Constructor Description
ContainerRegistryValidateResultInner()

Creates an instance of ContainerRegistryValidateResultInner class.

Method Summary

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

Reads an instance of ContainerRegistryValidateResultInner from the JsonReader.

Boolean isValid()

Get the isValid property: Indicate if the container registry properties are valid.

String message()

Get the message property: Detailed validation messages.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ContainerRegistryValidateResultInner withIsValid(Boolean isValid)

Set the isValid property: Indicate if the container registry properties are valid.

ContainerRegistryValidateResultInner withMessage(String message)

Set the message property: Detailed validation messages.

Methods inherited from java.lang.Object

Constructor Details

ContainerRegistryValidateResultInner

public ContainerRegistryValidateResultInner()

Creates an instance of ContainerRegistryValidateResultInner class.

Method Details

fromJson

public static ContainerRegistryValidateResultInner fromJson(JsonReader jsonReader)

Reads an instance of ContainerRegistryValidateResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

isValid

public Boolean isValid()

Get the isValid property: Indicate if the container registry properties are valid.

Returns:

the isValid value.

message

public String message()

Get the message property: Detailed validation messages.

Returns:

the message value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withIsValid

public ContainerRegistryValidateResultInner withIsValid(Boolean isValid)

Set the isValid property: Indicate if the container registry properties are valid.

Parameters:

isValid - the isValid value to set.

Returns:

the ContainerRegistryValidateResultInner object itself.

withMessage

public ContainerRegistryValidateResultInner withMessage(String message)

Set the message property: Detailed validation messages.

Parameters:

message - the message value to set.

Returns:

the ContainerRegistryValidateResultInner object itself.

Applies to