com.microsoft.azure.management.network.implementation.ExpressRoutePortInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-network Show documentation
Show all versions of azure-mgmt-network Show documentation
This package contains Microsoft Azure Network Management SDK.
/**
* 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.
*/
@JsonFlatten
@SkipParentValidation
public class ExpressRoutePortInner extends Resource {
/**
* 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.
*/
@JsonProperty(value = "properties.bandwidthInGbps")
private Integer bandwidthInGbps;
/**
* 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).
*/
@JsonProperty(value = "properties.mtu", access = JsonProperty.Access.WRITE_ONLY)
private String mtu;
/**
* Encapsulation method on physical ports. Possible values include:
* 'Dot1Q', 'QinQ'.
*/
@JsonProperty(value = "properties.encapsulation")
private ExpressRoutePortsEncapsulation encapsulation;
/**
* 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.
*/
@JsonProperty(value = "properties.allocationDate", access = JsonProperty.Access.WRITE_ONLY)
private String allocationDate;
/**
* ExpressRouteLink Sub-Resources.
* The set of physical links of the ExpressRoutePort resource.
*/
@JsonProperty(value = "properties.links")
private List links;
/**
* Reference the ExpressRoute circuit(s) that are provisioned on this
* ExpressRoutePort resource.
*/
@JsonProperty(value = "properties.circuits", access = JsonProperty.Access.WRITE_ONLY)
private List circuits;
/**
* 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.
*/
@JsonProperty(value = "properties.resourceGuid", access = JsonProperty.Access.WRITE_ONLY)
private String resourceGuid;
/**
* 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.
*/
@JsonProperty(value = "identity")
private ManagedServiceIdentity identity;
/**
* Resource ID.
*/
@JsonProperty(value = "id")
private String id;
/**
* 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.
*
* @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.
*
* @return the bandwidthInGbps value
*/
public Integer bandwidthInGbps() {
return this.bandwidthInGbps;
}
/**
* 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.
*
* @return the provisionedBandwidthInGbps value
*/
public Double provisionedBandwidthInGbps() {
return this.provisionedBandwidthInGbps;
}
/**
* 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'.
*
* @return the encapsulation value
*/
public ExpressRoutePortsEncapsulation encapsulation() {
return this.encapsulation;
}
/**
* 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.
*
* @return the etherType value
*/
public String etherType() {
return this.etherType;
}
/**
* 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.
*
* @return the links value
*/
public List links() {
return this.links;
}
/**
* 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 links) {
this.links = links;
return this;
}
/**
* Get reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource.
*
* @return the circuits value
*/
public List circuits() {
return this.circuits;
}
/**
* 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.
*
* @return the resourceGuid value
*/
public String resourceGuid() {
return this.resourceGuid;
}
/**
* 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.
*
* @return the identity value
*/
public ManagedServiceIdentity identity() {
return this.identity;
}
/**
* 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.
*
* @return the id value
*/
public String id() {
return this.id;
}
/**
* 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;
}
}