Struct aws_sdk_transfer::operation::list_security_policies::builders::ListSecurityPoliciesOutputBuilder
source · #[non_exhaustive]pub struct ListSecurityPoliciesOutputBuilder { /* private fields */ }
Expand description
A builder for ListSecurityPoliciesOutput
.
Implementations§
source§impl ListSecurityPoliciesOutputBuilder
impl ListSecurityPoliciesOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When you can get additional results from the ListSecurityPolicies
operation, a NextToken
parameter is returned in the output. In a following command, you can pass in the NextToken
parameter to continue listing security policies.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When you can get additional results from the ListSecurityPolicies
operation, a NextToken
parameter is returned in the output. In a following command, you can pass in the NextToken
parameter to continue listing security policies.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When you can get additional results from the ListSecurityPolicies
operation, a NextToken
parameter is returned in the output. In a following command, you can pass in the NextToken
parameter to continue listing security policies.
sourcepub fn security_policy_names(self, input: impl Into<String>) -> Self
pub fn security_policy_names(self, input: impl Into<String>) -> Self
Appends an item to security_policy_names
.
To override the contents of this collection use set_security_policy_names
.
An array of security policies that were listed.
sourcepub fn set_security_policy_names(self, input: Option<Vec<String>>) -> Self
pub fn set_security_policy_names(self, input: Option<Vec<String>>) -> Self
An array of security policies that were listed.
sourcepub fn get_security_policy_names(&self) -> &Option<Vec<String>>
pub fn get_security_policy_names(&self) -> &Option<Vec<String>>
An array of security policies that were listed.
sourcepub fn build(self) -> Result<ListSecurityPoliciesOutput, BuildError>
pub fn build(self) -> Result<ListSecurityPoliciesOutput, BuildError>
Consumes the builder and constructs a ListSecurityPoliciesOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListSecurityPoliciesOutputBuilder
impl Clone for ListSecurityPoliciesOutputBuilder
source§fn clone(&self) -> ListSecurityPoliciesOutputBuilder
fn clone(&self) -> ListSecurityPoliciesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListSecurityPoliciesOutputBuilder
impl Default for ListSecurityPoliciesOutputBuilder
source§fn default() -> ListSecurityPoliciesOutputBuilder
fn default() -> ListSecurityPoliciesOutputBuilder
source§impl PartialEq for ListSecurityPoliciesOutputBuilder
impl PartialEq for ListSecurityPoliciesOutputBuilder
source§fn eq(&self, other: &ListSecurityPoliciesOutputBuilder) -> bool
fn eq(&self, other: &ListSecurityPoliciesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListSecurityPoliciesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListSecurityPoliciesOutputBuilder
impl RefUnwindSafe for ListSecurityPoliciesOutputBuilder
impl Send for ListSecurityPoliciesOutputBuilder
impl Sync for ListSecurityPoliciesOutputBuilder
impl Unpin for ListSecurityPoliciesOutputBuilder
impl UnwindSafe for ListSecurityPoliciesOutputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more