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

33 строки
3.4 KiB
YAML
Исходник Обычный вид История

### YamlMime:JavaType
uid: "com.azure.core.client.traits.AzureSasCredentialTrait"
fullName: "com.azure.core.client.traits.AzureSasCredentialTrait<T>"
name: "AzureSasCredentialTrait<T>"
nameWithType: "AzureSasCredentialTrait<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 <xref uid=\"com.azure.core.credential.AzureSasCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureSasCredential\"></xref>."
syntax: "public interface **AzureSasCredentialTrait<T>**"
methods:
- uid: "com.azure.core.client.traits.AzureSasCredentialTrait.credential(com.azure.core.credential.AzureSasCredential)"
fullName: "com.azure.core.client.traits.AzureSasCredentialTrait<T>.credential(AzureSasCredential credential)"
name: "credential(AzureSasCredential credential)"
nameWithType: "AzureSasCredentialTrait<T>.credential(AzureSasCredential credential)"
summary: "Sets the <xref uid=\"com.azure.core.credential.AzureSasCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureSasCredential\"></xref> used for authentication."
modifiers:
- "abstract"
parameters:
- description: "the <xref uid=\"com.azure.core.credential.AzureSasCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureSasCredential\"></xref> to be used for authentication."
name: "credential"
type: "<xref href=\"com.azure.core.credential.AzureSasCredential?alt=com.azure.core.credential.AzureSasCredential&text=AzureSasCredential\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract T credential(AzureSasCredential credential)"
desc: "Sets the <xref uid=\"com.azure.core.credential.AzureSasCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureSasCredential\"></xref> used for authentication. Refer to the Azure SDK for Java [identity and authentication][] documentation for more details on proper usage of the <xref uid=\"com.azure.core.credential.AzureSasCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureSasCredential\"></xref> type.\n\n\n[identity and authentication]: https://aka.ms/azsdk/java/docs/identity"
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 <xref uid=\"com.azure.core.credential.AzureSasCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureSasCredential\"></xref>. Refer to the Azure SDK for Java [identity and authentication][] documentation for more details on proper usage of the <xref uid=\"com.azure.core.credential.AzureSasCredential\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureSasCredential\"></xref> type.\n\n\n[identity and authentication]: https://aka.ms/azsdk/java/docs/identity"
metadata: {}
package: "com.azure.core.client.traits"
artifact: com.azure:azure-core:1.52.0