Class DhcpSearchDomainOption
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.vnmonitoring.model.DhcpOption
- 
- com.oracle.bmc.vnmonitoring.model.DhcpSearchDomainOption
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DhcpSearchDomainOption extends DhcpOptionDHCP option for specifying a search domain name for DNS queries.For more information, see DNS in Your Virtual Cloud Network. 
 Note: Objects should always be created or deserialized using theDhcpSearchDomainOption.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theDhcpSearchDomainOption.Builder, which maintain a set of all explicitly set fields calledDhcpSearchDomainOption.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDhcpSearchDomainOption.Builder
 - 
Constructor SummaryConstructors Constructor Description DhcpSearchDomainOption(List<String> searchDomainNames)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DhcpSearchDomainOption.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getSearchDomainNames()inthashCode()DhcpSearchDomainOption.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
DhcpSearchDomainOption@Deprecated public DhcpSearchDomainOption(List<String> searchDomainNames) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DhcpSearchDomainOption.Builder builder() Create a new builder.
 - 
toBuilderpublic DhcpSearchDomainOption.Builder toBuilder() 
 - 
getSearchDomainNamespublic List<String> getSearchDomainNames() A single search domain name according to RFC 952 and RFC 1123.During a DNS query, the OS will append this search domain name to the value being queried. If you set DhcpDnsOptionto VcnLocalPlusInternet, and you assign a DNS label to the VCN during creation, the search domain name in the VCN's default set of DHCP options is automatically set to the VCN domain (for example, vcn1.oraclevcn.com).If you don't want to use a search domain name, omit this option from the set of DHCP options. Do not include this option with an empty list of search domain names, or with an empty string as the value for any search domain name. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- DhcpOption
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- DhcpOption
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- DhcpOption
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- DhcpOption
 
 
- 
 
-