Class CertificatesImpl

  • All Implemented Interfaces:
    Certificates

    public class CertificatesImpl
    extends Object
    implements Certificates
    An instance of this class provides access to all the operations defined in Certificates.
    • Constructor Detail

      • CertificatesImpl

        public CertificatesImpl​(retrofit2.Retrofit retrofit,
                                FIFAConnectServiceBusV3Impl client)
        Initializes an instance of Certificates.
        Parameters:
        retrofit - the Retrofit instance built from a Retrofit Builder.
        client - the instance of the service client containing this operation class.
    • Method Detail

      • upload

        public Object upload​(byte[] body)
        Uploads a public certificate to Connect Service Bus.
        Specified by:
        upload in interface Certificates
        Parameters:
        body - A byte array that contains data for an X.509 certificate.
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • uploadAsync

        public com.microsoft.rest.ServiceFuture<Object> uploadAsync​(byte[] body,
                                                                    com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Uploads a public certificate to Connect Service Bus.
        Specified by:
        uploadAsync in interface Certificates
        Parameters:
        body - A byte array that contains data for an X.509 certificate.
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • uploadAsync

        public rx.Observable<Object> uploadAsync​(byte[] body)
        Uploads a public certificate to Connect Service Bus.
        Specified by:
        uploadAsync in interface Certificates
        Parameters:
        body - A byte array that contains data for an X.509 certificate.
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • uploadWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> uploadWithServiceResponseAsync​(byte[] body)
        Uploads a public certificate to Connect Service Bus.
        Specified by:
        uploadWithServiceResponseAsync in interface Certificates
        Parameters:
        body - A byte array that contains data for an X.509 certificate.
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • downloadByQueueidentifier

        public Object downloadByQueueidentifier​(String queueIdentifier)
        Gets a byte array that contains data from an X.509 certificate for a given queue.
        Specified by:
        downloadByQueueidentifier in interface Certificates
        Parameters:
        queueIdentifier - FIFA Unique Identifier with possible system name suffix
        Returns:
        the Object object if successful.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
        com.microsoft.rest.RestException - thrown if the request is rejected by server
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent
      • downloadByQueueidentifierAsync

        public com.microsoft.rest.ServiceFuture<Object> downloadByQueueidentifierAsync​(String queueIdentifier,
                                                                                       com.microsoft.rest.ServiceCallback<Object> serviceCallback)
        Gets a byte array that contains data from an X.509 certificate for a given queue.
        Specified by:
        downloadByQueueidentifierAsync in interface Certificates
        Parameters:
        queueIdentifier - FIFA Unique Identifier with possible system name suffix
        serviceCallback - the async ServiceCallback to handle successful and failed responses.
        Returns:
        the ServiceFuture object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • downloadByQueueidentifierAsync

        public rx.Observable<Object> downloadByQueueidentifierAsync​(String queueIdentifier)
        Gets a byte array that contains data from an X.509 certificate for a given queue.
        Specified by:
        downloadByQueueidentifierAsync in interface Certificates
        Parameters:
        queueIdentifier - FIFA Unique Identifier with possible system name suffix
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation
      • downloadByQueueidentifierWithServiceResponseAsync

        public rx.Observable<com.microsoft.rest.ServiceResponse<Object>> downloadByQueueidentifierWithServiceResponseAsync​(String queueIdentifier)
        Gets a byte array that contains data from an X.509 certificate for a given queue.
        Specified by:
        downloadByQueueidentifierWithServiceResponseAsync in interface Certificates
        Parameters:
        queueIdentifier - FIFA Unique Identifier with possible system name suffix
        Returns:
        the observable to the Object object
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation