Interface DescribeNetworkInterfaceAttributeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeNetworkInterfaceAttributeResponse.Builder,
,DescribeNetworkInterfaceAttributeResponse> Ec2Response.Builder
,SdkBuilder<DescribeNetworkInterfaceAttributeResponse.Builder,
,DescribeNetworkInterfaceAttributeResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeNetworkInterfaceAttributeResponse
-
Method Summary
Modifier and TypeMethodDescriptionattachment
(Consumer<NetworkInterfaceAttachment.Builder> attachment) The attachment (if any) of the network interface.attachment
(NetworkInterfaceAttachment attachment) The attachment (if any) of the network interface.description
(Consumer<AttributeValue.Builder> description) The description of the network interface.description
(AttributeValue description) The description of the network interface.groups
(Collection<GroupIdentifier> groups) The security groups associated with the network interface.groups
(Consumer<GroupIdentifier.Builder>... groups) The security groups associated with the network interface.groups
(GroupIdentifier... groups) The security groups associated with the network interface.networkInterfaceId
(String networkInterfaceId) The ID of the network interface.sourceDestCheck
(Consumer<AttributeBooleanValue.Builder> sourceDestCheck) Indicates whether source/destination checking is enabled.sourceDestCheck
(AttributeBooleanValue sourceDestCheck) Indicates whether source/destination checking is enabled.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 Details
-
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.Builder
avoiding the need to create one manually viaNetworkInterfaceAttachment.builder()
.When the
Consumer
completes,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:
-
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.Builder
avoiding the need to create one manually viaAttributeValue.builder()
.When the
Consumer
completes,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:
-
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
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.Builder
avoiding the need to create one manually viaGroupIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroups(List<GroupIdentifier>)
.- 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:
-
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.Builder
avoiding the need to create one manually viaAttributeBooleanValue.builder()
.When the
Consumer
completes,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:
-