public static interface ModifyNetworkInterfaceAttributeRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyNetworkInterfaceAttributeRequest.Builder,ModifyNetworkInterfaceAttributeRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
ModifyNetworkInterfaceAttributeRequest.Builder attachment(NetworkInterfaceAttachmentChanges attachment)
Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.
attachment
- Information about the interface attachment. If modifying the 'delete on termination' attribute, you
must specify the ID of the interface attachment.default ModifyNetworkInterfaceAttributeRequest.Builder attachment(Consumer<NetworkInterfaceAttachmentChanges.Builder> attachment)
Information about the interface attachment. If modifying the 'delete on termination' attribute, you must specify the ID of the interface attachment.
This is a convenience that creates an instance of theNetworkInterfaceAttachmentChanges.Builder
avoiding the need to create one manually via NetworkInterfaceAttachmentChanges.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to attachment(NetworkInterfaceAttachmentChanges)
.attachment
- a consumer that will call methods on NetworkInterfaceAttachmentChanges.Builder
attachment(NetworkInterfaceAttachmentChanges)
ModifyNetworkInterfaceAttributeRequest.Builder description(AttributeValue description)
A description for the network interface.
description
- A description for the network interface.default ModifyNetworkInterfaceAttributeRequest.Builder description(Consumer<AttributeValue.Builder> description)
A description for the network interface.
This is a convenience that creates an instance of theAttributeValue.Builder
avoiding the need to
create one manually via AttributeValue.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to description(AttributeValue)
.description
- a consumer that will call methods on AttributeValue.Builder
description(AttributeValue)
ModifyNetworkInterfaceAttributeRequest.Builder groups(Collection<String> groups)
Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.
groups
- Changes the security groups for the network interface. The new set of groups you specify replaces the
current set. You must specify at least one group, even if it's just the default security group in the
VPC. You must specify the ID of the security group, not the name.ModifyNetworkInterfaceAttributeRequest.Builder groups(String... groups)
Changes the security groups for the network interface. The new set of groups you specify replaces the current set. You must specify at least one group, even if it's just the default security group in the VPC. You must specify the ID of the security group, not the name.
groups
- Changes the security groups for the network interface. The new set of groups you specify replaces the
current set. You must specify at least one group, even if it's just the default security group in the
VPC. You must specify the ID of the security group, not the name.ModifyNetworkInterfaceAttributeRequest.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.ModifyNetworkInterfaceAttributeRequest.Builder sourceDestCheck(AttributeBooleanValue sourceDestCheck)
Indicates whether source/destination checking is enabled. A value of true
means checking is
enabled, and false
means checking is disabled. This value must be false
for a NAT
instance to perform NAT. For more information, see NAT Instances in the
Amazon Virtual Private Cloud User Guide.
sourceDestCheck
- Indicates whether source/destination checking is enabled. A value of true
means checking
is enabled, and false
means checking is disabled. This value must be false
for a NAT instance to perform NAT. For more information, see NAT Instances
in the Amazon Virtual Private Cloud User Guide.default ModifyNetworkInterfaceAttributeRequest.Builder sourceDestCheck(Consumer<AttributeBooleanValue.Builder> sourceDestCheck)
Indicates whether source/destination checking is enabled. A value of true
means checking is
enabled, and false
means checking is disabled. This value must be false
for a NAT
instance to perform NAT. For more information, see NAT Instances in the
Amazon Virtual Private Cloud User Guide.
AttributeBooleanValue.Builder
avoiding the need
to create one manually via AttributeBooleanValue.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to sourceDestCheck(AttributeBooleanValue)
.sourceDestCheck
- a consumer that will call methods on AttributeBooleanValue.Builder
sourceDestCheck(AttributeBooleanValue)
ModifyNetworkInterfaceAttributeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
ModifyNetworkInterfaceAttributeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.