Struct aws_sdk_route53::operation::list_traffic_policy_instances_by_policy::builders::ListTrafficPolicyInstancesByPolicyOutputBuilder
source · #[non_exhaustive]pub struct ListTrafficPolicyInstancesByPolicyOutputBuilder { /* private fields */ }
Expand description
A builder for ListTrafficPolicyInstancesByPolicyOutput
.
Implementations§
source§impl ListTrafficPolicyInstancesByPolicyOutputBuilder
impl ListTrafficPolicyInstancesByPolicyOutputBuilder
sourcepub fn traffic_policy_instances(self, input: TrafficPolicyInstance) -> Self
pub fn traffic_policy_instances(self, input: TrafficPolicyInstance) -> Self
Appends an item to traffic_policy_instances
.
To override the contents of this collection use set_traffic_policy_instances
.
A list that contains one TrafficPolicyInstance
element for each traffic policy instance that matches the elements in the request.
sourcepub fn set_traffic_policy_instances(
self,
input: Option<Vec<TrafficPolicyInstance>>,
) -> Self
pub fn set_traffic_policy_instances( self, input: Option<Vec<TrafficPolicyInstance>>, ) -> Self
A list that contains one TrafficPolicyInstance
element for each traffic policy instance that matches the elements in the request.
sourcepub fn get_traffic_policy_instances(
&self,
) -> &Option<Vec<TrafficPolicyInstance>>
pub fn get_traffic_policy_instances( &self, ) -> &Option<Vec<TrafficPolicyInstance>>
A list that contains one TrafficPolicyInstance
element for each traffic policy instance that matches the elements in the request.
sourcepub fn hosted_zone_id_marker(self, input: impl Into<String>) -> Self
pub fn hosted_zone_id_marker(self, input: impl Into<String>) -> Self
If IsTruncated
is true
, HostedZoneIdMarker
is the ID of the hosted zone of the first traffic policy instance in the next group of traffic policy instances.
sourcepub fn set_hosted_zone_id_marker(self, input: Option<String>) -> Self
pub fn set_hosted_zone_id_marker(self, input: Option<String>) -> Self
If IsTruncated
is true
, HostedZoneIdMarker
is the ID of the hosted zone of the first traffic policy instance in the next group of traffic policy instances.
sourcepub fn get_hosted_zone_id_marker(&self) -> &Option<String>
pub fn get_hosted_zone_id_marker(&self) -> &Option<String>
If IsTruncated
is true
, HostedZoneIdMarker
is the ID of the hosted zone of the first traffic policy instance in the next group of traffic policy instances.
sourcepub fn traffic_policy_instance_name_marker(
self,
input: impl Into<String>,
) -> Self
pub fn traffic_policy_instance_name_marker( self, input: impl Into<String>, ) -> Self
If IsTruncated
is true
, TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group of MaxItems
traffic policy instances.
sourcepub fn set_traffic_policy_instance_name_marker(
self,
input: Option<String>,
) -> Self
pub fn set_traffic_policy_instance_name_marker( self, input: Option<String>, ) -> Self
If IsTruncated
is true
, TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group of MaxItems
traffic policy instances.
sourcepub fn get_traffic_policy_instance_name_marker(&self) -> &Option<String>
pub fn get_traffic_policy_instance_name_marker(&self) -> &Option<String>
If IsTruncated
is true
, TrafficPolicyInstanceNameMarker
is the name of the first traffic policy instance in the next group of MaxItems
traffic policy instances.
sourcepub fn traffic_policy_instance_type_marker(self, input: RrType) -> Self
pub fn traffic_policy_instance_type_marker(self, input: RrType) -> Self
If IsTruncated
is true
, TrafficPolicyInstanceTypeMarker
is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems
traffic policy instances.
sourcepub fn set_traffic_policy_instance_type_marker(
self,
input: Option<RrType>,
) -> Self
pub fn set_traffic_policy_instance_type_marker( self, input: Option<RrType>, ) -> Self
If IsTruncated
is true
, TrafficPolicyInstanceTypeMarker
is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems
traffic policy instances.
sourcepub fn get_traffic_policy_instance_type_marker(&self) -> &Option<RrType>
pub fn get_traffic_policy_instance_type_marker(&self) -> &Option<RrType>
If IsTruncated
is true
, TrafficPolicyInstanceTypeMarker
is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems
traffic policy instances.
sourcepub fn is_truncated(self, input: bool) -> Self
pub fn is_truncated(self, input: bool) -> Self
A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of traffic policy instances by calling ListTrafficPolicyInstancesByPolicy
again and specifying the values of the HostedZoneIdMarker
, TrafficPolicyInstanceNameMarker
, and TrafficPolicyInstanceTypeMarker
elements in the corresponding request parameters.
sourcepub fn set_is_truncated(self, input: Option<bool>) -> Self
pub fn set_is_truncated(self, input: Option<bool>) -> Self
A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of traffic policy instances by calling ListTrafficPolicyInstancesByPolicy
again and specifying the values of the HostedZoneIdMarker
, TrafficPolicyInstanceNameMarker
, and TrafficPolicyInstanceTypeMarker
elements in the corresponding request parameters.
sourcepub fn get_is_truncated(&self) -> &Option<bool>
pub fn get_is_truncated(&self) -> &Option<bool>
A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of traffic policy instances by calling ListTrafficPolicyInstancesByPolicy
again and specifying the values of the HostedZoneIdMarker
, TrafficPolicyInstanceNameMarker
, and TrafficPolicyInstanceTypeMarker
elements in the corresponding request parameters.
sourcepub fn max_items(self, input: i32) -> Self
pub fn max_items(self, input: i32) -> Self
The value that you specified for the MaxItems
parameter in the call to ListTrafficPolicyInstancesByPolicy
that produced the current response.
sourcepub fn set_max_items(self, input: Option<i32>) -> Self
pub fn set_max_items(self, input: Option<i32>) -> Self
The value that you specified for the MaxItems
parameter in the call to ListTrafficPolicyInstancesByPolicy
that produced the current response.
sourcepub fn get_max_items(&self) -> &Option<i32>
pub fn get_max_items(&self) -> &Option<i32>
The value that you specified for the MaxItems
parameter in the call to ListTrafficPolicyInstancesByPolicy
that produced the current response.
sourcepub fn build(
self,
) -> Result<ListTrafficPolicyInstancesByPolicyOutput, BuildError>
pub fn build( self, ) -> Result<ListTrafficPolicyInstancesByPolicyOutput, BuildError>
Consumes the builder and constructs a ListTrafficPolicyInstancesByPolicyOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListTrafficPolicyInstancesByPolicyOutputBuilder
impl Clone for ListTrafficPolicyInstancesByPolicyOutputBuilder
source§fn clone(&self) -> ListTrafficPolicyInstancesByPolicyOutputBuilder
fn clone(&self) -> ListTrafficPolicyInstancesByPolicyOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListTrafficPolicyInstancesByPolicyOutputBuilder
impl Default for ListTrafficPolicyInstancesByPolicyOutputBuilder
source§fn default() -> ListTrafficPolicyInstancesByPolicyOutputBuilder
fn default() -> ListTrafficPolicyInstancesByPolicyOutputBuilder
source§impl PartialEq for ListTrafficPolicyInstancesByPolicyOutputBuilder
impl PartialEq for ListTrafficPolicyInstancesByPolicyOutputBuilder
source§fn eq(&self, other: &ListTrafficPolicyInstancesByPolicyOutputBuilder) -> bool
fn eq(&self, other: &ListTrafficPolicyInstancesByPolicyOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListTrafficPolicyInstancesByPolicyOutputBuilder
Auto Trait Implementations§
impl Freeze for ListTrafficPolicyInstancesByPolicyOutputBuilder
impl RefUnwindSafe for ListTrafficPolicyInstancesByPolicyOutputBuilder
impl Send for ListTrafficPolicyInstancesByPolicyOutputBuilder
impl Sync for ListTrafficPolicyInstancesByPolicyOutputBuilder
impl Unpin for ListTrafficPolicyInstancesByPolicyOutputBuilder
impl UnwindSafe for ListTrafficPolicyInstancesByPolicyOutputBuilder
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