com.oracle.bmc.dns.model.Zone类的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(4.0k)|赞(0)|评价(0)|浏览(157)

本文整理了Java中com.oracle.bmc.dns.model.Zone类的一些代码示例,展示了Zone类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Zone类的具体详情如下:
包路径:com.oracle.bmc.dns.model.Zone
类名称:Zone

Zone介绍

[英]A DNS zone.

Warning:* Oracle recommends that you avoid using any confidential information when you supply string values using the API.
Note: Objects should always be created or deserialized using the 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 the Builder, which maintain a set of all explicitly set fields called #explicitlySet. The #hashCode() and #equals(Object) methods are implemented to take #explicitlySet into account. The constructor, on the other hand, does not set #explicitlySet(since the constructor cannot distinguish explicit null from unset null).
[中]DNS区域。
警告:*Oracle建议您在使用API提供字符串值时避免使用任何机密信息。
注意:应始终使用生成器创建或反序列化对象。此模型区分空字段,因为它们未设置,而字段显式设置为空。这是在构建器的setter方法中完成的,该方法维护一组所有显式设置的字段,称为#u_uexplicitlyset_u。#hashCode()和#equals(Object)方法的实现考虑了#uu明确地设置u。另一方面,构造函数不显式地设置#uu_u_u_u(因为构造函数无法区分显式null和未设置null)。

代码示例

代码示例来源:origin: oracle/oci-java-sdk

@com.fasterxml.jackson.annotation.JsonIgnore
  public Builder copy(Zone o) {
    Builder copiedBuilder =
        name(o.getName())
            .zoneType(o.getZoneType())
            .compartmentId(o.getCompartmentId())
            .freeformTags(o.getFreeformTags())
            .definedTags(o.getDefinedTags())
            .externalMasters(o.getExternalMasters())
            .self(o.getSelf())
            .id(o.getId())
            .timeCreated(o.getTimeCreated())
            .version(o.getVersion())
            .serial(o.getSerial())
            .lifecycleState(o.getLifecycleState())
            .nameservers(o.getNameservers());
    copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__);
    return copiedBuilder;
  }
}

代码示例来源:origin: oracle/oci-java-sdk

public Zone build() {
  Zone __instance__ =
      new Zone(
          name,
          zoneType,
          compartmentId,
          freeformTags,
          definedTags,
          externalMasters,
          self,
          id,
          timeCreated,
          version,
          serial,
          lifecycleState,
          nameservers);
  __instance__.__explicitlySet__.addAll(__explicitlySet__);
  return __instance__;
}

代码示例来源:origin: oracle/oci-java-sdk

GetDomainRecordsRequest.builder()
            .zoneNameOrId(zoneName)
            .zoneVersion(getZone(client, zoneName).getVersion())
            .domain(subdomain));
System.out.println();
        GetDomainRecordsRequest.builder()
            .zoneNameOrId(zoneName)
            .zoneVersion(getZone(client, zoneName).getVersion())
            .domain(subdomain));
System.out.println();
        GetDomainRecordsRequest.builder()
            .zoneNameOrId(zoneName)
            .zoneVersion(getZone(client, zoneName).getVersion())
            .domain(subdomain));
System.out.println();
        GetDomainRecordsRequest.builder()
            .zoneNameOrId(zoneName)
            .zoneVersion(getZone(client, zoneName).getVersion())
            .domain(subdomain));
System.out.println();

代码示例来源:origin: oracle/oci-java-sdk

GetRRSetRequest.builder()
    .zoneNameOrId(zoneName)
    .zoneVersion(getZone(client, zoneName).getVersion())
    .domain(subdomain)
    .rtype("TXT"));
GetRRSetRequest.builder()
    .zoneNameOrId(zoneName)
    .zoneVersion(getZone(client, zoneName).getVersion())
    .domain(subdomain)
    .rtype("TXT"));
GetRRSetRequest.builder()
    .zoneNameOrId(zoneName)
    .zoneVersion(getZone(client, zoneName).getVersion())
    .domain(subdomain)
    .rtype("TXT"));
GetRRSetRequest.builder()
    .zoneNameOrId(zoneName)
    .zoneVersion(getZone(client, zoneName).getVersion())
    .domain(subdomain)
    .rtype("TXT"));

代码示例来源:origin: oracle/oci-java-sdk

GetZoneRecordsRequest.builder()
            .zoneNameOrId(zoneName)
            .zoneVersion(getZone(client, zoneName).getVersion()));
        GetZoneRecordsRequest.builder()
            .zoneNameOrId(zoneName)
            .zoneVersion(getZone(client, zoneName).getVersion()));
System.out.println();
System.out.println("Zone records after patch");
        GetZoneRecordsRequest.builder()
            .zoneNameOrId(zoneName)
            .zoneVersion(getZone(client, zoneName).getVersion()));
System.out.println();
System.out.println("Zone records after patch with preconditions");

代码示例来源:origin: oracle/oci-java-sdk

GetZoneRecordsRequest.builder()
            .zoneNameOrId(zoneName)
            .zoneVersion(getZone(client, zoneName).getVersion())
            .domain(zoneName)
            .compartmentId(compartmentId)
        GetZoneRecordsRequest.builder()
            .zoneNameOrId(zoneName)
            .zoneVersion(getZone(client, zoneName).getVersion()));
System.out.println();
System.out.println("Zone records after update");

相关文章

Zone类方法