33 строки
1.9 KiB
YAML
33 строки
1.9 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.core.client.traits.EndpointTrait"
|
|
fullName: "com.azure.core.client.traits.EndpointTrait<T>"
|
|
name: "EndpointTrait<T>"
|
|
nameWithType: "EndpointTrait<T>"
|
|
summary: "An <xref uid=\"com.azure.core.client.traits\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Azure SDK for Java trait\"></xref> providing a consistent interface for setting service endpoints."
|
|
syntax: "public interface **EndpointTrait<T>**"
|
|
methods:
|
|
- uid: "com.azure.core.client.traits.EndpointTrait.endpoint(java.lang.String)"
|
|
fullName: "com.azure.core.client.traits.EndpointTrait<T>.endpoint(String endpoint)"
|
|
name: "endpoint(String endpoint)"
|
|
nameWithType: "EndpointTrait<T>.endpoint(String endpoint)"
|
|
summary: "Sets the service endpoint that will be connected to by clients."
|
|
modifiers:
|
|
- "abstract"
|
|
parameters:
|
|
- description: "The URL of the service endpoint."
|
|
name: "endpoint"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public abstract T endpoint(String endpoint)"
|
|
desc: "Sets the service endpoint that will be connected to by clients."
|
|
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=\"com.azure.core.client.traits\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Azure SDK for Java trait\"></xref> providing a consistent interface for setting service endpoints."
|
|
metadata: {}
|
|
package: "com.azure.core.client.traits"
|
|
artifact: com.azure:azure-core:1.52.0
|