WcfRelayProperties Class
- java.
lang. Object - com.
azure. resourcemanager. relay. fluent. models. WcfRelayProperties
- com.
Implements
public final class WcfRelayProperties
implements JsonSerializable<WcfRelayProperties>
Properties of the WCF relay.
Constructor Summary
| Constructor | Description |
|---|---|
| WcfRelayProperties() |
Creates an instance of Wcf |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
createdAt()
Get the created |
|
static
Wcf |
fromJson(JsonReader jsonReader)
Reads an instance of Wcf |
| Boolean |
isDynamic()
Get the is |
| Integer |
listenerCount()
Get the listener |
| Relaytype |
relayType()
Get the relay |
| Boolean |
requiresClientAuthorization()
Get the requires |
| Boolean |
requiresTransportSecurity()
Get the requires |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Offset |
updatedAt()
Get the updated |
| String |
userMetadata()
Get the user |
| void |
validate()
Validates the instance. |
|
Wcf |
withRelayType(Relaytype relayType)
Set the relay |
|
Wcf |
withRequiresClientAuthorization(Boolean requiresClientAuthorization)
Set the requires |
|
Wcf |
withRequiresTransportSecurity(Boolean requiresTransportSecurity)
Set the requires |
|
Wcf |
withUserMetadata(String userMetadata)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
WcfRelayProperties
public WcfRelayProperties()
Creates an instance of WcfRelayProperties class.
Method Details
createdAt
public OffsetDateTime createdAt()
Get the createdAt property: The time the WCF relay was created.
Returns:
fromJson
public static WcfRelayProperties fromJson(JsonReader jsonReader)
Reads an instance of WcfRelayProperties from the JsonReader.
Parameters:
Returns:
Throws:
isDynamic
public Boolean isDynamic()
Get the isDynamic property: Returns true if the relay is dynamic; otherwise, false.
Returns:
listenerCount
public Integer listenerCount()
Get the listenerCount property: The number of listeners for this relay. Note that min :1 and max:25 are supported.
Returns:
relayType
public Relaytype relayType()
Get the relayType property: WCF relay type.
Returns:
requiresClientAuthorization
public Boolean requiresClientAuthorization()
Get the requiresClientAuthorization property: Returns true if client authorization is needed for this relay; otherwise, false.
Returns:
requiresTransportSecurity
public Boolean requiresTransportSecurity()
Get the requiresTransportSecurity property: Returns true if transport security is needed for this relay; otherwise, false.
Returns:
toJson
updatedAt
public OffsetDateTime updatedAt()
Get the updatedAt property: The time the namespace was updated.
Returns:
userMetadata
public String 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:
validate
public void validate()
Validates the instance.
withRelayType
public WcfRelayProperties withRelayType(Relaytype relayType)
Set the relayType property: WCF relay type.
Parameters:
Returns:
withRequiresClientAuthorization
public WcfRelayProperties withRequiresClientAuthorization(Boolean requiresClientAuthorization)
Set the requiresClientAuthorization property: Returns true if client authorization is needed for this relay; otherwise, false.
Parameters:
Returns:
withRequiresTransportSecurity
public WcfRelayProperties withRequiresTransportSecurity(Boolean requiresTransportSecurity)
Set the requiresTransportSecurity property: Returns true if transport security is needed for this relay; otherwise, false.
Parameters:
Returns:
withUserMetadata
public WcfRelayProperties withUserMetadata(String userMetadata)
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:
Returns: