PeeringServicePrefixProperties Class
- java.
lang. Object - com.
azure. resourcemanager. peering. fluent. models. PeeringServicePrefixProperties
- com.
Implements
public final class PeeringServicePrefixProperties
implements JsonSerializable<PeeringServicePrefixProperties>
The peering service prefix properties class.
Constructor Summary
| Constructor | Description |
|---|---|
| PeeringServicePrefixProperties() |
Creates an instance of Peering |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
errorMessage()
Get the error |
|
List<Peering |
events()
Get the events property: The list of events for peering service prefix. |
|
static
Peering |
fromJson(JsonReader jsonReader)
Reads an instance of Peering |
|
Learned |
learnedType()
Get the learned |
| String |
peeringServicePrefixKey()
Get the peering |
| String |
prefix()
Get the prefix property: The prefix from which your traffic originates. |
|
Prefix |
prefixValidationState()
Get the prefix |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Peering |
withPeeringServicePrefixKey(String peeringServicePrefixKey)
Set the peering |
|
Peering |
withPrefix(String prefix)
Set the prefix property: The prefix from which your traffic originates. |
Methods inherited from java.lang.Object
Constructor Details
PeeringServicePrefixProperties
public PeeringServicePrefixProperties()
Creates an instance of PeeringServicePrefixProperties class.
Method Details
errorMessage
public String errorMessage()
Get the errorMessage property: The error message for validation state.
Returns:
events
public List<PeeringServicePrefixEvent> events()
Get the events property: The list of events for peering service prefix.
Returns:
fromJson
public static PeeringServicePrefixProperties fromJson(JsonReader jsonReader)
Reads an instance of PeeringServicePrefixProperties from the JsonReader.
Parameters:
Returns:
Throws:
learnedType
public LearnedType learnedType()
Get the learnedType property: The prefix learned type.
Returns:
peeringServicePrefixKey
public String peeringServicePrefixKey()
Get the peeringServicePrefixKey property: The peering service prefix key.
Returns:
prefix
public String prefix()
Get the prefix property: The prefix from which your traffic originates.
Returns:
prefixValidationState
public PrefixValidationState prefixValidationState()
Get the prefixValidationState property: The prefix validation state.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPeeringServicePrefixKey
public PeeringServicePrefixProperties withPeeringServicePrefixKey(String peeringServicePrefixKey)
Set the peeringServicePrefixKey property: The peering service prefix key.
Parameters:
Returns:
withPrefix
public PeeringServicePrefixProperties withPrefix(String prefix)
Set the prefix property: The prefix from which your traffic originates.
Parameters:
Returns: