Class GetKeysOptions.Builder

  • Enclosing class:
    GetKeysOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public GetKeysOptions build()
        Builds a GetKeysOptions.
        Returns:
        the new GetKeysOptions instance
      • addState

        public GetKeysOptions.Builder addState​(Long state)
        Adds a new element to state.
        Parameters:
        state - the new element to be added
        Returns:
        the GetKeysOptions builder
      • bluemixInstance

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

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

        public GetKeysOptions.Builder limit​(long limit)
        Set the limit.
        Parameters:
        limit - the limit
        Returns:
        the GetKeysOptions builder
      • offset

        public GetKeysOptions.Builder offset​(long offset)
        Set the offset.
        Parameters:
        offset - the offset
        Returns:
        the GetKeysOptions builder
      • state

        public GetKeysOptions.Builder state​(List<Long> state)
        Set the state. Existing state will be replaced.
        Parameters:
        state - the state
        Returns:
        the GetKeysOptions builder
      • extractable

        public GetKeysOptions.Builder extractable​(Boolean extractable)
        Set the extractable.
        Parameters:
        extractable - the extractable
        Returns:
        the GetKeysOptions builder
      • search

        public GetKeysOptions.Builder search​(String search)
        Set the search.
        Parameters:
        search - the search
        Returns:
        the GetKeysOptions builder
      • filter

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

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