Class RewrapKeyOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

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

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

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

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

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