Class GatewayAssociationState.Builder
- java.lang.Object
-
- com.pulumi.aws.directconnect.inputs.GatewayAssociationState.Builder
-
- Enclosing class:
- GatewayAssociationState
public static final class GatewayAssociationState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(GatewayAssociationState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description GatewayAssociationState.Builder
allowedPrefixes(com.pulumi.core.Output<java.util.List<java.lang.String>> allowedPrefixes)
GatewayAssociationState.Builder
allowedPrefixes(java.lang.String... allowedPrefixes)
GatewayAssociationState.Builder
allowedPrefixes(java.util.List<java.lang.String> allowedPrefixes)
GatewayAssociationState.Builder
associatedGatewayId(com.pulumi.core.Output<java.lang.String> associatedGatewayId)
GatewayAssociationState.Builder
associatedGatewayId(java.lang.String associatedGatewayId)
GatewayAssociationState.Builder
associatedGatewayOwnerAccountId(com.pulumi.core.Output<java.lang.String> associatedGatewayOwnerAccountId)
GatewayAssociationState.Builder
associatedGatewayOwnerAccountId(java.lang.String associatedGatewayOwnerAccountId)
GatewayAssociationState.Builder
associatedGatewayType(com.pulumi.core.Output<java.lang.String> associatedGatewayType)
GatewayAssociationState.Builder
associatedGatewayType(java.lang.String associatedGatewayType)
GatewayAssociationState
build()
GatewayAssociationState.Builder
dxGatewayAssociationId(com.pulumi.core.Output<java.lang.String> dxGatewayAssociationId)
GatewayAssociationState.Builder
dxGatewayAssociationId(java.lang.String dxGatewayAssociationId)
GatewayAssociationState.Builder
dxGatewayId(com.pulumi.core.Output<java.lang.String> dxGatewayId)
GatewayAssociationState.Builder
dxGatewayId(java.lang.String dxGatewayId)
GatewayAssociationState.Builder
dxGatewayOwnerAccountId(com.pulumi.core.Output<java.lang.String> dxGatewayOwnerAccountId)
GatewayAssociationState.Builder
dxGatewayOwnerAccountId(java.lang.String dxGatewayOwnerAccountId)
GatewayAssociationState.Builder
proposalId(com.pulumi.core.Output<java.lang.String> proposalId)
GatewayAssociationState.Builder
proposalId(java.lang.String proposalId)
GatewayAssociationState.Builder
vpnGatewayId(com.pulumi.core.Output<java.lang.String> vpnGatewayId)
Deprecated.use 'associated_gateway_id' argument insteadGatewayAssociationState.Builder
vpnGatewayId(java.lang.String vpnGatewayId)
Deprecated.use 'associated_gateway_id' argument instead
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GatewayAssociationState defaults)
-
-
Method Detail
-
allowedPrefixes
public GatewayAssociationState.Builder allowedPrefixes(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> allowedPrefixes)
- Parameters:
allowedPrefixes
- VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured.- Returns:
- builder
-
allowedPrefixes
public GatewayAssociationState.Builder allowedPrefixes(java.util.List<java.lang.String> allowedPrefixes)
- Parameters:
allowedPrefixes
- VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured.- Returns:
- builder
-
allowedPrefixes
public GatewayAssociationState.Builder allowedPrefixes(java.lang.String... allowedPrefixes)
- Parameters:
allowedPrefixes
- VPC prefixes (CIDRs) to advertise to the Direct Connect gateway. Defaults to the CIDR block of the VPC associated with the Virtual Gateway. To enable drift detection, must be configured.- Returns:
- builder
-
associatedGatewayId
public GatewayAssociationState.Builder associatedGatewayId(@Nullable com.pulumi.core.Output<java.lang.String> associatedGatewayId)
- Parameters:
associatedGatewayId
- The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. Used for single account Direct Connect gateway associations.- Returns:
- builder
-
associatedGatewayId
public GatewayAssociationState.Builder associatedGatewayId(java.lang.String associatedGatewayId)
- Parameters:
associatedGatewayId
- The ID of the VGW or transit gateway with which to associate the Direct Connect gateway. Used for single account Direct Connect gateway associations.- Returns:
- builder
-
associatedGatewayOwnerAccountId
public GatewayAssociationState.Builder associatedGatewayOwnerAccountId(@Nullable com.pulumi.core.Output<java.lang.String> associatedGatewayOwnerAccountId)
- Parameters:
associatedGatewayOwnerAccountId
- The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway. Used for cross-account Direct Connect gateway associations.- Returns:
- builder
-
associatedGatewayOwnerAccountId
public GatewayAssociationState.Builder associatedGatewayOwnerAccountId(java.lang.String associatedGatewayOwnerAccountId)
- Parameters:
associatedGatewayOwnerAccountId
- The ID of the AWS account that owns the VGW or transit gateway with which to associate the Direct Connect gateway. Used for cross-account Direct Connect gateway associations.- Returns:
- builder
-
associatedGatewayType
public GatewayAssociationState.Builder associatedGatewayType(@Nullable com.pulumi.core.Output<java.lang.String> associatedGatewayType)
- Parameters:
associatedGatewayType
- The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`.- Returns:
- builder
-
associatedGatewayType
public GatewayAssociationState.Builder associatedGatewayType(java.lang.String associatedGatewayType)
- Parameters:
associatedGatewayType
- The type of the associated gateway, `transitGateway` or `virtualPrivateGateway`.- Returns:
- builder
-
dxGatewayAssociationId
public GatewayAssociationState.Builder dxGatewayAssociationId(@Nullable com.pulumi.core.Output<java.lang.String> dxGatewayAssociationId)
- Parameters:
dxGatewayAssociationId
- The ID of the Direct Connect gateway association.- Returns:
- builder
-
dxGatewayAssociationId
public GatewayAssociationState.Builder dxGatewayAssociationId(java.lang.String dxGatewayAssociationId)
- Parameters:
dxGatewayAssociationId
- The ID of the Direct Connect gateway association.- Returns:
- builder
-
dxGatewayId
public GatewayAssociationState.Builder dxGatewayId(@Nullable com.pulumi.core.Output<java.lang.String> dxGatewayId)
- Parameters:
dxGatewayId
- The ID of the Direct Connect gateway.- Returns:
- builder
-
dxGatewayId
public GatewayAssociationState.Builder dxGatewayId(java.lang.String dxGatewayId)
- Parameters:
dxGatewayId
- The ID of the Direct Connect gateway.- Returns:
- builder
-
dxGatewayOwnerAccountId
public GatewayAssociationState.Builder dxGatewayOwnerAccountId(@Nullable com.pulumi.core.Output<java.lang.String> dxGatewayOwnerAccountId)
- Parameters:
dxGatewayOwnerAccountId
- The ID of the AWS account that owns the Direct Connect gateway.- Returns:
- builder
-
dxGatewayOwnerAccountId
public GatewayAssociationState.Builder dxGatewayOwnerAccountId(java.lang.String dxGatewayOwnerAccountId)
- Parameters:
dxGatewayOwnerAccountId
- The ID of the AWS account that owns the Direct Connect gateway.- Returns:
- builder
-
proposalId
public GatewayAssociationState.Builder proposalId(@Nullable com.pulumi.core.Output<java.lang.String> proposalId)
- Parameters:
proposalId
- The ID of the Direct Connect gateway association proposal. Used for cross-account Direct Connect gateway associations.- Returns:
- builder
-
proposalId
public GatewayAssociationState.Builder proposalId(java.lang.String proposalId)
- Parameters:
proposalId
- The ID of the Direct Connect gateway association proposal. Used for cross-account Direct Connect gateway associations.- Returns:
- builder
-
vpnGatewayId
@Deprecated public GatewayAssociationState.Builder vpnGatewayId(@Nullable com.pulumi.core.Output<java.lang.String> vpnGatewayId)
Deprecated.use 'associated_gateway_id' argument instead- Returns:
- builder
-
vpnGatewayId
@Deprecated public GatewayAssociationState.Builder vpnGatewayId(java.lang.String vpnGatewayId)
Deprecated.use 'associated_gateway_id' argument instead- Returns:
- builder
-
build
public GatewayAssociationState build()
-
-