Class OriginInput.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.dns_svcs.v1.model.OriginInput.Builder
-
- Enclosing class:
- OriginInput
public static class OriginInput.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OriginInput.Builder
address(String address)
Set the address.OriginInput
build()
Builds a OriginInput.OriginInput.Builder
description(String description)
Set the description.OriginInput.Builder
enabled(Boolean enabled)
Set the enabled.OriginInput.Builder
name(String name)
Set the name.
-
-
-
Method Detail
-
build
public OriginInput build()
Builds a OriginInput.- Returns:
- the new OriginInput instance
-
name
public OriginInput.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the OriginInput builder
-
description
public OriginInput.Builder description(String description)
Set the description.- Parameters:
description
- the description- Returns:
- the OriginInput builder
-
address
public OriginInput.Builder address(String address)
Set the address.- Parameters:
address
- the address- Returns:
- the OriginInput builder
-
enabled
public OriginInput.Builder enabled(Boolean enabled)
Set the enabled.- Parameters:
enabled
- the enabled- Returns:
- the OriginInput builder
-
-