Package com.pulumi.alicloud.vpc.inputs
Class PeerConnectionAccepterState.Builder
- java.lang.Object
-
- com.pulumi.alicloud.vpc.inputs.PeerConnectionAccepterState.Builder
-
- Enclosing class:
- PeerConnectionAccepterState
public static final class PeerConnectionAccepterState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(PeerConnectionAccepterState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(PeerConnectionAccepterState defaults)
-
-
Method Detail
-
acceptingOwnerUid
public PeerConnectionAccepterState.Builder acceptingOwnerUid(@Nullable com.pulumi.core.Output<java.lang.Integer> acceptingOwnerUid)
- Parameters:
acceptingOwnerUid
- The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.-Enter the ID of your Alibaba Cloud account to create a peer-to-peer connection to the VPC account.-Enter the ID of another Alibaba Cloud account to create a cross-account VPC peer-to-peer connection.> If the recipient account is a RAM user (sub-account), enter the ID of the Alibaba Cloud account corresponding to the RAM user.- Returns:
- builder
-
acceptingOwnerUid
public PeerConnectionAccepterState.Builder acceptingOwnerUid(java.lang.Integer acceptingOwnerUid)
- Parameters:
acceptingOwnerUid
- The ID of the Alibaba Cloud account (primary account) of the receiving end of the VPC peering connection to be created.-Enter the ID of your Alibaba Cloud account to create a peer-to-peer connection to the VPC account.-Enter the ID of another Alibaba Cloud account to create a cross-account VPC peer-to-peer connection.> If the recipient account is a RAM user (sub-account), enter the ID of the Alibaba Cloud account corresponding to the RAM user.- Returns:
- builder
-
acceptingRegionId
public PeerConnectionAccepterState.Builder acceptingRegionId(@Nullable com.pulumi.core.Output<java.lang.String> acceptingRegionId)
- Parameters:
acceptingRegionId
- The region ID of the recipient of the VPC peering connection to be created.-When creating a VPC peer-to-peer connection in the same region, enter the same region ID as the region ID of the initiator.-When creating a cross-region VPC peer-to-peer connection, enter a region ID that is different from the region ID of the initiator.- Returns:
- builder
-
acceptingRegionId
public PeerConnectionAccepterState.Builder acceptingRegionId(java.lang.String acceptingRegionId)
- Parameters:
acceptingRegionId
- The region ID of the recipient of the VPC peering connection to be created.-When creating a VPC peer-to-peer connection in the same region, enter the same region ID as the region ID of the initiator.-When creating a cross-region VPC peer-to-peer connection, enter a region ID that is different from the region ID of the initiator.- Returns:
- builder
-
acceptingVpcId
public PeerConnectionAccepterState.Builder acceptingVpcId(@Nullable com.pulumi.core.Output<java.lang.String> acceptingVpcId)
- Parameters:
acceptingVpcId
- The VPC ID of the receiving end of the VPC peer connection.- Returns:
- builder
-
acceptingVpcId
public PeerConnectionAccepterState.Builder acceptingVpcId(java.lang.String acceptingVpcId)
- Parameters:
acceptingVpcId
- The VPC ID of the receiving end of the VPC peer connection.- Returns:
- builder
-
bandwidth
public PeerConnectionAccepterState.Builder bandwidth(@Nullable com.pulumi.core.Output<java.lang.Integer> bandwidth)
- Parameters:
bandwidth
- The bandwidth of the VPC peering connection to be modified. Unit: Mbps. The value range is an integer greater than 0.- Returns:
- builder
-
bandwidth
public PeerConnectionAccepterState.Builder bandwidth(java.lang.Integer bandwidth)
- Parameters:
bandwidth
- The bandwidth of the VPC peering connection to be modified. Unit: Mbps. The value range is an integer greater than 0.- Returns:
- builder
-
description
public PeerConnectionAccepterState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- The description of the VPC peer connection to be created.It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with http:// or https.- Returns:
- builder
-
description
public PeerConnectionAccepterState.Builder description(java.lang.String description)
- Parameters:
description
- The description of the VPC peer connection to be created.It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with http:// or https.- Returns:
- builder
-
dryRun
public PeerConnectionAccepterState.Builder dryRun(@Nullable com.pulumi.core.Output<java.lang.Boolean> dryRun)
- Parameters:
dryRun
- The dry run.- Returns:
- builder
-
dryRun
public PeerConnectionAccepterState.Builder dryRun(java.lang.Boolean dryRun)
- Parameters:
dryRun
- The dry run.- Returns:
- builder
-
instanceId
public PeerConnectionAccepterState.Builder instanceId(@Nullable com.pulumi.core.Output<java.lang.String> instanceId)
- Parameters:
instanceId
- The ID of the instance of the created VPC peer connection.- Returns:
- builder
-
instanceId
public PeerConnectionAccepterState.Builder instanceId(java.lang.String instanceId)
- Parameters:
instanceId
- The ID of the instance of the created VPC peer connection.- Returns:
- builder
-
peerConnectionAccepterName
public PeerConnectionAccepterState.Builder peerConnectionAccepterName(@Nullable com.pulumi.core.Output<java.lang.String> peerConnectionAccepterName)
- Parameters:
peerConnectionAccepterName
- The name of the resource- Returns:
- builder
-
peerConnectionAccepterName
public PeerConnectionAccepterState.Builder peerConnectionAccepterName(java.lang.String peerConnectionAccepterName)
- Parameters:
peerConnectionAccepterName
- The name of the resource- Returns:
- builder
-
status
public PeerConnectionAccepterState.Builder status(@Nullable com.pulumi.core.Output<java.lang.String> status)
- Parameters:
status
- The status of the resource- Returns:
- builder
-
status
public PeerConnectionAccepterState.Builder status(java.lang.String status)
- Parameters:
status
- The status of the resource- Returns:
- builder
-
vpcId
public PeerConnectionAccepterState.Builder vpcId(@Nullable com.pulumi.core.Output<java.lang.String> vpcId)
- Parameters:
vpcId
- You must create a VPC ID on the initiator of a VPC peer connection.- Returns:
- builder
-
vpcId
public PeerConnectionAccepterState.Builder vpcId(java.lang.String vpcId)
- Parameters:
vpcId
- You must create a VPC ID on the initiator of a VPC peer connection.- Returns:
- builder
-
build
public PeerConnectionAccepterState build()
-
-