Struct aws_sdk_route53::operation::list_traffic_policy_instances_by_hosted_zone::builders::ListTrafficPolicyInstancesByHostedZoneInputBuilder
source · #[non_exhaustive]pub struct ListTrafficPolicyInstancesByHostedZoneInputBuilder { /* private fields */ }
Expand description
A builder for ListTrafficPolicyInstancesByHostedZoneInput
.
Implementations§
source§impl ListTrafficPolicyInstancesByHostedZoneInputBuilder
impl ListTrafficPolicyInstancesByHostedZoneInputBuilder
sourcepub fn hosted_zone_id(self, input: impl Into<String>) -> Self
pub fn hosted_zone_id(self, input: impl Into<String>) -> Self
The ID of the hosted zone that you want to list traffic policy instances for.
This field is required.sourcepub fn set_hosted_zone_id(self, input: Option<String>) -> Self
pub fn set_hosted_zone_id(self, input: Option<String>) -> Self
The ID of the hosted zone that you want to list traffic policy instances for.
sourcepub fn get_hosted_zone_id(&self) -> &Option<String>
pub fn get_hosted_zone_id(&self) -> &Option<String>
The ID of the hosted zone that you want to list traffic policy instances for.
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 the value of IsTruncated
in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancename
, specify the value of TrafficPolicyInstanceNameMarker
from the previous response, which is the name of the first traffic policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more traffic policy instances to get.
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 the value of IsTruncated
in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancename
, specify the value of TrafficPolicyInstanceNameMarker
from the previous response, which is the name of the first traffic policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more traffic policy instances to get.
sourcepub fn get_traffic_policy_instance_name_marker(&self) -> &Option<String>
pub fn get_traffic_policy_instance_name_marker(&self) -> &Option<String>
If the value of IsTruncated
in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancename
, specify the value of TrafficPolicyInstanceNameMarker
from the previous response, which is the name of the first traffic policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more traffic policy instances to get.
sourcepub fn traffic_policy_instance_type_marker(self, input: RrType) -> Self
pub fn traffic_policy_instance_type_marker(self, input: RrType) -> Self
If the value of IsTruncated
in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancetype
, specify the value of TrafficPolicyInstanceTypeMarker
from the previous response, which is the type of the first traffic policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more traffic policy instances to get.
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 the value of IsTruncated
in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancetype
, specify the value of TrafficPolicyInstanceTypeMarker
from the previous response, which is the type of the first traffic policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more traffic policy instances to get.
sourcepub fn get_traffic_policy_instance_type_marker(&self) -> &Option<RrType>
pub fn get_traffic_policy_instance_type_marker(&self) -> &Option<RrType>
If the value of IsTruncated
in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances
request. For the value of trafficpolicyinstancetype
, specify the value of TrafficPolicyInstanceTypeMarker
from the previous response, which is the type of the first traffic policy instance in the next group of traffic policy instances.
If the value of IsTruncated
in the previous response was false
, there are no more traffic policy instances to get.
sourcepub fn max_items(self, input: i32) -> Self
pub fn max_items(self, input: i32) -> Self
The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems
traffic policy instances, the value of the IsTruncated
element in the response is true
, and the values of HostedZoneIdMarker
, TrafficPolicyInstanceNameMarker
, and TrafficPolicyInstanceTypeMarker
represent the first traffic policy instance that Amazon Route 53 will return if you submit another request.
sourcepub fn set_max_items(self, input: Option<i32>) -> Self
pub fn set_max_items(self, input: Option<i32>) -> Self
The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems
traffic policy instances, the value of the IsTruncated
element in the response is true
, and the values of HostedZoneIdMarker
, TrafficPolicyInstanceNameMarker
, and TrafficPolicyInstanceTypeMarker
represent the first traffic policy instance that Amazon Route 53 will return if you submit another request.
sourcepub fn get_max_items(&self) -> &Option<i32>
pub fn get_max_items(&self) -> &Option<i32>
The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems
traffic policy instances, the value of the IsTruncated
element in the response is true
, and the values of HostedZoneIdMarker
, TrafficPolicyInstanceNameMarker
, and TrafficPolicyInstanceTypeMarker
represent the first traffic policy instance that Amazon Route 53 will return if you submit another request.
sourcepub fn build(
self,
) -> Result<ListTrafficPolicyInstancesByHostedZoneInput, BuildError>
pub fn build( self, ) -> Result<ListTrafficPolicyInstancesByHostedZoneInput, BuildError>
Consumes the builder and constructs a ListTrafficPolicyInstancesByHostedZoneInput
.
source§impl ListTrafficPolicyInstancesByHostedZoneInputBuilder
impl ListTrafficPolicyInstancesByHostedZoneInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListTrafficPolicyInstancesByHostedZoneOutput, SdkError<ListTrafficPolicyInstancesByHostedZoneError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListTrafficPolicyInstancesByHostedZoneOutput, SdkError<ListTrafficPolicyInstancesByHostedZoneError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListTrafficPolicyInstancesByHostedZoneInputBuilder
impl Clone for ListTrafficPolicyInstancesByHostedZoneInputBuilder
source§fn clone(&self) -> ListTrafficPolicyInstancesByHostedZoneInputBuilder
fn clone(&self) -> ListTrafficPolicyInstancesByHostedZoneInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListTrafficPolicyInstancesByHostedZoneInputBuilder
impl Default for ListTrafficPolicyInstancesByHostedZoneInputBuilder
source§fn default() -> ListTrafficPolicyInstancesByHostedZoneInputBuilder
fn default() -> ListTrafficPolicyInstancesByHostedZoneInputBuilder
source§impl PartialEq for ListTrafficPolicyInstancesByHostedZoneInputBuilder
impl PartialEq for ListTrafficPolicyInstancesByHostedZoneInputBuilder
source§fn eq(&self, other: &ListTrafficPolicyInstancesByHostedZoneInputBuilder) -> bool
fn eq(&self, other: &ListTrafficPolicyInstancesByHostedZoneInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListTrafficPolicyInstancesByHostedZoneInputBuilder
Auto Trait Implementations§
impl Freeze for ListTrafficPolicyInstancesByHostedZoneInputBuilder
impl RefUnwindSafe for ListTrafficPolicyInstancesByHostedZoneInputBuilder
impl Send for ListTrafficPolicyInstancesByHostedZoneInputBuilder
impl Sync for ListTrafficPolicyInstancesByHostedZoneInputBuilder
impl Unpin for ListTrafficPolicyInstancesByHostedZoneInputBuilder
impl UnwindSafe for ListTrafficPolicyInstancesByHostedZoneInputBuilder
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