public static class CreateZoneOptions.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
| Modifier and Type | Method and Description |
|---|---|
CreateZoneOptions.Builder |
accountId(java.lang.String accountId)
Set the accountId.
|
CreateZoneOptions.Builder |
addAddresses(Address addresses)
Adds an addresses to addresses.
|
CreateZoneOptions.Builder |
addExcluded(Address excluded)
Adds an excluded to excluded.
|
CreateZoneOptions.Builder |
addresses(java.util.List<Address> addresses)
Set the addresses.
|
CreateZoneOptions |
build()
Builds a CreateZoneOptions.
|
CreateZoneOptions.Builder |
description(java.lang.String description)
Set the description.
|
CreateZoneOptions.Builder |
excluded(java.util.List<Address> excluded)
Set the excluded.
|
CreateZoneOptions.Builder |
name(java.lang.String name)
Set the name.
|
CreateZoneOptions.Builder |
transactionId(java.lang.String transactionId)
Set the transactionId.
|
CreateZoneOptions.Builder |
xCorrelationId(java.lang.String xCorrelationId)
Set the xCorrelationId.
|
public CreateZoneOptions build()
public CreateZoneOptions.Builder addAddresses(Address addresses)
addresses - the new addressespublic CreateZoneOptions.Builder addExcluded(Address excluded)
excluded - the new excludedpublic CreateZoneOptions.Builder name(java.lang.String name)
name - the namepublic CreateZoneOptions.Builder accountId(java.lang.String accountId)
accountId - the accountIdpublic CreateZoneOptions.Builder description(java.lang.String description)
description - the descriptionpublic CreateZoneOptions.Builder addresses(java.util.List<Address> addresses)
addresses - the addressespublic CreateZoneOptions.Builder excluded(java.util.List<Address> excluded)
excluded - the excludedpublic CreateZoneOptions.Builder xCorrelationId(java.lang.String xCorrelationId)
xCorrelationId - the xCorrelationIdpublic CreateZoneOptions.Builder transactionId(java.lang.String transactionId)
transactionId - the transactionIdCopyright © 2022 IBM Cloud Platform Services. All rights reserved.