Struct aws_sdk_lightsail::operation::get_load_balancers::builders::GetLoadBalancersOutputBuilder
source · #[non_exhaustive]pub struct GetLoadBalancersOutputBuilder { /* private fields */ }
Expand description
A builder for GetLoadBalancersOutput
.
Implementations§
source§impl GetLoadBalancersOutputBuilder
impl GetLoadBalancersOutputBuilder
sourcepub fn load_balancers(self, input: LoadBalancer) -> Self
pub fn load_balancers(self, input: LoadBalancer) -> Self
Appends an item to load_balancers
.
To override the contents of this collection use set_load_balancers
.
An array of LoadBalancer objects describing your load balancers.
sourcepub fn set_load_balancers(self, input: Option<Vec<LoadBalancer>>) -> Self
pub fn set_load_balancers(self, input: Option<Vec<LoadBalancer>>) -> Self
An array of LoadBalancer objects describing your load balancers.
sourcepub fn get_load_balancers(&self) -> &Option<Vec<LoadBalancer>>
pub fn get_load_balancers(&self) -> &Option<Vec<LoadBalancer>>
An array of LoadBalancer objects describing your load balancers.
sourcepub fn next_page_token(self, input: impl Into<String>) -> Self
pub fn next_page_token(self, input: impl Into<String>) -> Self
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetLoadBalancers
request and specify the next page token using the pageToken
parameter.
sourcepub fn set_next_page_token(self, input: Option<String>) -> Self
pub fn set_next_page_token(self, input: Option<String>) -> Self
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetLoadBalancers
request and specify the next page token using the pageToken
parameter.
sourcepub fn get_next_page_token(&self) -> &Option<String>
pub fn get_next_page_token(&self) -> &Option<String>
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetLoadBalancers
request and specify the next page token using the pageToken
parameter.
sourcepub fn build(self) -> GetLoadBalancersOutput
pub fn build(self) -> GetLoadBalancersOutput
Consumes the builder and constructs a GetLoadBalancersOutput
.
Trait Implementations§
source§impl Clone for GetLoadBalancersOutputBuilder
impl Clone for GetLoadBalancersOutputBuilder
source§fn clone(&self) -> GetLoadBalancersOutputBuilder
fn clone(&self) -> GetLoadBalancersOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetLoadBalancersOutputBuilder
impl Default for GetLoadBalancersOutputBuilder
source§fn default() -> GetLoadBalancersOutputBuilder
fn default() -> GetLoadBalancersOutputBuilder
source§impl PartialEq for GetLoadBalancersOutputBuilder
impl PartialEq for GetLoadBalancersOutputBuilder
source§fn eq(&self, other: &GetLoadBalancersOutputBuilder) -> bool
fn eq(&self, other: &GetLoadBalancersOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetLoadBalancersOutputBuilder
Auto Trait Implementations§
impl Freeze for GetLoadBalancersOutputBuilder
impl RefUnwindSafe for GetLoadBalancersOutputBuilder
impl Send for GetLoadBalancersOutputBuilder
impl Sync for GetLoadBalancersOutputBuilder
impl Unpin for GetLoadBalancersOutputBuilder
impl UnwindSafe for GetLoadBalancersOutputBuilder
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