Class LocalPolicyTargetReference
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.gatewayapi.v1alpha2.LocalPolicyTargetReference
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<LocalPolicyTargetReferenceBuilder>
,io.fabric8.kubernetes.api.model.KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class LocalPolicyTargetReference extends Object implements io.fabric8.kubernetes.api.builder.Editable<LocalPolicyTargetReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
LocalPolicyTargetReference identifies an API object to apply a direct or inherited policy to. This should be used as part of Policy resources that can target Gateway API resources. For more information on how this policy attachment model works, and a sample Policy resource, refer to the policy attachment documentation for Gateway API.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocalPolicyTargetReference()
No args constructor for use in serializationLocalPolicyTargetReference(String group, String kind, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalPolicyTargetReferenceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getGroup()
Group is the group of the target resource.String
getKind()
Kind is kind of the target resource.String
getName()
Name is the name of the target resource.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setGroup(String group)
Group is the group of the target resource.void
setKind(String kind)
Kind is kind of the target resource.void
setName(String name)
Name is the name of the target resource.LocalPolicyTargetReferenceBuilder
toBuilder()
-
-
-
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.
-
edit
public LocalPolicyTargetReferenceBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<LocalPolicyTargetReferenceBuilder>
-
toBuilder
public LocalPolicyTargetReferenceBuilder toBuilder()
-
-