Class WcfRelayProperties
java.lang.Object
com.azure.resourcemanager.relay.fluent.models.WcfRelayProperties
Properties of the WCF relay.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the createdAt property: The time the WCF relay was created.Get the isDynamic property: Returns true if the relay is dynamic; otherwise, false.Get the listenerCount property: The number of listeners for this relay.Get the relayType property: WCF relay type.Get the requiresClientAuthorization property: Returns true if client authorization is needed for this relay; otherwise, false.Get the requiresTransportSecurity property: Returns true if transport security is needed for this relay; 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 WCF Relay endpoint.void
validate()
Validates the instance.withRelayType
(Relaytype relayType) Set the relayType property: WCF relay type.withRequiresClientAuthorization
(Boolean requiresClientAuthorization) Set the requiresClientAuthorization property: Returns true if client authorization is needed for this relay; otherwise, false.withRequiresTransportSecurity
(Boolean requiresTransportSecurity) Set the requiresTransportSecurity property: Returns true if transport security is needed for this relay; otherwise, false.withUserMetadata
(String userMetadata) Set the userMetadata property: The usermetadata is a placeholder to store user-defined string data for the WCF Relay endpoint.
-
Constructor Details
-
WcfRelayProperties
public WcfRelayProperties()
-
-
Method Details
-
isDynamic
Get the isDynamic property: Returns true if the relay is dynamic; otherwise, false.- Returns:
- the isDynamic value.
-
createdAt
Get the createdAt property: The time the WCF relay 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 relay. Note that min :1 and max:25 are supported.- Returns:
- the listenerCount value.
-
relayType
Get the relayType property: WCF relay type.- Returns:
- the relayType value.
-
withRelayType
Set the relayType property: WCF relay type.- Parameters:
relayType
- the relayType value to set.- Returns:
- the WcfRelayProperties object itself.
-
requiresClientAuthorization
Get the requiresClientAuthorization property: Returns true if client authorization is needed for this relay; otherwise, false.- Returns:
- the requiresClientAuthorization value.
-
withRequiresClientAuthorization
Set the requiresClientAuthorization property: Returns true if client authorization is needed for this relay; otherwise, false.- Parameters:
requiresClientAuthorization
- the requiresClientAuthorization value to set.- Returns:
- the WcfRelayProperties object itself.
-
requiresTransportSecurity
Get the requiresTransportSecurity property: Returns true if transport security is needed for this relay; otherwise, false.- Returns:
- the requiresTransportSecurity value.
-
withRequiresTransportSecurity
Set the requiresTransportSecurity property: Returns true if transport security is needed for this relay; otherwise, false.- Parameters:
requiresTransportSecurity
- the requiresTransportSecurity value to set.- Returns:
- the WcfRelayProperties object itself.
-
userMetadata
Get the userMetadata property: The usermetadata is a placeholder to store user-defined string data for the WCF Relay endpoint. For example, it can be used to store descriptive data, such as 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 WCF Relay endpoint. For example, it can be used to store descriptive data, such as list of teams and their contact information. Also, user-defined configuration settings can be stored.- Parameters:
userMetadata
- the userMetadata value to set.- Returns:
- the WcfRelayProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-