Class BackendCredentialsContract


  • public final class BackendCredentialsContract
    extends Object
    Details of the Credentials used to connect to Backend.
    • Constructor Detail

      • BackendCredentialsContract

        public BackendCredentialsContract()
    • 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.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.