Class WrapKeyOptions.Builder

  • Enclosing class:
    WrapKeyOptions

    public static class WrapKeyOptions.Builder
    extends Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

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

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

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

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

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