Package io.fabric8.openshift.api.model
Class RouteHTTPHeaderActionUnion
- java.lang.Object
-
- io.fabric8.openshift.api.model.RouteHTTPHeaderActionUnion
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<RouteHTTPHeaderActionUnionBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RouteHTTPHeaderActionUnion extends Object implements io.fabric8.kubernetes.api.builder.Editable<RouteHTTPHeaderActionUnionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
RouteHTTPHeaderActionUnion specifies an action to take on an HTTP header.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RouteHTTPHeaderActionUnion()No args constructor for use in serializationRouteHTTPHeaderActionUnion(RouteSetHTTPHeader set, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteHTTPHeaderActionUnionBuilderedit()Map<String,Object>getAdditionalProperties()RouteSetHTTPHeadergetSet()RouteHTTPHeaderActionUnion specifies an action to take on an HTTP header.StringgetType()type defines the type of the action to be applied on the header.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetSet(RouteSetHTTPHeader set)RouteHTTPHeaderActionUnion specifies an action to take on an HTTP header.voidsetType(String type)type defines the type of the action to be applied on the header.RouteHTTPHeaderActionUnionBuildertoBuilder()
-
-
-
Constructor Detail
-
RouteHTTPHeaderActionUnion
public RouteHTTPHeaderActionUnion()
No args constructor for use in serialization
-
RouteHTTPHeaderActionUnion
public RouteHTTPHeaderActionUnion(RouteSetHTTPHeader set, String type)
-
-
Method Detail
-
getSet
public RouteSetHTTPHeader getSet()
RouteHTTPHeaderActionUnion specifies an action to take on an HTTP header.
-
setSet
public void setSet(RouteSetHTTPHeader set)
RouteHTTPHeaderActionUnion specifies an action to take on an HTTP header.
-
getType
public String getType()
type defines the type of the action to be applied on the header. Possible values are Set or Delete. Set allows you to set HTTP request and response headers. Delete allows you to delete HTTP request and response headers.
-
setType
public void setType(String type)
type defines the type of the action to be applied on the header. Possible values are Set or Delete. Set allows you to set HTTP request and response headers. Delete allows you to delete HTTP request and response headers.
-
edit
public RouteHTTPHeaderActionUnionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<RouteHTTPHeaderActionUnionBuilder>
-
toBuilder
public RouteHTTPHeaderActionUnionBuilder toBuilder()
-
-