Interface VPCConnectionSummary.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<VPCConnectionSummary.Builder,VPCConnectionSummary>
,SdkBuilder<VPCConnectionSummary.Builder,VPCConnectionSummary>
,SdkPojo
- Enclosing class:
- VPCConnectionSummary
public static interface VPCConnectionSummary.Builder extends SdkPojo, CopyableBuilder<VPCConnectionSummary.Builder,VPCConnectionSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VPCConnectionSummary.Builder
arn(String arn)
The Amazon Resource Name (ARN) of the VPC connection.VPCConnectionSummary.Builder
availabilityStatus(String availabilityStatus)
The availability status of the VPC connection.VPCConnectionSummary.Builder
availabilityStatus(VPCConnectionAvailabilityStatus availabilityStatus)
The availability status of the VPC connection.VPCConnectionSummary.Builder
createdTime(Instant createdTime)
The time that the VPC connection was created.VPCConnectionSummary.Builder
dnsResolvers(String... dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.VPCConnectionSummary.Builder
dnsResolvers(Collection<String> dnsResolvers)
A list of IP addresses of DNS resolver endpoints for the VPC connection.VPCConnectionSummary.Builder
lastUpdatedTime(Instant lastUpdatedTime)
The time that the VPC connection was last updated.VPCConnectionSummary.Builder
name(String name)
The display name for the VPC connection.VPCConnectionSummary.Builder
networkInterfaces(Collection<NetworkInterface> networkInterfaces)
A list of network interfaces.VPCConnectionSummary.Builder
networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)
A list of network interfaces.VPCConnectionSummary.Builder
networkInterfaces(NetworkInterface... networkInterfaces)
A list of network interfaces.VPCConnectionSummary.Builder
roleArn(String roleArn)
The ARN of the IAM role associated with the VPC connection.VPCConnectionSummary.Builder
securityGroupIds(String... securityGroupIds)
The Amazon EC2 security group IDs associated with the VPC connection.VPCConnectionSummary.Builder
securityGroupIds(Collection<String> securityGroupIds)
The Amazon EC2 security group IDs associated with the VPC connection.VPCConnectionSummary.Builder
status(String status)
The status of the VPC connection.VPCConnectionSummary.Builder
status(VPCConnectionResourceStatus status)
The status of the VPC connection.VPCConnectionSummary.Builder
vpcConnectionId(String vpcConnectionId)
The ID of the VPC connection that you're creating.VPCConnectionSummary.Builder
vpcId(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, sdkFields
-
-
-
-
Method Detail
-
vpcConnectionId
VPCConnectionSummary.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
VPCConnectionSummary.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
VPCConnectionSummary.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
VPCConnectionSummary.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
VPCConnectionSummary.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
VPCConnectionSummary.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
VPCConnectionSummary.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
VPCConnectionSummary.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
VPCConnectionSummary.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
VPCConnectionSummary.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
VPCConnectionSummary.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
VPCConnectionSummary.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
VPCConnectionSummary.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
VPCConnectionSummary.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
VPCConnectionSummary.Builder networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)
A list of network interfaces.
This is a convenience method that creates an instance of theNetworkInterface.Builder
avoiding the need to create one manually viaNetworkInterface.builder()
.When the
Consumer
completes,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
VPCConnectionSummary.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
VPCConnectionSummary.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
VPCConnectionSummary.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.
-
-