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.SubResourceNVA Inbound Security Rule resource.
-
-
Constructor Summary
Constructors Constructor Description InboundSecurityRuleInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.Stringname()Get the name property: Name of security rule collection.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the resource.List<InboundSecurityRules>rules()Get the rules property: List of allowed rules.Stringtype()Get the type property: NVA inbound security rule type.voidvalidate()Validates the instance.InboundSecurityRuleInnerwithId(String id)InboundSecurityRuleInnerwithName(String name)Set the name property: Name of security rule collection.InboundSecurityRuleInnerwithRules(List<InboundSecurityRules> rules)Set the rules property: List of allowed rules.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Name of security rule collection.- Returns:
- the name value.
-
withName
public InboundSecurityRuleInner withName(String name)
Set the name property: Name of security rule collection.- Parameters:
name- the name value to set.- Returns:
- the InboundSecurityRuleInner object itself.
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
type
public String type()
Get the type property: NVA inbound security rule type.- Returns:
- the type value.
-
withId
public InboundSecurityRuleInner withId(String id)
- Overrides:
withIdin classcom.azure.core.management.SubResource
-
rules
public List<InboundSecurityRules> rules()
Get the rules property: List of allowed rules.- Returns:
- the rules value.
-
withRules
public InboundSecurityRuleInner withRules(List<InboundSecurityRules> rules)
Set the rules property: List of allowed rules.- Parameters:
rules- the rules value to set.- Returns:
- the InboundSecurityRuleInner object itself.
-
provisioningState
public ProvisioningState 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.
-
-