Class RestoreKeyOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

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

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

        public RestoreKeyOptions.Builder keyRestoreBody​(InputStream keyRestoreBody)
        Set the keyRestoreBody.
        Parameters:
        keyRestoreBody - the keyRestoreBody
        Returns:
        the RestoreKeyOptions builder
      • correlationId

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

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

        public RestoreKeyOptions.Builder prefer​(String prefer)
        Set the prefer.
        Parameters:
        prefer - the prefer
        Returns:
        the RestoreKeyOptions builder