CompatibleVersions Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. CompatibleVersions
- com.
Implements
public final class CompatibleVersions
implements JsonSerializable<CompatibleVersions>
Version information about a product/service that is compatible with a service mesh revision.
Constructor Summary
Constructor | Description |
---|---|
CompatibleVersions() |
Creates an instance of Compatible |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Compatible |
fromJson(JsonReader jsonReader)
Reads an instance of Compatible |
String |
name()
Get the name property: The product/service name. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
List<String> |
versions()
Get the versions property: Product/service versions compatible with a service mesh add-on revision. |
Compatible |
withName(String name)
Set the name property: The product/service name. |
Compatible |
withVersions(List<String> versions)
Set the versions property: Product/service versions compatible with a service mesh add-on revision. |
Methods inherited from java.lang.Object
Constructor Details
CompatibleVersions
public CompatibleVersions()
Creates an instance of CompatibleVersions class.
Method Details
fromJson
public static CompatibleVersions fromJson(JsonReader jsonReader)
Reads an instance of CompatibleVersions from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The product/service name.
Returns:
toJson
validate
public void validate()
Validates the instance.
versions
public List
Get the versions property: Product/service versions compatible with a service mesh add-on revision.
Returns:
withName
public CompatibleVersions withName(String name)
Set the name property: The product/service name.
Parameters:
Returns:
withVersions
public CompatibleVersions withVersions(List
Set the versions property: Product/service versions compatible with a service mesh add-on revision.
Parameters:
Returns:
Applies to
Azure SDK for Java