Class PolicyRole.Builder

  • Enclosing class:
    PolicyRole

    public static class PolicyRole.Builder
    extends java.lang.Object
    Builder.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Instantiates a new builder.
      Builder​(java.lang.String roleId)
      Instantiates a new builder with required properties.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public PolicyRole build()
        Builds a PolicyRole.
        Returns:
        the new PolicyRole instance
      • roleId

        public PolicyRole.Builder roleId​(java.lang.String roleId)
        Set the roleId.
        Parameters:
        roleId - the roleId
        Returns:
        the PolicyRole builder