Class BackendCredentialsContract
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.BackendCredentialsContract
-
public final class BackendCredentialsContract extends Object
Details of the Credentials used to connect to Backend.
-
-
Constructor Summary
Constructors Constructor Description BackendCredentialsContract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackendAuthorizationHeaderCredentials
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 certificateIds property: List of Client Certificate Ids.Map<String,List<String>>
headerProperty()
Get the headerProperty property: Header Parameter description.Map<String,List<String>>
query()
Get the query property: Query Parameter description.void
validate()
Validates the instance.BackendCredentialsContract
withAuthorization(BackendAuthorizationHeaderCredentials authorization)
Set the authorization property: Authorization header authentication.BackendCredentialsContract
withCertificate(List<String> certificate)
Set the certificate property: List of Client Certificate Thumbprints.BackendCredentialsContract
withCertificateIds(List<String> certificateIds)
Set the certificateIds property: List of Client Certificate Ids.BackendCredentialsContract
withHeaderProperty(Map<String,List<String>> headerProperty)
Set the headerProperty property: Header Parameter description.BackendCredentialsContract
withQuery(Map<String,List<String>> query)
Set the query property: Query Parameter description.
-
-
-
Method Detail
-
certificateIds
public List<String> certificateIds()
Get the certificateIds property: List of Client Certificate Ids.- Returns:
- the certificateIds value.
-
withCertificateIds
public BackendCredentialsContract withCertificateIds(List<String> certificateIds)
Set the certificateIds property: List of Client Certificate Ids.- Parameters:
certificateIds
- the certificateIds value to set.- Returns:
- the BackendCredentialsContract object itself.
-
certificate
public List<String> certificate()
Get the certificate property: List of Client Certificate Thumbprints. Will be ignored if certificatesIds are provided.- Returns:
- the certificate value.
-
withCertificate
public BackendCredentialsContract withCertificate(List<String> certificate)
Set the certificate property: List of Client Certificate Thumbprints. Will be ignored if certificatesIds are provided.- Parameters:
certificate
- the certificate value to set.- Returns:
- the BackendCredentialsContract object itself.
-
query
public Map<String,List<String>> query()
Get the query property: Query Parameter description.- Returns:
- the query value.
-
withQuery
public BackendCredentialsContract withQuery(Map<String,List<String>> query)
Set the query property: Query Parameter description.- Parameters:
query
- the query value to set.- Returns:
- the BackendCredentialsContract object itself.
-
headerProperty
public Map<String,List<String>> headerProperty()
Get the headerProperty property: Header Parameter description.- Returns:
- the headerProperty value.
-
withHeaderProperty
public BackendCredentialsContract withHeaderProperty(Map<String,List<String>> headerProperty)
Set the headerProperty property: Header Parameter description.- Parameters:
headerProperty
- the headerProperty value to set.- Returns:
- the BackendCredentialsContract object itself.
-
authorization
public BackendAuthorizationHeaderCredentials authorization()
Get the authorization property: Authorization header authentication.- Returns:
- the authorization value.
-
withAuthorization
public BackendCredentialsContract withAuthorization(BackendAuthorizationHeaderCredentials authorization)
Set the authorization property: Authorization header authentication.- Parameters:
authorization
- the authorization value to set.- Returns:
- the BackendCredentialsContract object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-