Class ListSecretsOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public ListSecretsOptions build()
        Builds a ListSecretsOptions.
        Returns:
        the new ListSecretsOptions instance
      • addGroups

        public ListSecretsOptions.Builder addGroups​(String groups)
        Adds a new element to groups.
        Parameters:
        groups - the new element to be added
        Returns:
        the ListSecretsOptions builder
      • addSecretTypes

        public ListSecretsOptions.Builder addSecretTypes​(String secretTypes)
        Adds a new element to secretTypes.
        Parameters:
        secretTypes - the new element to be added
        Returns:
        the ListSecretsOptions builder
      • addMatchAllLabels

        public ListSecretsOptions.Builder addMatchAllLabels​(String matchAllLabels)
        Adds a new element to matchAllLabels.
        Parameters:
        matchAllLabels - the new element to be added
        Returns:
        the ListSecretsOptions builder
      • offset

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

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

        public ListSecretsOptions.Builder groups​(List<String> groups)
        Set the groups. Existing groups will be replaced.
        Parameters:
        groups - the groups
        Returns:
        the ListSecretsOptions builder
      • secretTypes

        public ListSecretsOptions.Builder secretTypes​(List<String> secretTypes)
        Set the secretTypes. Existing secretTypes will be replaced.
        Parameters:
        secretTypes - the secretTypes
        Returns:
        the ListSecretsOptions builder
      • matchAllLabels

        public ListSecretsOptions.Builder matchAllLabels​(List<String> matchAllLabels)
        Set the matchAllLabels. Existing matchAllLabels will be replaced.
        Parameters:
        matchAllLabels - the matchAllLabels
        Returns:
        the ListSecretsOptions builder