public static interface TargetNetwork.Builder extends SdkPojo, CopyableBuilder<TargetNetwork.Builder,TargetNetwork>
| Modifier and Type | Method and Description |
|---|---|
TargetNetwork.Builder |
associationId(String associationId)
The ID of the association.
|
TargetNetwork.Builder |
clientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint with which the target network is associated.
|
TargetNetwork.Builder |
securityGroups(Collection<String> securityGroups)
The IDs of the security groups applied to the target network association.
|
TargetNetwork.Builder |
securityGroups(String... securityGroups)
The IDs of the security groups applied to the target network association.
|
TargetNetwork.Builder |
status(AssociationStatus status)
The current state of the target network association.
|
default TargetNetwork.Builder |
status(Consumer<AssociationStatus.Builder> status)
The current state of the target network association.
|
TargetNetwork.Builder |
targetNetworkId(String targetNetworkId)
The ID of the subnet specified as the target network.
|
TargetNetwork.Builder |
vpcId(String vpcId)
The ID of the VPC in which the target network (subnet) is located.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTargetNetwork.Builder associationId(String associationId)
The ID of the association.
associationId - The ID of the association.TargetNetwork.Builder vpcId(String vpcId)
The ID of the VPC in which the target network (subnet) is located.
vpcId - The ID of the VPC in which the target network (subnet) is located.TargetNetwork.Builder targetNetworkId(String targetNetworkId)
The ID of the subnet specified as the target network.
targetNetworkId - The ID of the subnet specified as the target network.TargetNetwork.Builder clientVpnEndpointId(String clientVpnEndpointId)
The ID of the Client VPN endpoint with which the target network is associated.
clientVpnEndpointId - The ID of the Client VPN endpoint with which the target network is associated.TargetNetwork.Builder status(AssociationStatus status)
The current state of the target network association.
status - The current state of the target network association.default TargetNetwork.Builder status(Consumer<AssociationStatus.Builder> status)
The current state of the target network association.
This is a convenience that creates an instance of theAssociationStatus.Builder avoiding the need to
create one manually via AssociationStatus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to status(AssociationStatus).status - a consumer that will call methods on AssociationStatus.Builderstatus(AssociationStatus)TargetNetwork.Builder securityGroups(Collection<String> securityGroups)
The IDs of the security groups applied to the target network association.
securityGroups - The IDs of the security groups applied to the target network association.TargetNetwork.Builder securityGroups(String... securityGroups)
The IDs of the security groups applied to the target network association.
securityGroups - The IDs of the security groups applied to the target network association.Copyright © 2021. All rights reserved.