ActivityProtocolConfiguration Class
- java.
lang. Object - com.
azure. ai. agents. models. ActivityProtocolConfiguration
- com.
Implements
public final class ActivityProtocolConfiguration
implements JsonSerializable<ActivityProtocolConfiguration>
Configuration specific to the activity protocol.
Constructor Summary
| Constructor | Description |
|---|---|
| ActivityProtocolConfiguration() |
Creates an instance of Activity |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Activity |
fromJson(JsonReader jsonReader)
Reads an instance of Activity |
|
List<Activity |
getAccessBoundaries()
Get the access |
| Boolean |
isEnableM365PublicEndpoint()
Get the enableM365Public |
|
Activity |
setEnableM365PublicEndpoint(Boolean enableM365PublicEndpoint)
Set the enableM365Public |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
ActivityProtocolConfiguration
public ActivityProtocolConfiguration()
Creates an instance of ActivityProtocolConfiguration class.
Method Details
fromJson
public static ActivityProtocolConfiguration fromJson(JsonReader jsonReader)
Reads an instance of ActivityProtocolConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
getAccessBoundaries
public List<ActivityProtocolAccessBoundary> getAccessBoundaries()
Get the accessBoundaries property: The access boundaries for the activity protocol.
Returns:
isEnableM365PublicEndpoint
public Boolean isEnableM365PublicEndpoint()
Get the enableM365PublicEndpoint property: Whether to enable the M365 public endpoint for the activity protocol.
Returns:
setEnableM365PublicEndpoint
public ActivityProtocolConfiguration setEnableM365PublicEndpoint(Boolean enableM365PublicEndpoint)
Set the enableM365PublicEndpoint property: Whether to enable the M365 public endpoint for the activity protocol.
Parameters:
Returns: