public static interface DescribeNetworkInterfaceAttributeResponse.Builder extends Ec2Response.Builder, CopyableBuilder<DescribeNetworkInterfaceAttributeResponse.Builder,DescribeNetworkInterfaceAttributeResponse>
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeNetworkInterfaceAttributeResponse.Builder attachment(NetworkInterfaceAttachment attachment)
The attachment (if any) of the network interface.
attachment
- The attachment (if any) of the network interface.default DescribeNetworkInterfaceAttributeResponse.Builder attachment(Consumer<NetworkInterfaceAttachment.Builder> attachment)
The attachment (if any) of the network interface.
This is a convenience that creates an instance of theNetworkInterfaceAttachment.Builder
avoiding the
need to create one manually via NetworkInterfaceAttachment.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to attachment(NetworkInterfaceAttachment)
.attachment
- a consumer that will call methods on NetworkInterfaceAttachment.Builder
attachment(NetworkInterfaceAttachment)
DescribeNetworkInterfaceAttributeResponse.Builder description(String description)
The description of the network interface.
description
- The description of the network interface.DescribeNetworkInterfaceAttributeResponse.Builder groups(Collection<GroupIdentifier> groups)
The security groups associated with the network interface.
groups
- The security groups associated with the network interface.DescribeNetworkInterfaceAttributeResponse.Builder groups(GroupIdentifier... groups)
The security groups associated with the network interface.
groups
- The security groups associated with the network interface.DescribeNetworkInterfaceAttributeResponse.Builder groups(Consumer<GroupIdentifier.Builder>... groups)
The security groups associated with the network interface.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #groups(List)
.groups
- a consumer that will call methods on List.Builder
#groups(List)
DescribeNetworkInterfaceAttributeResponse.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.DescribeNetworkInterfaceAttributeResponse.Builder sourceDestCheck(Boolean sourceDestCheck)
Indicates whether source/destination checking is enabled.
sourceDestCheck
- Indicates whether source/destination checking is enabled.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.