Class LocalPolicyTargetReferenceWithSectionName

    • Constructor Detail

      • LocalPolicyTargetReferenceWithSectionName

        public LocalPolicyTargetReferenceWithSectionName()
        No args constructor for use in serialization
      • LocalPolicyTargetReferenceWithSectionName

        public LocalPolicyTargetReferenceWithSectionName​(String group,
                                                         String kind,
                                                         String name,
                                                         String sectionName)
    • Method Detail

      • getGroup

        public String getGroup()
        Group is the group of the target resource.
      • setGroup

        public void setGroup​(String group)
        Group is the group of the target resource.
      • getKind

        public String getKind()
        Kind is kind of the target resource.
      • setKind

        public void setKind​(String kind)
        Kind is kind of the target resource.
      • getName

        public String getName()
        Name is the name of the target resource.
      • setName

        public void setName​(String name)
        Name is the name of the target resource.
      • getSectionName

        public String getSectionName()
        SectionName is the name of a section within the target resource. When unspecified, this targetRef targets the entire resource. In the following resources, SectionName is interpreted as the following:


        * Gateway: Listener name * HTTPRoute: HTTPRouteRule name * Service: Port name


        If a SectionName is specified, but does not exist on the targeted object, the Policy must fail to attach, and the policy implementation should record a `ResolvedRefs` or similar Condition in the Policy's status.

      • setSectionName

        public void setSectionName​(String sectionName)
        SectionName is the name of a section within the target resource. When unspecified, this targetRef targets the entire resource. In the following resources, SectionName is interpreted as the following:


        * Gateway: Listener name * HTTPRoute: HTTPRouteRule name * Service: Port name


        If a SectionName is specified, but does not exist on the targeted object, the Policy must fail to attach, and the policy implementation should record a `ResolvedRefs` or similar Condition in the Policy's status.

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)