BackendCredentialsContract Class
- java.
lang. Object - com.
azure. resourcemanager. apimanagement. models. BackendCredentialsContract
- com.
public final class BackendCredentialsContract
Details of the Credentials used to connect to Backend.
Constructor Summary
Constructor | Description |
---|---|
BackendCredentialsContract() |
Creates an instance of Backend |
Method Summary
Modifier and Type | Method and Description |
---|---|
Backend |
authorization()
Get the authorization property: Authorization header authentication. |
List<String> |
certificate()
Get the certificate property: List of Client Certificate Thumbprints. |
List<String> |
certificateIds()
Get the certificate |
Map<String,List<String>> |
headerProperty()
Get the header |
Map<String,List<String>> |
query()
Get the query property: Query Parameter description. |
void |
validate()
Validates the instance. |
Backend |
withAuthorization(BackendAuthorizationHeaderCredentials authorization)
Set the authorization property: Authorization header authentication. |
Backend |
withCertificate(List<String> certificate)
Set the certificate property: List of Client Certificate Thumbprints. |
Backend |
withCertificateIds(List<String> certificateIds)
Set the certificate |
Backend |
withHeaderProperty(Map<String,List<String>> headerProperty)
Set the header |
Backend |
withQuery(Map<String,List<String>> query)
Set the query property: Query Parameter description. |
Methods inherited from java.lang.Object
Constructor Details
BackendCredentialsContract
public BackendCredentialsContract()
Creates an instance of BackendCredentialsContract class.
Method Details
authorization
public BackendAuthorizationHeaderCredentials authorization()
Get the authorization property: Authorization header authentication.
Returns:
certificate
public List
Get the certificate property: List of Client Certificate Thumbprints. Will be ignored if certificatesIds are provided.
Returns:
certificateIds
public List
Get the certificateIds property: List of Client Certificate Ids.
Returns:
headerProperty
public Map<>
Get the headerProperty property: Header Parameter description.
Returns:
query
public Map<>
Get the query property: Query Parameter description.
Returns:
validate
public void validate()
Validates the instance.
withAuthorization
public BackendCredentialsContract withAuthorization(BackendAuthorizationHeaderCredentials authorization)
Set the authorization property: Authorization header authentication.
Parameters:
Returns:
withCertificate
public BackendCredentialsContract withCertificate(List
Set the certificate property: List of Client Certificate Thumbprints. Will be ignored if certificatesIds are provided.
Parameters:
Returns:
withCertificateIds
public BackendCredentialsContract withCertificateIds(List
Set the certificateIds property: List of Client Certificate Ids.
Parameters:
Returns:
withHeaderProperty
public BackendCredentialsContract withHeaderProperty(Map<>
Set the headerProperty property: Header Parameter description.
Parameters:
Returns:
withQuery
public BackendCredentialsContract withQuery(Map<>
Set the query property: Query Parameter description.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for