@com.fasterxml.jackson.annotation.JsonIgnore public Builder copy(Vault o) { Builder copiedBuilder = compartmentId(o.getCompartmentId()) .cryptoEndpoint(o.getCryptoEndpoint()) .definedTags(o.getDefinedTags()) .displayName(o.getDisplayName()) .freeformTags(o.getFreeformTags()) .id(o.getId()) .lifecycleState(o.getLifecycleState()) .managementEndpoint(o.getManagementEndpoint()) .timeCreated(o.getTimeCreated()) .timeOfDeletion(o.getTimeOfDeletion()) .vaultType(o.getVaultType()); copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__); return copiedBuilder; } }
public Vault build() { Vault __instance__ = new Vault( compartmentId, cryptoEndpoint, definedTags, displayName, freeformTags, id, lifecycleState, managementEndpoint, timeCreated, timeOfDeletion, vaultType); __instance__.__explicitlySet__.addAll(__explicitlySet__); return __instance__; }
kmsManagementClient.setEndpoint(vault.getManagementEndpoint()); kmsCryptoClient.setEndpoint(vault.getCryptoEndpoint()); updateVaultTest(kmsVaultClient, vault.getId()); listVaultsTest(kmsVaultClient, compartmentId); scheduleVaultDeletionTest(kmsVaultClient, vault.getId()); Thread.sleep(TRANSIENT_STATE_WAIT_TIME_MS); cancelVaultDeletionTest(kmsVaultClient, vault.getId());
cryptoEndpoint = vault.getCryptoEndpoint();
managementEndpoint = vault.getManagementEndpoint();