Class ElasticTrafficFilterRule
java.lang.Object
com.azure.resourcemanager.elastic.models.ElasticTrafficFilterRule
Elastic traffic filter rule object.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ElasticTrafficFilterRule class. -
Method Summary
Modifier and TypeMethodDescriptionGet the azureEndpointGuid property: Guid of Private Endpoint in the elastic filter rule.Get the azureEndpointName property: Name of the Private Endpoint in the elastic filter rule.Get the description property: Description of the elastic filter rule.id()
Get the id property: Id of the elastic filter rule.source()
Get the source property: IP of the elastic filter rule.void
validate()
Validates the instance.withAzureEndpointGuid
(String azureEndpointGuid) Set the azureEndpointGuid property: Guid of Private Endpoint in the elastic filter rule.withAzureEndpointName
(String azureEndpointName) Set the azureEndpointName property: Name of the Private Endpoint in the elastic filter rule.withDescription
(String description) Set the description property: Description of the elastic filter rule.Set the id property: Id of the elastic filter rule.withSource
(String source) Set the source property: IP of the elastic filter rule.
-
Constructor Details
-
ElasticTrafficFilterRule
public ElasticTrafficFilterRule()Creates an instance of ElasticTrafficFilterRule class.
-
-
Method Details
-
source
Get the source property: IP of the elastic filter rule.- Returns:
- the source value.
-
withSource
Set the source property: IP of the elastic filter rule.- Parameters:
source
- the source value to set.- Returns:
- the ElasticTrafficFilterRule object itself.
-
description
Get the description property: Description of the elastic filter rule.- Returns:
- the description value.
-
withDescription
Set the description property: Description of the elastic filter rule.- Parameters:
description
- the description value to set.- Returns:
- the ElasticTrafficFilterRule object itself.
-
azureEndpointGuid
Get the azureEndpointGuid property: Guid of Private Endpoint in the elastic filter rule.- Returns:
- the azureEndpointGuid value.
-
withAzureEndpointGuid
Set the azureEndpointGuid property: Guid of Private Endpoint in the elastic filter rule.- Parameters:
azureEndpointGuid
- the azureEndpointGuid value to set.- Returns:
- the ElasticTrafficFilterRule object itself.
-
azureEndpointName
Get the azureEndpointName property: Name of the Private Endpoint in the elastic filter rule.- Returns:
- the azureEndpointName value.
-
withAzureEndpointName
Set the azureEndpointName property: Name of the Private Endpoint in the elastic filter rule.- Parameters:
azureEndpointName
- the azureEndpointName value to set.- Returns:
- the ElasticTrafficFilterRule object itself.
-
id
Get the id property: Id of the elastic filter rule.- Returns:
- the id value.
-
withId
Set the id property: Id of the elastic filter rule.- Parameters:
id
- the id value to set.- Returns:
- the ElasticTrafficFilterRule object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-