Class SecurityGroupViewParameters
- java.lang.Object
-
- com.azure.resourcemanager.network.models.SecurityGroupViewParameters
-
public final class SecurityGroupViewParameters extends Object
Parameters that define the VM to check security groups for.
-
-
Constructor Summary
Constructors Constructor Description SecurityGroupViewParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtargetResourceId()Get the targetResourceId property: ID of the target VM.voidvalidate()Validates the instance.SecurityGroupViewParameterswithTargetResourceId(String targetResourceId)Set the targetResourceId property: ID of the target VM.
-
-
-
Method Detail
-
targetResourceId
public String targetResourceId()
Get the targetResourceId property: ID of the target VM.- Returns:
- the targetResourceId value.
-
withTargetResourceId
public SecurityGroupViewParameters withTargetResourceId(String targetResourceId)
Set the targetResourceId property: ID of the target VM.- Parameters:
targetResourceId- the targetResourceId value to set.- Returns:
- the SecurityGroupViewParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-