Struct aws_sdk_ec2::operation::describe_network_interface_permissions::builders::DescribeNetworkInterfacePermissionsOutputBuilder
source · #[non_exhaustive]pub struct DescribeNetworkInterfacePermissionsOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeNetworkInterfacePermissionsOutput
.
Implementations§
source§impl DescribeNetworkInterfacePermissionsOutputBuilder
impl DescribeNetworkInterfacePermissionsOutputBuilder
sourcepub fn network_interface_permissions(
self,
input: NetworkInterfacePermission
) -> Self
pub fn network_interface_permissions( self, input: NetworkInterfacePermission ) -> Self
Appends an item to network_interface_permissions
.
To override the contents of this collection use set_network_interface_permissions
.
The network interface permissions.
sourcepub fn set_network_interface_permissions(
self,
input: Option<Vec<NetworkInterfacePermission>>
) -> Self
pub fn set_network_interface_permissions( self, input: Option<Vec<NetworkInterfacePermission>> ) -> Self
The network interface permissions.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to include in another request to get the next page of items. This value is null
when there are no more items to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to include in another request to get the next page of items. This value is null
when there are no more items to return.
sourcepub fn build(self) -> DescribeNetworkInterfacePermissionsOutput
pub fn build(self) -> DescribeNetworkInterfacePermissionsOutput
Consumes the builder and constructs a DescribeNetworkInterfacePermissionsOutput
.
Trait Implementations§
source§impl Clone for DescribeNetworkInterfacePermissionsOutputBuilder
impl Clone for DescribeNetworkInterfacePermissionsOutputBuilder
source§fn clone(&self) -> DescribeNetworkInterfacePermissionsOutputBuilder
fn clone(&self) -> DescribeNetworkInterfacePermissionsOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for DescribeNetworkInterfacePermissionsOutputBuilder
impl Default for DescribeNetworkInterfacePermissionsOutputBuilder
source§fn default() -> DescribeNetworkInterfacePermissionsOutputBuilder
fn default() -> DescribeNetworkInterfacePermissionsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DescribeNetworkInterfacePermissionsOutputBuilder> for DescribeNetworkInterfacePermissionsOutputBuilder
impl PartialEq<DescribeNetworkInterfacePermissionsOutputBuilder> for DescribeNetworkInterfacePermissionsOutputBuilder
source§fn eq(&self, other: &DescribeNetworkInterfacePermissionsOutputBuilder) -> bool
fn eq(&self, other: &DescribeNetworkInterfacePermissionsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeNetworkInterfacePermissionsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DescribeNetworkInterfacePermissionsOutputBuilder
impl Send for DescribeNetworkInterfacePermissionsOutputBuilder
impl Sync for DescribeNetworkInterfacePermissionsOutputBuilder
impl Unpin for DescribeNetworkInterfacePermissionsOutputBuilder
impl UnwindSafe for DescribeNetworkInterfacePermissionsOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more