Class ActiveSecurityAdminRulesListResultInner
java.lang.Object
com.azure.resourcemanager.network.fluent.models.ActiveSecurityAdminRulesListResultInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ActiveSecurityAdminRulesListResultInner>
public final class ActiveSecurityAdminRulesListResultInner
extends Object
implements com.azure.json.JsonSerializable<ActiveSecurityAdminRulesListResultInner>
Result of the request to list active security admin rules. It contains a list of active security admin rules and a
skiptoken to get the next set of results.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ActiveSecurityAdminRulesListResultInner class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ActiveSecurityAdminRulesListResultInner from the JsonReader.Get the skipToken property: When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.value()Get the value property: Gets a page of active security admin rules.withSkipToken(String skipToken) Set the skipToken property: When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.withValue(List<ActiveBaseSecurityAdminRule> value) Set the value property: Gets a page of active security admin rules.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
-
ActiveSecurityAdminRulesListResultInner
public ActiveSecurityAdminRulesListResultInner()Creates an instance of ActiveSecurityAdminRulesListResultInner class.
-
-
Method Details
-
value
Get the value property: Gets a page of active security admin rules.- Returns:
- the value value.
-
withValue
Set the value property: Gets a page of active security admin rules.- Parameters:
value- the value value to set.- Returns:
- the ActiveSecurityAdminRulesListResultInner object itself.
-
skipToken
Get the skipToken property: When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.- Returns:
- the skipToken value.
-
withSkipToken
Set the skipToken property: When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data.- Parameters:
skipToken- the skipToken value to set.- Returns:
- the ActiveSecurityAdminRulesListResultInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ActiveSecurityAdminRulesListResultInner>- Throws:
IOException
-
fromJson
public static ActiveSecurityAdminRulesListResultInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ActiveSecurityAdminRulesListResultInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ActiveSecurityAdminRulesListResultInner 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 ActiveSecurityAdminRulesListResultInner.
-