Class IngressControllerCaptureHTTPCookieUnion
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.IngressControllerCaptureHTTPCookieUnion
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<IngressControllerCaptureHTTPCookieUnionBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class IngressControllerCaptureHTTPCookieUnion extends Object implements io.fabric8.kubernetes.api.builder.Editable<IngressControllerCaptureHTTPCookieUnionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
IngressControllerCaptureHTTPCookieUnion describes optional fields of an HTTP cookie that should be captured.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IngressControllerCaptureHTTPCookieUnion()No args constructor for use in serializationIngressControllerCaptureHTTPCookieUnion(String matchType, String name, String namePrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngressControllerCaptureHTTPCookieUnionBuilderedit()Map<String,Object>getAdditionalProperties()StringgetMatchType()matchType specifies the type of match to be performed on the cookie name.StringgetName()name specifies a cookie name.StringgetNamePrefix()namePrefix specifies a cookie name prefix.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMatchType(String matchType)matchType specifies the type of match to be performed on the cookie name.voidsetName(String name)name specifies a cookie name.voidsetNamePrefix(String namePrefix)namePrefix specifies a cookie name prefix.IngressControllerCaptureHTTPCookieUnionBuildertoBuilder()
-
-
-
Method Detail
-
getMatchType
public String getMatchType()
matchType specifies the type of match to be performed on the cookie name. Allowed values are "Exact" for an exact string match and "Prefix" for a string prefix match. If "Exact" is specified, a name must be specified in the name field. If "Prefix" is provided, a prefix must be specified in the namePrefix field. For example, specifying matchType "Prefix" and namePrefix "foo" will capture a cookie named "foo" or "foobar" but not one named "bar". The first matching cookie is captured.
-
setMatchType
public void setMatchType(String matchType)
matchType specifies the type of match to be performed on the cookie name. Allowed values are "Exact" for an exact string match and "Prefix" for a string prefix match. If "Exact" is specified, a name must be specified in the name field. If "Prefix" is provided, a prefix must be specified in the namePrefix field. For example, specifying matchType "Prefix" and namePrefix "foo" will capture a cookie named "foo" or "foobar" but not one named "bar". The first matching cookie is captured.
-
getName
public String getName()
name specifies a cookie name. Its value must be a valid HTTP cookie name as defined in RFC 6265 section 4.1.
-
setName
public void setName(String name)
name specifies a cookie name. Its value must be a valid HTTP cookie name as defined in RFC 6265 section 4.1.
-
getNamePrefix
public String getNamePrefix()
namePrefix specifies a cookie name prefix. Its value must be a valid HTTP cookie name as defined in RFC 6265 section 4.1.
-
setNamePrefix
public void setNamePrefix(String namePrefix)
namePrefix specifies a cookie name prefix. Its value must be a valid HTTP cookie name as defined in RFC 6265 section 4.1.
-
edit
public IngressControllerCaptureHTTPCookieUnionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<IngressControllerCaptureHTTPCookieUnionBuilder>
-
toBuilder
public IngressControllerCaptureHTTPCookieUnionBuilder toBuilder()
-
-