Class PostImportTokenOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(String bluemixInstance)
        Instantiates a new builder with required properties.
        Parameters:
        bluemixInstance - the bluemixInstance
    • Method Detail

      • build

        public PostImportTokenOptions build()
        Builds a PostImportTokenOptions.
        Returns:
        the new PostImportTokenOptions instance
      • bluemixInstance

        public PostImportTokenOptions.Builder bluemixInstance​(String bluemixInstance)
        Set the bluemixInstance.
        Parameters:
        bluemixInstance - the bluemixInstance
        Returns:
        the PostImportTokenOptions builder
      • expiration

        public PostImportTokenOptions.Builder expiration​(Double expiration)
        Set the expiration.
        Parameters:
        expiration - the expiration
        Returns:
        the PostImportTokenOptions builder
      • maxAllowedRetrievals

        public PostImportTokenOptions.Builder maxAllowedRetrievals​(Double maxAllowedRetrievals)
        Set the maxAllowedRetrievals.
        Parameters:
        maxAllowedRetrievals - the maxAllowedRetrievals
        Returns:
        the PostImportTokenOptions builder
      • correlationId

        public PostImportTokenOptions.Builder correlationId​(String correlationId)
        Set the correlationId.
        Parameters:
        correlationId - the correlationId
        Returns:
        the PostImportTokenOptions builder
      • xKmsKeyRing

        public PostImportTokenOptions.Builder xKmsKeyRing​(String xKmsKeyRing)
        Set the xKmsKeyRing.
        Parameters:
        xKmsKeyRing - the xKmsKeyRing
        Returns:
        the PostImportTokenOptions builder