azure-docs-sdk-java/docs-ref-autogen/com.azure.core.amqp.client....

81 строка
5.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.amqp.client.traits.AmqpTrait"
fullName: "com.azure.core.amqp.client.traits.AmqpTrait<T>"
name: "AmqpTrait<T>"
nameWithType: "AmqpTrait<T>"
summary: "An <xref uid=\"\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Azure SDK for Java trait\"></xref> providing a consistent interface for configuration of AMQP-specific settings."
syntax: "public interface **AmqpTrait<T>**"
methods:
- uid: "com.azure.core.amqp.client.traits.AmqpTrait.clientOptions(com.azure.core.util.ClientOptions)"
fullName: "com.azure.core.amqp.client.traits.AmqpTrait<T>.clientOptions(ClientOptions clientOptions)"
name: "clientOptions(ClientOptions clientOptions)"
nameWithType: "AmqpTrait<T>.clientOptions(ClientOptions clientOptions)"
summary: "Allows for setting common properties such as application ID, headers, etc."
modifiers:
- "abstract"
parameters:
- description: "A configured instance of <xref uid=\"com.azure.core.util.ClientOptions\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ClientOptions\"></xref>."
name: "clientOptions"
type: "<xref href=\"com.azure.core.util.ClientOptions?alt=com.azure.core.util.ClientOptions&text=ClientOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract T clientOptions(ClientOptions clientOptions)"
desc: "Allows for setting common properties such as application ID, headers, etc."
returns:
description: "Returns the same concrete type with the appropriate properties updated, to allow for fluent chaining of\n operations."
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.amqp.client.traits.AmqpTrait.proxyOptions(com.azure.core.amqp.ProxyOptions)"
fullName: "com.azure.core.amqp.client.traits.AmqpTrait<T>.proxyOptions(ProxyOptions proxyOptions)"
name: "proxyOptions(ProxyOptions proxyOptions)"
nameWithType: "AmqpTrait<T>.proxyOptions(ProxyOptions proxyOptions)"
summary: "Sets the proxy configuration to use."
modifiers:
- "abstract"
parameters:
- description: "The proxy configuration to use."
name: "proxyOptions"
type: "<xref href=\"com.azure.core.amqp.ProxyOptions?alt=com.azure.core.amqp.ProxyOptions&text=ProxyOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract T proxyOptions(ProxyOptions proxyOptions)"
desc: "Sets the proxy configuration to use. When a proxy is configured, <xref uid=\"com.azure.core.amqp.AmqpTransportType.AMQP_WEB_SOCKETS\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AmqpTransportType#AMQP_WEB_SOCKETS\"></xref> must be used for the transport type."
returns:
description: "Returns the same concrete type with the appropriate properties updated, to allow for fluent chaining of\n operations."
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.amqp.client.traits.AmqpTrait.retryOptions(com.azure.core.amqp.AmqpRetryOptions)"
fullName: "com.azure.core.amqp.client.traits.AmqpTrait<T>.retryOptions(AmqpRetryOptions retryOptions)"
name: "retryOptions(AmqpRetryOptions retryOptions)"
nameWithType: "AmqpTrait<T>.retryOptions(AmqpRetryOptions retryOptions)"
summary: "Sets the retry policy."
modifiers:
- "abstract"
parameters:
- description: "The retry options to use."
name: "retryOptions"
type: "<xref href=\"com.azure.core.amqp.AmqpRetryOptions?alt=com.azure.core.amqp.AmqpRetryOptions&text=AmqpRetryOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract T retryOptions(AmqpRetryOptions retryOptions)"
desc: "Sets the retry policy. If not specified, the default retry options are used."
returns:
description: "Returns the same concrete type with the appropriate properties updated, to allow for fluent chaining of\n operations."
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.amqp.client.traits.AmqpTrait.transportType(com.azure.core.amqp.AmqpTransportType)"
fullName: "com.azure.core.amqp.client.traits.AmqpTrait<T>.transportType(AmqpTransportType transport)"
name: "transportType(AmqpTransportType transport)"
nameWithType: "AmqpTrait<T>.transportType(AmqpTransportType transport)"
summary: "Sets the transport type by which all the communication with Azure service occurs."
modifiers:
- "abstract"
parameters:
- description: "The transport type to use."
name: "transport"
type: "<xref href=\"com.azure.core.amqp.AmqpTransportType?alt=com.azure.core.amqp.AmqpTransportType&text=AmqpTransportType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract T transportType(AmqpTransportType transport)"
desc: "Sets the transport type by which all the communication with Azure service occurs. The default value is <xref uid=\"com.azure.core.amqp.AmqpTransportType.AMQP\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AmqpTransportType#AMQP\"></xref>."
returns:
description: "Returns the same concrete type with the appropriate properties updated, to allow for fluent chaining of\n operations."
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
typeParameters:
- description: "The concrete type that implements the trait. This is required so that fluent operations can continue\n to return the concrete type, rather than the trait type."
name: "T"
desc: "An <xref uid=\"\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Azure SDK for Java trait\"></xref> providing a consistent interface for configuration of AMQP-specific settings."
metadata: {}
package: "com.azure.core.amqp.client.traits"
artifact: com.azure:azure-core-amqp:2.9.9