ContainerRegistryValidateResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. fluent. models. ContainerRegistryValidateResultInner
- com.
Implements
public final class ContainerRegistryValidateResultInner
implements JsonSerializable<ContainerRegistryValidateResultInner>
Validation result for container registry properties.
Constructor Summary
Constructor | Description |
---|---|
ContainerRegistryValidateResultInner() |
Creates an instance of Container |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Container |
fromJson(JsonReader jsonReader)
Reads an instance of Container |
Boolean |
isValid()
Get the is |
String |
message()
Get the message property: Detailed validation messages. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Container |
withIsValid(Boolean isValid)
Set the is |
Container |
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:
Returns:
Throws:
isValid
public Boolean isValid()
Get the isValid property: Indicate if the container registry properties are valid.
Returns:
message
public String message()
Get the message property: Detailed validation messages.
Returns:
toJson
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:
Returns:
withMessage
public ContainerRegistryValidateResultInner withMessage(String message)
Set the message property: Detailed validation messages.
Parameters:
Returns:
Applies to
Azure SDK for Java