PeeringServicePrefixInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. peering. fluent. models. PeeringServicePrefixInner
- com.
- com.
public final class PeeringServicePrefixInner
extends ProxyResource
The peering service prefix class.
Constructor Summary
| Constructor | Description |
|---|---|
| PeeringServicePrefixInner() |
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 |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Learned |
learnedType()
Get the learned |
| String |
name()
Get the name property: The name of the resource. |
| 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) |
| String |
type()
Get the type property: The type of the resource. |
| 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 ProxyResource
Methods inherited from java.lang.Object
Constructor Details
PeeringServicePrefixInner
public PeeringServicePrefixInner()
Creates an instance of PeeringServicePrefixInner 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 PeeringServicePrefixInner fromJson(JsonReader jsonReader)
Reads an instance of PeeringServicePrefixInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
PeeringServicePrefixInner.id()Returns:
learnedType
public LearnedType learnedType()
Get the learnedType property: The prefix learned type.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PeeringServicePrefixInner.name()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
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PeeringServicePrefixInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PeeringServicePrefixInner.type()Returns:
validate
public void validate()
Validates the instance.
withPeeringServicePrefixKey
public PeeringServicePrefixInner withPeeringServicePrefixKey(String peeringServicePrefixKey)
Set the peeringServicePrefixKey property: The peering service prefix key.
Parameters:
Returns:
withPrefix
public PeeringServicePrefixInner withPrefix(String prefix)
Set the prefix property: The prefix from which your traffic originates.
Parameters:
Returns: