Package com.ibm.cloud.is.vpc.v1.model
Class LoadBalancerDNSPatch
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.LoadBalancerDNSPatch
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class LoadBalancerDNSPatch extends com.ibm.cloud.sdk.core.service.model.GenericModel
The DNS configuration for this load balancer. Specify `null` to remove the existing DNS configuration, which will remove all DNS `A` records for this load balancer that had been added to `zone`, and add equivalent `A` records to the public DNS zone `lb.appdomain.cloud`. Not supported by private path load balancers.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LoadBalancerDNSPatch.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DNSInstanceIdentity
instance()
Gets the instance.LoadBalancerDNSPatch.Builder
newBuilder()
New builder.DNSZoneIdentity
zone()
Gets the zone.
-
-
-
Method Detail
-
newBuilder
public LoadBalancerDNSPatch.Builder newBuilder()
New builder.- Returns:
- a LoadBalancerDNSPatch builder
-
instance
public DNSInstanceIdentity instance()
Gets the instance. The DNS instance to associate with this load balancer. The specified instance may be in a different region or account, subject to IAM policies.- Returns:
- the instance
-
zone
public DNSZoneIdentity zone()
Gets the zone. The DNS zone to associate with this load balancer. The specified zone may be in a different region or account, subject to IAM policies.- Returns:
- the zone
-
-