ProfileType Class
- java.
lang. Object - com.
azure. resourcemanager. oracledatabase. models. ProfileType
- com.
Implements
public final class ProfileType
implements JsonSerializable<ProfileType>
The connection string profile to allow clients to group, filter and select connection string values based on structured metadata.
Constructor Summary
| Constructor | Description |
|---|---|
| ProfileType() |
Creates an instance of Profile |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Consumer |
consumerGroup()
Get the consumer |
| String |
displayName()
Get the display |
|
static
Profile |
fromJson(JsonReader jsonReader)
Reads an instance of Profile |
|
Host |
hostFormat()
Get the host |
| Boolean |
isRegional()
Get the is |
|
Protocol |
protocol()
Get the protocol property: Protocol used by the connection. |
|
Session |
sessionMode()
Get the session |
|
Syntax |
syntaxFormat()
Get the syntax |
|
Tls |
tlsAuthentication()
Get the tls |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| String |
value()
Get the value property: Connection string value. |
|
Profile |
withConsumerGroup(ConsumerGroup consumerGroup)
Set the consumer |
|
Profile |
withDisplayName(String displayName)
Set the display |
|
Profile |
withHostFormat(HostFormatType hostFormat)
Set the host |
|
Profile |
withIsRegional(Boolean isRegional)
Set the is |
|
Profile |
withProtocol(ProtocolType protocol)
Set the protocol property: Protocol used by the connection. |
|
Profile |
withSessionMode(SessionModeType sessionMode)
Set the session |
|
Profile |
withSyntaxFormat(SyntaxFormatType syntaxFormat)
Set the syntax |
|
Profile |
withTlsAuthentication(TlsAuthenticationType tlsAuthentication)
Set the tls |
|
Profile |
withValue(String value)
Set the value property: Connection string value. |
Methods inherited from java.lang.Object
Constructor Details
ProfileType
public ProfileType()
Creates an instance of ProfileType class.
Method Details
consumerGroup
public ConsumerGroup consumerGroup()
Get the consumerGroup property: Consumer group used by the connection.
Returns:
displayName
public String displayName()
Get the displayName property: A user-friendly name for the connection.
Returns:
fromJson
public static ProfileType fromJson(JsonReader jsonReader)
Reads an instance of ProfileType from the JsonReader.
Parameters:
Returns:
Throws:
hostFormat
public HostFormatType hostFormat()
Get the hostFormat property: Host format used in connection string.
Returns:
isRegional
public Boolean isRegional()
Get the isRegional property: True for a regional connection string, applicable to cross-region DG only.
Returns:
protocol
public ProtocolType protocol()
Get the protocol property: Protocol used by the connection.
Returns:
sessionMode
public SessionModeType sessionMode()
Get the sessionMode property: Specifies whether the listener performs a direct hand-off of the session, or redirects the session.
Returns:
syntaxFormat
public SyntaxFormatType syntaxFormat()
Get the syntaxFormat property: Specifies whether the connection string is using the long (LONG), Easy Connect (EZCONNECT), or Easy Connect Plus (EZCONNECTPLUS) format.
Returns:
tlsAuthentication
public TlsAuthenticationType tlsAuthentication()
Get the tlsAuthentication property: Specifies whether the TLS handshake is using one-way (SERVER) or mutual (MUTUAL) authentication.
Returns:
toJson
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: Connection string value.
Returns:
withConsumerGroup
public ProfileType withConsumerGroup(ConsumerGroup consumerGroup)
Set the consumerGroup property: Consumer group used by the connection.
Parameters:
Returns:
withDisplayName
public ProfileType withDisplayName(String displayName)
Set the displayName property: A user-friendly name for the connection.
Parameters:
Returns:
withHostFormat
public ProfileType withHostFormat(HostFormatType hostFormat)
Set the hostFormat property: Host format used in connection string.
Parameters:
Returns:
withIsRegional
public ProfileType withIsRegional(Boolean isRegional)
Set the isRegional property: True for a regional connection string, applicable to cross-region DG only.
Parameters:
Returns:
withProtocol
public ProfileType withProtocol(ProtocolType protocol)
Set the protocol property: Protocol used by the connection.
Parameters:
Returns:
withSessionMode
public ProfileType withSessionMode(SessionModeType sessionMode)
Set the sessionMode property: Specifies whether the listener performs a direct hand-off of the session, or redirects the session.
Parameters:
Returns:
withSyntaxFormat
public ProfileType withSyntaxFormat(SyntaxFormatType syntaxFormat)
Set the syntaxFormat property: Specifies whether the connection string is using the long (LONG), Easy Connect (EZCONNECT), or Easy Connect Plus (EZCONNECTPLUS) format.
Parameters:
Returns:
withTlsAuthentication
public ProfileType withTlsAuthentication(TlsAuthenticationType tlsAuthentication)
Set the tlsAuthentication property: Specifies whether the TLS handshake is using one-way (SERVER) or mutual (MUTUAL) authentication.
Parameters:
Returns:
withValue
public ProfileType withValue(String value)
Set the value property: Connection string value.
Parameters:
Returns: