Class HybridConnectionInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.relay.fluent.models.HybridConnectionInner
public final class HybridConnectionInner
extends com.azure.core.management.ProxyResource
Description of hybrid connection resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the createdAt property: The time the hybrid connection was created.Get the listenerCount property: The number of listeners for this hybrid connection.Get the requiresClientAuthorization property: Returns true if client authorization is needed for this hybrid connection; otherwise, false.Get the updatedAt property: The time the namespace was updated.Get the userMetadata property: The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint.void
validate()
Validates the instance.withRequiresClientAuthorization
(Boolean requiresClientAuthorization) Set the requiresClientAuthorization property: Returns true if client authorization is needed for this hybrid connection; otherwise, false.withUserMetadata
(String userMetadata) Set the userMetadata property: The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
HybridConnectionInner
public HybridConnectionInner()
-
-
Method Details
-
createdAt
Get the createdAt property: The time the hybrid connection was created.- Returns:
- the createdAt value.
-
updatedAt
Get the updatedAt property: The time the namespace was updated.- Returns:
- the updatedAt value.
-
listenerCount
Get the listenerCount property: The number of listeners for this hybrid connection. Note that min : 1 and max:25 are supported.- Returns:
- the listenerCount value.
-
requiresClientAuthorization
Get the requiresClientAuthorization property: Returns true if client authorization is needed for this hybrid connection; otherwise, false.- Returns:
- the requiresClientAuthorization value.
-
withRequiresClientAuthorization
Set the requiresClientAuthorization property: Returns true if client authorization is needed for this hybrid connection; otherwise, false.- Parameters:
requiresClientAuthorization
- the requiresClientAuthorization value to set.- Returns:
- the HybridConnectionInner object itself.
-
userMetadata
Get the userMetadata property: The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored.- Returns:
- the userMetadata value.
-
withUserMetadata
Set the userMetadata property: The usermetadata is a placeholder to store user-defined string data for the hybrid connection endpoint. For example, it can be used to store descriptive data, such as a list of teams and their contact information. Also, user-defined configuration settings can be stored.- Parameters:
userMetadata
- the userMetadata value to set.- Returns:
- the HybridConnectionInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-