public static class HeaderValidationItem.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HeaderValidationItem |
build() |
HeaderValidationItem.Builder |
copy(HeaderValidationItem model) |
HeaderValidationItem.Builder |
name(String name)
Parameter name.
|
HeaderValidationItem.Builder |
required(Boolean required)
Determines if the header is required in the request.
|
public HeaderValidationItem.Builder required(Boolean required)
Determines if the header is required in the request.
required
- the value to setpublic HeaderValidationItem.Builder name(String name)
Parameter name.
name
- the value to setpublic HeaderValidationItem build()
public HeaderValidationItem.Builder copy(HeaderValidationItem model)
Copyright © 2016–2024. All rights reserved.