Interface VPCConnection.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VPCConnection.Builder,VPCConnection>,SdkBuilder<VPCConnection.Builder,VPCConnection>,SdkPojo
- Enclosing class:
- VPCConnection
@Mutable @NotThreadSafe public static interface VPCConnection.Builder extends SdkPojo, CopyableBuilder<VPCConnection.Builder,VPCConnection>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VPCConnection.Builderarn(String arn)The Amazon Resource Name (ARN) of the VPC connection.VPCConnection.BuilderavailabilityStatus(String availabilityStatus)The availability status of the VPC connection.VPCConnection.BuilderavailabilityStatus(VPCConnectionAvailabilityStatus availabilityStatus)The availability status of the VPC connection.VPCConnection.BuildercreatedTime(Instant createdTime)The time that the VPC connection was created.VPCConnection.BuilderdnsResolvers(String... dnsResolvers)A list of IP addresses of DNS resolver endpoints for the VPC connection.VPCConnection.BuilderdnsResolvers(Collection<String> dnsResolvers)A list of IP addresses of DNS resolver endpoints for the VPC connection.VPCConnection.BuilderlastUpdatedTime(Instant lastUpdatedTime)The time that the VPC connection was last updated.VPCConnection.Buildername(String name)The display name for the VPC connection.VPCConnection.BuildernetworkInterfaces(Collection<NetworkInterface> networkInterfaces)A list of network interfaces.VPCConnection.BuildernetworkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)A list of network interfaces.VPCConnection.BuildernetworkInterfaces(NetworkInterface... networkInterfaces)A list of network interfaces.VPCConnection.BuilderroleArn(String roleArn)The ARN of the IAM role associated with the VPC connection.VPCConnection.BuildersecurityGroupIds(String... securityGroupIds)The Amazon EC2 security group IDs associated with the VPC connection.VPCConnection.BuildersecurityGroupIds(Collection<String> securityGroupIds)The Amazon EC2 security group IDs associated with the VPC connection.VPCConnection.Builderstatus(String status)The status of the VPC connection.VPCConnection.Builderstatus(VPCConnectionResourceStatus status)The status of the VPC connection.VPCConnection.BuildervpcConnectionId(String vpcConnectionId)The ID of the VPC connection that you're creating.VPCConnection.BuildervpcId(String vpcId)The Amazon EC2 VPC ID associated with the VPC connection.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
vpcConnectionId
VPCConnection.Builder vpcConnectionId(String vpcConnectionId)
The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.
- Parameters:
vpcConnectionId- The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
VPCConnection.Builder arn(String arn)
The Amazon Resource Name (ARN) of the VPC connection.
- Parameters:
arn- The Amazon Resource Name (ARN) of the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
VPCConnection.Builder name(String name)
The display name for the VPC connection.
- Parameters:
name- The display name for the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
VPCConnection.Builder vpcId(String vpcId)
The Amazon EC2 VPC ID associated with the VPC connection.
- Parameters:
vpcId- The Amazon EC2 VPC ID associated with the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
VPCConnection.Builder securityGroupIds(Collection<String> securityGroupIds)
The Amazon EC2 security group IDs associated with the VPC connection.
- Parameters:
securityGroupIds- The Amazon EC2 security group IDs associated with the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
VPCConnection.Builder securityGroupIds(String... securityGroupIds)
The Amazon EC2 security group IDs associated with the VPC connection.
- Parameters:
securityGroupIds- The Amazon EC2 security group IDs associated with the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsResolvers
VPCConnection.Builder dnsResolvers(Collection<String> dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.
- Parameters:
dnsResolvers- A list of IP addresses of DNS resolver endpoints for the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsResolvers
VPCConnection.Builder dnsResolvers(String... dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.
- Parameters:
dnsResolvers- A list of IP addresses of DNS resolver endpoints for the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
VPCConnection.Builder status(String status)
The status of the VPC connection.
- Parameters:
status- The status of the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VPCConnectionResourceStatus,VPCConnectionResourceStatus
-
status
VPCConnection.Builder status(VPCConnectionResourceStatus status)
The status of the VPC connection.
- Parameters:
status- The status of the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VPCConnectionResourceStatus,VPCConnectionResourceStatus
-
availabilityStatus
VPCConnection.Builder availabilityStatus(String availabilityStatus)
The availability status of the VPC connection.
- Parameters:
availabilityStatus- The availability status of the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VPCConnectionAvailabilityStatus,VPCConnectionAvailabilityStatus
-
availabilityStatus
VPCConnection.Builder availabilityStatus(VPCConnectionAvailabilityStatus availabilityStatus)
The availability status of the VPC connection.
- Parameters:
availabilityStatus- The availability status of the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VPCConnectionAvailabilityStatus,VPCConnectionAvailabilityStatus
-
networkInterfaces
VPCConnection.Builder networkInterfaces(Collection<NetworkInterface> networkInterfaces)
A list of network interfaces.
- Parameters:
networkInterfaces- A list of network interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
VPCConnection.Builder networkInterfaces(NetworkInterface... networkInterfaces)
A list of network interfaces.
- Parameters:
networkInterfaces- A list of network interfaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
VPCConnection.Builder networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)
A list of network interfaces.
This is a convenience method that creates an instance of theNetworkInterface.Builderavoiding the need to create one manually viaNetworkInterface.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#networkInterfaces(List.) - Parameters:
networkInterfaces- a consumer that will call methods onNetworkInterface.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#networkInterfaces(java.util.Collection)
-
roleArn
VPCConnection.Builder roleArn(String roleArn)
The ARN of the IAM role associated with the VPC connection.
- Parameters:
roleArn- The ARN of the IAM role associated with the VPC connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
VPCConnection.Builder createdTime(Instant createdTime)
The time that the VPC connection was created.
- Parameters:
createdTime- The time that the VPC connection was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
VPCConnection.Builder lastUpdatedTime(Instant lastUpdatedTime)
The time that the VPC connection was last updated.
- Parameters:
lastUpdatedTime- The time that the VPC connection was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-