Package com.pulumi.alicloud.cddc.inputs
Class DedicatedHostState.Builder
- java.lang.Object
-
- com.pulumi.alicloud.cddc.inputs.DedicatedHostState.Builder
-
- Enclosing class:
- DedicatedHostState
public static final class DedicatedHostState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DedicatedHostState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DedicatedHostState.Builder
allocationStatus(com.pulumi.core.Output<java.lang.String> allocationStatus)
DedicatedHostState.Builder
allocationStatus(java.lang.String allocationStatus)
DedicatedHostState.Builder
autoRenew(com.pulumi.core.Output<java.lang.Boolean> autoRenew)
DedicatedHostState.Builder
autoRenew(java.lang.Boolean autoRenew)
DedicatedHostState
build()
DedicatedHostState.Builder
dedicatedHostGroupId(com.pulumi.core.Output<java.lang.String> dedicatedHostGroupId)
DedicatedHostState.Builder
dedicatedHostGroupId(java.lang.String dedicatedHostGroupId)
DedicatedHostState.Builder
dedicatedHostId(com.pulumi.core.Output<java.lang.String> dedicatedHostId)
DedicatedHostState.Builder
dedicatedHostId(java.lang.String dedicatedHostId)
DedicatedHostState.Builder
hostClass(com.pulumi.core.Output<java.lang.String> hostClass)
DedicatedHostState.Builder
hostClass(java.lang.String hostClass)
DedicatedHostState.Builder
hostName(com.pulumi.core.Output<java.lang.String> hostName)
DedicatedHostState.Builder
hostName(java.lang.String hostName)
DedicatedHostState.Builder
imageCategory(com.pulumi.core.Output<java.lang.String> imageCategory)
DedicatedHostState.Builder
imageCategory(java.lang.String imageCategory)
DedicatedHostState.Builder
osPassword(com.pulumi.core.Output<java.lang.String> osPassword)
DedicatedHostState.Builder
osPassword(java.lang.String osPassword)
DedicatedHostState.Builder
paymentType(com.pulumi.core.Output<java.lang.String> paymentType)
DedicatedHostState.Builder
paymentType(java.lang.String paymentType)
DedicatedHostState.Builder
period(com.pulumi.core.Output<java.lang.String> period)
DedicatedHostState.Builder
period(java.lang.String period)
DedicatedHostState.Builder
status(com.pulumi.core.Output<java.lang.String> status)
DedicatedHostState.Builder
status(java.lang.String status)
DedicatedHostState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> tags)
DedicatedHostState.Builder
tags(java.util.Map<java.lang.String,java.lang.Object> tags)
DedicatedHostState.Builder
usedTime(com.pulumi.core.Output<java.lang.Integer> usedTime)
DedicatedHostState.Builder
usedTime(java.lang.Integer usedTime)
DedicatedHostState.Builder
vswitchId(com.pulumi.core.Output<java.lang.String> vswitchId)
DedicatedHostState.Builder
vswitchId(java.lang.String vswitchId)
DedicatedHostState.Builder
zoneId(com.pulumi.core.Output<java.lang.String> zoneId)
DedicatedHostState.Builder
zoneId(java.lang.String zoneId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DedicatedHostState defaults)
-
-
Method Detail
-
allocationStatus
public DedicatedHostState.Builder allocationStatus(@Nullable com.pulumi.core.Output<java.lang.String> allocationStatus)
- Parameters:
allocationStatus
- Specifies whether instances can be created on the host. Valid values: `Allocatable` or `Suspended`. `Allocatable`: Instances can be created on the host. `Suspended`: Instances cannot be created on the host.- Returns:
- builder
-
allocationStatus
public DedicatedHostState.Builder allocationStatus(java.lang.String allocationStatus)
- Parameters:
allocationStatus
- Specifies whether instances can be created on the host. Valid values: `Allocatable` or `Suspended`. `Allocatable`: Instances can be created on the host. `Suspended`: Instances cannot be created on the host.- Returns:
- builder
-
autoRenew
public DedicatedHostState.Builder autoRenew(@Nullable com.pulumi.core.Output<java.lang.Boolean> autoRenew)
- Parameters:
autoRenew
- Specifies whether to enable the auto-renewal feature.- Returns:
- builder
-
autoRenew
public DedicatedHostState.Builder autoRenew(java.lang.Boolean autoRenew)
- Parameters:
autoRenew
- Specifies whether to enable the auto-renewal feature.- Returns:
- builder
-
dedicatedHostGroupId
public DedicatedHostState.Builder dedicatedHostGroupId(@Nullable com.pulumi.core.Output<java.lang.String> dedicatedHostGroupId)
- Parameters:
dedicatedHostGroupId
- The ID of the dedicated cluster.- Returns:
- builder
-
dedicatedHostGroupId
public DedicatedHostState.Builder dedicatedHostGroupId(java.lang.String dedicatedHostGroupId)
- Parameters:
dedicatedHostGroupId
- The ID of the dedicated cluster.- Returns:
- builder
-
dedicatedHostId
public DedicatedHostState.Builder dedicatedHostId(@Nullable com.pulumi.core.Output<java.lang.String> dedicatedHostId)
- Parameters:
dedicatedHostId
- The ID of the host.- Returns:
- builder
-
dedicatedHostId
public DedicatedHostState.Builder dedicatedHostId(java.lang.String dedicatedHostId)
- Parameters:
dedicatedHostId
- The ID of the host.- Returns:
- builder
-
hostClass
public DedicatedHostState.Builder hostClass(@Nullable com.pulumi.core.Output<java.lang.String> hostClass)
- Parameters:
hostClass
- The instance type of the host. For more information about the supported instance types of hosts, see [Host specification details](https://www.alibabacloud.com/help/doc-detail/206343.htm).- Returns:
- builder
-
hostClass
public DedicatedHostState.Builder hostClass(java.lang.String hostClass)
- Parameters:
hostClass
- The instance type of the host. For more information about the supported instance types of hosts, see [Host specification details](https://www.alibabacloud.com/help/doc-detail/206343.htm).- Returns:
- builder
-
hostName
public DedicatedHostState.Builder hostName(@Nullable com.pulumi.core.Output<java.lang.String> hostName)
- Parameters:
hostName
- The name of the host. The name must be `1` to `64` characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.- Returns:
- builder
-
hostName
public DedicatedHostState.Builder hostName(java.lang.String hostName)
- Parameters:
hostName
- The name of the host. The name must be `1` to `64` characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.- Returns:
- builder
-
imageCategory
public DedicatedHostState.Builder imageCategory(@Nullable com.pulumi.core.Output<java.lang.String> imageCategory)
- Parameters:
imageCategory
- Host Image Category. Valid values: `WindowsWithMssqlEntAlwaysonLicense`, `WindowsWithMssqlStdLicense`, `WindowsWithMssqlEntLicense`, `WindowsWithMssqlWebLicense`, `AliLinux`.- Returns:
- builder
-
imageCategory
public DedicatedHostState.Builder imageCategory(java.lang.String imageCategory)
- Parameters:
imageCategory
- Host Image Category. Valid values: `WindowsWithMssqlEntAlwaysonLicense`, `WindowsWithMssqlStdLicense`, `WindowsWithMssqlEntLicense`, `WindowsWithMssqlWebLicense`, `AliLinux`.- Returns:
- builder
-
osPassword
public DedicatedHostState.Builder osPassword(@Nullable com.pulumi.core.Output<java.lang.String> osPassword)
- Parameters:
osPassword
- Host password. **NOTE:** The creation of a host password is supported only when the database type is `Tair-PMem`.- Returns:
- builder
-
osPassword
public DedicatedHostState.Builder osPassword(java.lang.String osPassword)
- Parameters:
osPassword
- Host password. **NOTE:** The creation of a host password is supported only when the database type is `Tair-PMem`.- Returns:
- builder
-
paymentType
public DedicatedHostState.Builder paymentType(@Nullable com.pulumi.core.Output<java.lang.String> paymentType)
- Parameters:
paymentType
- The payment type of the resource. Valid values: `Subscription`.- Returns:
- builder
-
paymentType
public DedicatedHostState.Builder paymentType(java.lang.String paymentType)
- Parameters:
paymentType
- The payment type of the resource. Valid values: `Subscription`.- Returns:
- builder
-
period
public DedicatedHostState.Builder period(@Nullable com.pulumi.core.Output<java.lang.String> period)
- Parameters:
period
- The unit of the subscription duration. Valid values: `Year`, `Month`, `Week`.- Returns:
- builder
-
period
public DedicatedHostState.Builder period(java.lang.String period)
- Parameters:
period
- The unit of the subscription duration. Valid values: `Year`, `Month`, `Week`.- Returns:
- builder
-
status
public DedicatedHostState.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status
- The state of the host. Valid values: `0:` The host is being created. `1`: The host is running. `2`: The host is faulty. `3`: The host is ready for deactivation. `4`: The host is being maintained. `5`: The host is deactivated. `6`: The host is restarting. `7`: The host is locked.- Returns:
- builder
-
status
public DedicatedHostState.Builder status(java.lang.String status)
- Parameters:
status
- The state of the host. Valid values: `0:` The host is being created. `1`: The host is running. `2`: The host is faulty. `3`: The host is ready for deactivation. `4`: The host is being maintained. `5`: The host is deactivated. `6`: The host is restarting. `7`: The host is locked.- Returns:
- builder
-
tags
public DedicatedHostState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> tags)
- Parameters:
tags
- A mapping of tags to assign to the resource.- Returns:
- builder
-
tags
public DedicatedHostState.Builder tags(java.util.Map<java.lang.String,java.lang.Object> tags)
- Parameters:
tags
- A mapping of tags to assign to the resource.- Returns:
- builder
-
usedTime
public DedicatedHostState.Builder usedTime(@Nullable com.pulumi.core.Output<java.lang.Integer> usedTime)
- Parameters:
usedTime
- The subscription duration of the host. Valid values: * If the Period parameter is set to `Year`, the value of the UsedTime parameter ranges from `1` to `5`. * If the Period parameter is set to `Month`, the value of the UsedTime parameter ranges from `1` to `9`. * If the Period parameter is set to `Week`, the value of the UsedTime parameter ranges from `1`, `2` and `3`.- Returns:
- builder
-
usedTime
public DedicatedHostState.Builder usedTime(java.lang.Integer usedTime)
- Parameters:
usedTime
- The subscription duration of the host. Valid values: * If the Period parameter is set to `Year`, the value of the UsedTime parameter ranges from `1` to `5`. * If the Period parameter is set to `Month`, the value of the UsedTime parameter ranges from `1` to `9`. * If the Period parameter is set to `Week`, the value of the UsedTime parameter ranges from `1`, `2` and `3`.- Returns:
- builder
-
vswitchId
public DedicatedHostState.Builder vswitchId(@Nullable com.pulumi.core.Output<java.lang.String> vswitchId)
- Parameters:
vswitchId
- The ID of the vSwitch to which the host is connected.- Returns:
- builder
-
vswitchId
public DedicatedHostState.Builder vswitchId(java.lang.String vswitchId)
- Parameters:
vswitchId
- The ID of the vSwitch to which the host is connected.- Returns:
- builder
-
zoneId
public DedicatedHostState.Builder zoneId(@Nullable com.pulumi.core.Output<java.lang.String> zoneId)
- Parameters:
zoneId
- The ID of the zone.- Returns:
- builder
-
zoneId
public DedicatedHostState.Builder zoneId(java.lang.String zoneId)
- Parameters:
zoneId
- The ID of the zone.- Returns:
- builder
-
build
public DedicatedHostState build()
-
-