Class ClouddomainsRegistrationManagementSettings.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.clouddomains_registration.ClouddomainsRegistrationManagementSettings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClouddomainsRegistrationManagementSettings>
- Enclosing interface:
- ClouddomainsRegistrationManagementSettings
@Stability(Stable) public static final class ClouddomainsRegistrationManagementSettings.Builder extends Object implements software.amazon.jsii.Builder<ClouddomainsRegistrationManagementSettings>
A builder forClouddomainsRegistrationManagementSettings
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClouddomainsRegistrationManagementSettingsbuild()Builds the configured instance.ClouddomainsRegistrationManagementSettings.BuilderpreferredRenewalMethod(String preferredRenewalMethod)Sets the value ofClouddomainsRegistrationManagementSettings.getPreferredRenewalMethod()ClouddomainsRegistrationManagementSettings.BuildertransferLockState(String transferLockState)Sets the value ofClouddomainsRegistrationManagementSettings.getTransferLockState()
-
-
-
Method Detail
-
preferredRenewalMethod
@Stability(Stable) public ClouddomainsRegistrationManagementSettings.Builder preferredRenewalMethod(String preferredRenewalMethod)
Sets the value ofClouddomainsRegistrationManagementSettings.getPreferredRenewalMethod()- Parameters:
preferredRenewalMethod- The desired renewal method for this Registration. The actual renewalMethod is automatically updated to reflect this choice. If unset or equal to RENEWAL_METHOD_UNSPECIFIED, the actual renewalMethod is treated as if it were set to AUTOMATIC_RENEWAL. You cannot use RENEWAL_DISABLED during resource creation, and you can update the renewal status only when the Registration resource has state ACTIVE or SUSPENDED. When preferredRenewalMethod is set to AUTOMATIC_RENEWAL, the actual renewalMethod can be set to RENEWAL_DISABLED in case of problems with the billing account or reported domain abuse. In such cases, check the issues field on the Registration. After the problem is resolved, the renewalMethod is automatically updated to preferredRenewalMethod in a few hours. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddomains_registration#preferred_renewal_method ClouddomainsRegistration#preferred_renewal_method}- Returns:
this
-
transferLockState
@Stability(Stable) public ClouddomainsRegistrationManagementSettings.Builder transferLockState(String transferLockState)
Sets the value ofClouddomainsRegistrationManagementSettings.getTransferLockState()- Parameters:
transferLockState- Controls whether the domain can be transferred to another registrar. Values are UNLOCKED or LOCKED. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddomains_registration#transfer_lock_state ClouddomainsRegistration#transfer_lock_state}- Returns:
this
-
build
@Stability(Stable) public ClouddomainsRegistrationManagementSettings build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ClouddomainsRegistrationManagementSettings>- Returns:
- a new instance of
ClouddomainsRegistrationManagementSettings - Throws:
NullPointerException- if any required attribute was not provided
-
-