Interface DescribeNetworkInterfaceAttributeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeNetworkInterfaceAttributeResponse.Builder,DescribeNetworkInterfaceAttributeResponse>,Ec2Response.Builder,SdkBuilder<DescribeNetworkInterfaceAttributeResponse.Builder,DescribeNetworkInterfaceAttributeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeNetworkInterfaceAttributeResponse
public static interface DescribeNetworkInterfaceAttributeResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeNetworkInterfaceAttributeResponse.Builder,DescribeNetworkInterfaceAttributeResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
attachment
DescribeNetworkInterfaceAttributeResponse.Builder attachment(NetworkInterfaceAttachment attachment)
The attachment (if any) of the network interface.
- Parameters:
attachment- The attachment (if any) of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachment
default DescribeNetworkInterfaceAttributeResponse.Builder attachment(Consumer<NetworkInterfaceAttachment.Builder> attachment)
The attachment (if any) of the network interface.
This is a convenience method that creates an instance of theNetworkInterfaceAttachment.Builderavoiding the need to create one manually viaNetworkInterfaceAttachment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachment(NetworkInterfaceAttachment).- Parameters:
attachment- a consumer that will call methods onNetworkInterfaceAttachment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attachment(NetworkInterfaceAttachment)
-
description
DescribeNetworkInterfaceAttributeResponse.Builder description(AttributeValue description)
The description of the network interface.
- Parameters:
description- The description of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
default DescribeNetworkInterfaceAttributeResponse.Builder description(Consumer<AttributeValue.Builder> description)
The description of the network interface.
This is a convenience method that creates an instance of theAttributeValue.Builderavoiding the need to create one manually viaAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todescription(AttributeValue).- Parameters:
description- a consumer that will call methods onAttributeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
description(AttributeValue)
-
groups
DescribeNetworkInterfaceAttributeResponse.Builder groups(Collection<GroupIdentifier> groups)
The security groups associated with the network interface.
- Parameters:
groups- The security groups associated with the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
DescribeNetworkInterfaceAttributeResponse.Builder groups(GroupIdentifier... groups)
The security groups associated with the network interface.
- Parameters:
groups- The security groups associated with the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
DescribeNetworkInterfaceAttributeResponse.Builder groups(Consumer<GroupIdentifier.Builder>... groups)
The security groups associated with the network interface.
This is a convenience method that creates an instance of theGroupIdentifier.Builderavoiding the need to create one manually viaGroupIdentifier.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#groups(List.) - Parameters:
groups- a consumer that will call methods onGroupIdentifier.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#groups(java.util.Collection)
-
networkInterfaceId
DescribeNetworkInterfaceAttributeResponse.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
- Parameters:
networkInterfaceId- The ID of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDestCheck
DescribeNetworkInterfaceAttributeResponse.Builder sourceDestCheck(AttributeBooleanValue sourceDestCheck)
Indicates whether source/destination checking is enabled.
- Parameters:
sourceDestCheck- Indicates whether source/destination checking is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceDestCheck
default DescribeNetworkInterfaceAttributeResponse.Builder sourceDestCheck(Consumer<AttributeBooleanValue.Builder> sourceDestCheck)
Indicates whether source/destination checking is enabled.
This is a convenience method that creates an instance of theAttributeBooleanValue.Builderavoiding the need to create one manually viaAttributeBooleanValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceDestCheck(AttributeBooleanValue).- Parameters:
sourceDestCheck- a consumer that will call methods onAttributeBooleanValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sourceDestCheck(AttributeBooleanValue)
-
associatePublicIpAddress
DescribeNetworkInterfaceAttributeResponse.Builder associatePublicIpAddress(Boolean associatePublicIpAddress)
Indicates whether to assign a public IPv4 address to a network interface. This option can be enabled for any network interface but will only apply to the primary network interface (eth0).
- Parameters:
associatePublicIpAddress- Indicates whether to assign a public IPv4 address to a network interface. This option can be enabled for any network interface but will only apply to the primary network interface (eth0).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-