Class RouteTableAssociationState.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2transitgateway.inputs.RouteTableAssociationState.Builder
-
- Enclosing class:
- RouteTableAssociationState
public static final class RouteTableAssociationState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(RouteTableAssociationState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RouteTableAssociationState defaults)
-
-
Method Detail
-
region
public RouteTableAssociationState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public RouteTableAssociationState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
replaceExistingAssociation
public RouteTableAssociationState.Builder replaceExistingAssociation(@Nullable com.pulumi.core.Output<java.lang.Boolean> replaceExistingAssociation)
- Parameters:
replaceExistingAssociation- Boolean whether the Gateway Attachment should remove any current Route Table association before associating with the specified Route Table. Default value: `false`. This argument is intended for use with EC2 Transit Gateways shared into the current account, otherwise the `transitGatewayDefaultRouteTableAssociation` argument of the `aws.ec2transitgateway.VpcAttachment` resource should be used.- Returns:
- builder
-
replaceExistingAssociation
public RouteTableAssociationState.Builder replaceExistingAssociation(java.lang.Boolean replaceExistingAssociation)
- Parameters:
replaceExistingAssociation- Boolean whether the Gateway Attachment should remove any current Route Table association before associating with the specified Route Table. Default value: `false`. This argument is intended for use with EC2 Transit Gateways shared into the current account, otherwise the `transitGatewayDefaultRouteTableAssociation` argument of the `aws.ec2transitgateway.VpcAttachment` resource should be used.- Returns:
- builder
-
resourceId
public RouteTableAssociationState.Builder resourceId(@Nullable com.pulumi.core.Output<java.lang.String> resourceId)
- Parameters:
resourceId- Identifier of the resource- Returns:
- builder
-
resourceId
public RouteTableAssociationState.Builder resourceId(java.lang.String resourceId)
- Parameters:
resourceId- Identifier of the resource- Returns:
- builder
-
resourceType
public RouteTableAssociationState.Builder resourceType(@Nullable com.pulumi.core.Output<java.lang.String> resourceType)
- Parameters:
resourceType- Type of the resource- Returns:
- builder
-
resourceType
public RouteTableAssociationState.Builder resourceType(java.lang.String resourceType)
- Parameters:
resourceType- Type of the resource- Returns:
- builder
-
transitGatewayAttachmentId
public RouteTableAssociationState.Builder transitGatewayAttachmentId(@Nullable com.pulumi.core.Output<java.lang.String> transitGatewayAttachmentId)
- Parameters:
transitGatewayAttachmentId- Identifier of EC2 Transit Gateway Attachment.- Returns:
- builder
-
transitGatewayAttachmentId
public RouteTableAssociationState.Builder transitGatewayAttachmentId(java.lang.String transitGatewayAttachmentId)
- Parameters:
transitGatewayAttachmentId- Identifier of EC2 Transit Gateway Attachment.- Returns:
- builder
-
transitGatewayRouteTableId
public RouteTableAssociationState.Builder transitGatewayRouteTableId(@Nullable com.pulumi.core.Output<java.lang.String> transitGatewayRouteTableId)
- Parameters:
transitGatewayRouteTableId- Identifier of EC2 Transit Gateway Route Table.- Returns:
- builder
-
transitGatewayRouteTableId
public RouteTableAssociationState.Builder transitGatewayRouteTableId(java.lang.String transitGatewayRouteTableId)
- Parameters:
transitGatewayRouteTableId- Identifier of EC2 Transit Gateway Route Table.- Returns:
- builder
-
build
public RouteTableAssociationState build()
-
-