Class GetKeyOptions.Builder

  • Enclosing class:
    GetKeyOptions

    public static class GetKeyOptions.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 GetKeyOptions build()
        Builds a GetKeyOptions.
        Returns:
        the new GetKeyOptions instance
      • bluemixInstance

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

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

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