com.azure.communication.networktraversal.implementation.models.CommunicationRelayConfigurationRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-communication-networktraversal Show documentation
Show all versions of azure-communication-networktraversal Show documentation
Please note, this package has been deprecated and will no longer be maintained after 03/31/2024.
Refer to our deprecation policy (https://aka.ms/azsdk/support-policies) for more details.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.communication.networktraversal.implementation.models;
import com.azure.communication.networktraversal.models.RouteType;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/** Request for a CommunicationRelayConfiguration. */
@Fluent
public final class CommunicationRelayConfigurationRequest {
/*
* An identity to be associated with telemetry for data relayed using the
* returned credentials. Must be an existing ACS user identity. If not
* provided, the telemetry will not contain an associated identity value.
*/
@JsonProperty(value = "id")
private String id;
/*
* Filter the routing methodology returned. If not provided, will return
* all route types in separate ICE servers.
*/
@JsonProperty(value = "routeType")
private RouteType routeType;
/**
* Get the id property: An identity to be associated with telemetry for data relayed using the returned credentials.
* Must be an existing ACS user identity. If not provided, the telemetry will not contain an associated identity
* value.
*
* @return the id value.
*/
public String getId() {
return this.id;
}
/**
* Set the id property: An identity to be associated with telemetry for data relayed using the returned credentials.
* Must be an existing ACS user identity. If not provided, the telemetry will not contain an associated identity
* value.
*
* @param id the id value to set.
* @return the CommunicationRelayConfigurationRequest object itself.
*/
public CommunicationRelayConfigurationRequest setId(String id) {
this.id = id;
return this;
}
/**
* Get the routeType property: Filter the routing methodology returned. If not provided, will return all route types
* in separate ICE servers.
*
* @return the routeType value.
*/
public RouteType getRouteType() {
return this.routeType;
}
/**
* Set the routeType property: Filter the routing methodology returned. If not provided, will return all route types
* in separate ICE servers.
*
* @param routeType the routeType value to set.
* @return the CommunicationRelayConfigurationRequest object itself.
*/
public CommunicationRelayConfigurationRequest setRouteType(RouteType routeType) {
this.routeType = routeType;
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy