Class InboundSecurityRuleInner
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.network.fluent.models.InboundSecurityRuleInner
public final class InboundSecurityRuleInner
extends com.azure.core.management.SubResource
NVA Inbound Security Rule resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of InboundSecurityRuleInner class. -
Method Summary
Modifier and TypeMethodDescriptionetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.name()Get the name property: Name of security rule collection.Get the provisioningState property: The provisioning state of the resource.rules()Get the rules property: List of allowed rules.type()Get the type property: NVA inbound security rule type.voidvalidate()Validates the instance.Set the name property: Name of security rule collection.withRules(List<InboundSecurityRules> rules) Set the rules property: List of allowed rules.Methods inherited from class com.azure.core.management.SubResource
id
-
Constructor Details
-
InboundSecurityRuleInner
public InboundSecurityRuleInner()Creates an instance of InboundSecurityRuleInner class.
-
-
Method Details
-
name
Get the name property: Name of security rule collection.- Returns:
- the name value.
-
withName
Set the name property: Name of security rule collection.- Parameters:
name- the name value to set.- Returns:
- the InboundSecurityRuleInner object itself.
-
etag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
type
Get the type property: NVA inbound security rule type.- Returns:
- the type value.
-
withId
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
rules
Get the rules property: List of allowed rules.- Returns:
- the rules value.
-
withRules
Set the rules property: List of allowed rules.- Parameters:
rules- the rules value to set.- Returns:
- the InboundSecurityRuleInner object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-