Class HealthcheckHeader.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.dns_svcs.v1.model.HealthcheckHeader.Builder
-
- Enclosing class:
- HealthcheckHeader
public static class HealthcheckHeader.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthcheckHeader.Builder
addValue(String value)
Adds an value to value.HealthcheckHeader
build()
Builds a HealthcheckHeader.HealthcheckHeader.Builder
name(String name)
Set the name.HealthcheckHeader.Builder
value(List<String> value)
Set the value.
-
-
-
Method Detail
-
build
public HealthcheckHeader build()
Builds a HealthcheckHeader.- Returns:
- the new HealthcheckHeader instance
-
addValue
public HealthcheckHeader.Builder addValue(String value)
Adds an value to value.- Parameters:
value
- the new value- Returns:
- the HealthcheckHeader builder
-
name
public HealthcheckHeader.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the HealthcheckHeader builder
-
value
public HealthcheckHeader.Builder value(List<String> value)
Set the value. Existing value will be replaced.- Parameters:
value
- the value- Returns:
- the HealthcheckHeader builder
-
-