Class TokenApplyingOptions

    • Field Detail

      • name

        protected String name
        The name of the service/node
      • datacenters

        protected List<String> datacenters
        Specifies the datacenters the policy is valid within
    • Constructor Detail

      • TokenApplyingOptions

        public TokenApplyingOptions()
    • Method Detail

      • getName

        public String getName()
      • setName

        public TokenApplyingOptions setName​(String name)
        Sets a name
        Parameters:
        name - - must be no longer than 256 characters, must start and end with a lowercase alphanumeric character, and can only contain lowercase alphanumeric characters as well as '-' and '_'.
      • getDatacenters

        public List<String> getDatacenters()
      • setDatacenters

        public TokenApplyingOptions setDatacenters​(List<String> datacenters)
        Sets an optional datacenters. By default, the policy is valid in all datacenters
        Parameters:
        datacenters - list of datacenters
        See Also:
        datacenters