BackendCredentialsContract Class

  • java.lang.Object
    • com.azure.resourcemanager.apimanagement.models.BackendCredentialsContract

public final class BackendCredentialsContract

Details of the Credentials used to connect to Backend.

Constructor Summary

Constructor Description
BackendCredentialsContract()

Creates an instance of BackendCredentialsContract class.

Method Summary

Modifier and Type Method and 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.

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:

the authorization value.

certificate

public List certificate()

Get the certificate property: List of Client Certificate Thumbprints. Will be ignored if certificatesIds are provided.

Returns:

the certificate value.

certificateIds

public List certificateIds()

Get the certificateIds property: List of Client Certificate Ids.

Returns:

the certificateIds value.

headerProperty

public Map<>> headerProperty()

Get the headerProperty property: Header Parameter description.

Returns:

the headerProperty value.

query

public Map<>> query()

Get the query property: Query Parameter description.

Returns:

the query value.

validate

public void validate()

Validates the instance.

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.

withCertificate

public BackendCredentialsContract withCertificate(List 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.

withCertificateIds

public BackendCredentialsContract withCertificateIds(List certificateIds)

Set the certificateIds property: List of Client Certificate Ids.

Parameters:

certificateIds - the certificateIds value to set.

Returns:

the BackendCredentialsContract object itself.

withHeaderProperty

public BackendCredentialsContract withHeaderProperty(Map<>> headerProperty)

Set the headerProperty property: Header Parameter description.

Parameters:

headerProperty - the headerProperty value to set.

Returns:

the BackendCredentialsContract object itself.

withQuery

public BackendCredentialsContract withQuery(Map<>> query)

Set the query property: Query Parameter description.

Parameters:

query - the query value to set.

Returns:

the BackendCredentialsContract object itself.

Applies to