Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network.implementation; import com.microsoft.azure.management.network.ExpressRoutePortsEncapsulation; import java.util.List; import com.microsoft.azure.SubResource; import com.microsoft.azure.management.network.ProvisioningState; import com.microsoft.azure.management.network.ManagedServiceIdentity; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.rest.SkipParentValidation; import com.microsoft.azure.Resource;
ExpressRoute Port. ExpressRoutePort resource definition.
/** * ExpressRoute Port. * ExpressRoutePort resource definition. */
@JsonFlatten @SkipParentValidation public class ExpressRoutePortInner extends Resource {
The name of the peering location that the ExpressRoutePort is mapped to physically.
/** * The name of the peering location that the ExpressRoutePort is mapped to * physically. */
@JsonProperty(value = "properties.peeringLocation") private String peeringLocation;
Bandwidth of procured ports in Gbps.
/** * Bandwidth of procured ports in Gbps. */
@JsonProperty(value = "properties.bandwidthInGbps") private Integer bandwidthInGbps;
Aggregate Gbps of associated circuit bandwidths.
/** * Aggregate Gbps of associated circuit bandwidths. */
@JsonProperty(value = "properties.provisionedBandwidthInGbps", access = JsonProperty.Access.WRITE_ONLY) private Double provisionedBandwidthInGbps;
Maximum transmission unit of the physical port pair(s).
/** * Maximum transmission unit of the physical port pair(s). */
@JsonProperty(value = "properties.mtu", access = JsonProperty.Access.WRITE_ONLY) private String mtu;
Encapsulation method on physical ports. Possible values include: 'Dot1Q', 'QinQ'.
/** * Encapsulation method on physical ports. Possible values include: * 'Dot1Q', 'QinQ'. */
@JsonProperty(value = "properties.encapsulation") private ExpressRoutePortsEncapsulation encapsulation;
Ether type of the physical port.
/** * Ether type of the physical port. */
@JsonProperty(value = "properties.etherType", access = JsonProperty.Access.WRITE_ONLY) private String etherType;
Date of the physical port allocation to be used in Letter of Authorization.
/** * Date of the physical port allocation to be used in Letter of * Authorization. */
@JsonProperty(value = "properties.allocationDate", access = JsonProperty.Access.WRITE_ONLY) private String allocationDate;
ExpressRouteLink Sub-Resources. The set of physical links of the ExpressRoutePort resource.
/** * ExpressRouteLink Sub-Resources. * The set of physical links of the ExpressRoutePort resource. */
@JsonProperty(value = "properties.links") private List<ExpressRouteLinkInner> links;
Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource.
/** * Reference the ExpressRoute circuit(s) that are provisioned on this * ExpressRoutePort resource. */
@JsonProperty(value = "properties.circuits", access = JsonProperty.Access.WRITE_ONLY) private List<SubResource> circuits;
The provisioning state of the express route port resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
/** * The provisioning state of the express route port resource. Possible * values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. */
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private ProvisioningState provisioningState;
The resource GUID property of the express route port resource.
/** * The resource GUID property of the express route port resource. */
@JsonProperty(value = "properties.resourceGuid", access = JsonProperty.Access.WRITE_ONLY) private String resourceGuid;
A unique read-only string that changes whenever the resource is updated.
/** * A unique read-only string that changes whenever the resource is updated. */
@JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY) private String etag;
The identity of ExpressRoutePort, if configured.
/** * The identity of ExpressRoutePort, if configured. */
@JsonProperty(value = "identity") private ManagedServiceIdentity identity;
Resource ID.
/** * Resource ID. */
@JsonProperty(value = "id") private String id;
Get the name of the peering location that the ExpressRoutePort is mapped to physically.
Returns:the peeringLocation value
/** * Get the name of the peering location that the ExpressRoutePort is mapped to physically. * * @return the peeringLocation value */
public String peeringLocation() { return this.peeringLocation; }
Set the name of the peering location that the ExpressRoutePort is mapped to physically.
Params:
  • peeringLocation – the peeringLocation value to set
Returns:the ExpressRoutePortInner object itself.
/** * Set the name of the peering location that the ExpressRoutePort is mapped to physically. * * @param peeringLocation the peeringLocation value to set * @return the ExpressRoutePortInner object itself. */
public ExpressRoutePortInner withPeeringLocation(String peeringLocation) { this.peeringLocation = peeringLocation; return this; }
Get bandwidth of procured ports in Gbps.
Returns:the bandwidthInGbps value
/** * Get bandwidth of procured ports in Gbps. * * @return the bandwidthInGbps value */
public Integer bandwidthInGbps() { return this.bandwidthInGbps; }
Set bandwidth of procured ports in Gbps.
Params:
  • bandwidthInGbps – the bandwidthInGbps value to set
Returns:the ExpressRoutePortInner object itself.
/** * Set bandwidth of procured ports in Gbps. * * @param bandwidthInGbps the bandwidthInGbps value to set * @return the ExpressRoutePortInner object itself. */
public ExpressRoutePortInner withBandwidthInGbps(Integer bandwidthInGbps) { this.bandwidthInGbps = bandwidthInGbps; return this; }
Get aggregate Gbps of associated circuit bandwidths.
Returns:the provisionedBandwidthInGbps value
/** * Get aggregate Gbps of associated circuit bandwidths. * * @return the provisionedBandwidthInGbps value */
public Double provisionedBandwidthInGbps() { return this.provisionedBandwidthInGbps; }
Get maximum transmission unit of the physical port pair(s).
Returns:the mtu value
/** * Get maximum transmission unit of the physical port pair(s). * * @return the mtu value */
public String mtu() { return this.mtu; }
Get encapsulation method on physical ports. Possible values include: 'Dot1Q', 'QinQ'.
Returns:the encapsulation value
/** * Get encapsulation method on physical ports. Possible values include: 'Dot1Q', 'QinQ'. * * @return the encapsulation value */
public ExpressRoutePortsEncapsulation encapsulation() { return this.encapsulation; }
Set encapsulation method on physical ports. Possible values include: 'Dot1Q', 'QinQ'.
Params:
  • encapsulation – the encapsulation value to set
Returns:the ExpressRoutePortInner object itself.
/** * Set encapsulation method on physical ports. Possible values include: 'Dot1Q', 'QinQ'. * * @param encapsulation the encapsulation value to set * @return the ExpressRoutePortInner object itself. */
public ExpressRoutePortInner withEncapsulation(ExpressRoutePortsEncapsulation encapsulation) { this.encapsulation = encapsulation; return this; }
Get ether type of the physical port.
Returns:the etherType value
/** * Get ether type of the physical port. * * @return the etherType value */
public String etherType() { return this.etherType; }
Get date of the physical port allocation to be used in Letter of Authorization.
Returns:the allocationDate value
/** * Get date of the physical port allocation to be used in Letter of Authorization. * * @return the allocationDate value */
public String allocationDate() { return this.allocationDate; }
Get the set of physical links of the ExpressRoutePort resource.
Returns:the links value
/** * Get the set of physical links of the ExpressRoutePort resource. * * @return the links value */
public List<ExpressRouteLinkInner> links() { return this.links; }
Set the set of physical links of the ExpressRoutePort resource.
Params:
  • links – the links value to set
Returns:the ExpressRoutePortInner object itself.
/** * Set the set of physical links of the ExpressRoutePort resource. * * @param links the links value to set * @return the ExpressRoutePortInner object itself. */
public ExpressRoutePortInner withLinks(List<ExpressRouteLinkInner> links) { this.links = links; return this; }
Get reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource.
Returns:the circuits value
/** * Get reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. * * @return the circuits value */
public List<SubResource> circuits() { return this.circuits; }
Get the provisioning state of the express route port resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
Returns:the provisioningState value
/** * Get the provisioning state of the express route port resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'. * * @return the provisioningState value */
public ProvisioningState provisioningState() { return this.provisioningState; }
Get the resource GUID property of the express route port resource.
Returns:the resourceGuid value
/** * Get the resource GUID property of the express route port resource. * * @return the resourceGuid value */
public String resourceGuid() { return this.resourceGuid; }
Get a unique read-only string that changes whenever the resource is updated.
Returns:the etag value
/** * Get a unique read-only string that changes whenever the resource is updated. * * @return the etag value */
public String etag() { return this.etag; }
Get the identity of ExpressRoutePort, if configured.
Returns:the identity value
/** * Get the identity of ExpressRoutePort, if configured. * * @return the identity value */
public ManagedServiceIdentity identity() { return this.identity; }
Set the identity of ExpressRoutePort, if configured.
Params:
  • identity – the identity value to set
Returns:the ExpressRoutePortInner object itself.
/** * Set the identity of ExpressRoutePort, if configured. * * @param identity the identity value to set * @return the ExpressRoutePortInner object itself. */
public ExpressRoutePortInner withIdentity(ManagedServiceIdentity identity) { this.identity = identity; return this; }
Get resource ID.
Returns:the id value
/** * Get resource ID. * * @return the id value */
public String id() { return this.id; }
Set resource ID.
Params:
  • id – the id value to set
Returns:the ExpressRoutePortInner object itself.
/** * Set resource ID. * * @param id the id value to set * @return the ExpressRoutePortInner object itself. */
public ExpressRoutePortInner withId(String id) { this.id = id; return this; } }