Class PatchKeyOptions.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 PatchKeyOptions build()
        Builds a PatchKeyOptions.
        Returns:
        the new PatchKeyOptions instance
      • bluemixInstance

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

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

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

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