Class StaticMemberProperties
java.lang.Object
com.azure.resourcemanager.network.fluent.models.StaticMemberProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<StaticMemberProperties>
public final class StaticMemberProperties
extends Object
implements com.azure.json.JsonSerializable<StaticMemberProperties>
Properties of static member.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of StaticMemberProperties class. -
Method Summary
Modifier and TypeMethodDescriptionstatic StaticMemberPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of StaticMemberProperties from the JsonReader.Get the provisioningState property: The provisioning state of the scope assignment resource.region()Get the region property: Resource region.Get the resourceId property: Resource Id.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withResourceId(String resourceId) Set the resourceId property: Resource Id.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
StaticMemberProperties
public StaticMemberProperties()Creates an instance of StaticMemberProperties class.
-
-
Method Details
-
resourceId
Get the resourceId property: Resource Id.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: Resource Id.- Parameters:
resourceId- the resourceId value to set.- Returns:
- the StaticMemberProperties object itself.
-
region
Get the region property: Resource region.- Returns:
- the region value.
-
provisioningState
Get the provisioningState property: The provisioning state of the scope assignment resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<StaticMemberProperties>- Throws:
IOException
-
fromJson
public static StaticMemberProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of StaticMemberProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of StaticMemberProperties 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 StaticMemberProperties.
-