Class InfoField
java.lang.Object
com.azure.resourcemanager.commerce.models.InfoField
Key-value pairs of instance details in the legacy format.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionproject()
Get the project property: Identifies the name of the instance provisioned by the user.void
validate()
Validates the instance.withProject
(String project) Set the project property: Identifies the name of the instance provisioned by the user.
-
Constructor Details
-
InfoField
public InfoField()Creates an instance of InfoField class.
-
-
Method Details
-
project
Get the project property: Identifies the name of the instance provisioned by the user.- Returns:
- the project value.
-
withProject
Set the project property: Identifies the name of the instance provisioned by the user.- Parameters:
project
- the project value to set.- Returns:
- the InfoField object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-