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

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

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

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

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

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

        public GetKeyVersionsOptions.Builder totalCount​(Boolean totalCount)
        Set the totalCount.
        Parameters:
        totalCount - the totalCount
        Returns:
        the GetKeyVersionsOptions builder
      • allKeyStates

        public GetKeyVersionsOptions.Builder allKeyStates​(Boolean allKeyStates)
        Set the allKeyStates.
        Parameters:
        allKeyStates - the allKeyStates
        Returns:
        the GetKeyVersionsOptions builder