Struct aws_sdk_ec2::operation::get_ipam_address_history::builders::GetIpamAddressHistoryInputBuilder
source · #[non_exhaustive]pub struct GetIpamAddressHistoryInputBuilder { /* private fields */ }Expand description
A builder for GetIpamAddressHistoryInput.
Implementations§
source§impl GetIpamAddressHistoryInputBuilder
impl GetIpamAddressHistoryInputBuilder
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn cidr(self, input: impl Into<String>) -> Self
pub fn cidr(self, input: impl Into<String>) -> Self
The CIDR you want the history of. The CIDR can be an IPv4 or IPv6 IP address range. If you enter a /16 IPv4 CIDR, you will get records that match it exactly. You will not get records for any subnets within the /16 CIDR.
This field is required.sourcepub fn set_cidr(self, input: Option<String>) -> Self
pub fn set_cidr(self, input: Option<String>) -> Self
The CIDR you want the history of. The CIDR can be an IPv4 or IPv6 IP address range. If you enter a /16 IPv4 CIDR, you will get records that match it exactly. You will not get records for any subnets within the /16 CIDR.
sourcepub fn get_cidr(&self) -> &Option<String>
pub fn get_cidr(&self) -> &Option<String>
The CIDR you want the history of. The CIDR can be an IPv4 or IPv6 IP address range. If you enter a /16 IPv4 CIDR, you will get records that match it exactly. You will not get records for any subnets within the /16 CIDR.
sourcepub fn ipam_scope_id(self, input: impl Into<String>) -> Self
pub fn ipam_scope_id(self, input: impl Into<String>) -> Self
The ID of the IPAM scope that the CIDR is in.
This field is required.sourcepub fn set_ipam_scope_id(self, input: Option<String>) -> Self
pub fn set_ipam_scope_id(self, input: Option<String>) -> Self
The ID of the IPAM scope that the CIDR is in.
sourcepub fn get_ipam_scope_id(&self) -> &Option<String>
pub fn get_ipam_scope_id(&self) -> &Option<String>
The ID of the IPAM scope that the CIDR is in.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
The ID of the VPC you want your history records filtered by.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC you want your history records filtered by.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
The ID of the VPC you want your history records filtered by.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start of the time period for which you are looking for history. If you omit this option, it will default to the value of EndTime.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start of the time period for which you are looking for history. If you omit this option, it will default to the value of EndTime.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The start of the time period for which you are looking for history. If you omit this option, it will default to the value of EndTime.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The end of the time period for which you are looking for history. If you omit this option, it will default to the current time.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end of the time period for which you are looking for history. If you omit this option, it will default to the current time.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The end of the time period for which you are looking for history. If you omit this option, it will default to the current time.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of historical results you would like returned per page. Defaults to 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of historical results you would like returned per page. Defaults to 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of historical results you would like returned per page. Defaults to 100.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next page of results.
sourcepub fn build(self) -> Result<GetIpamAddressHistoryInput, BuildError>
pub fn build(self) -> Result<GetIpamAddressHistoryInput, BuildError>
Consumes the builder and constructs a GetIpamAddressHistoryInput.
source§impl GetIpamAddressHistoryInputBuilder
impl GetIpamAddressHistoryInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetIpamAddressHistoryOutput, SdkError<GetIpamAddressHistoryError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetIpamAddressHistoryOutput, SdkError<GetIpamAddressHistoryError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetIpamAddressHistoryInputBuilder
impl Clone for GetIpamAddressHistoryInputBuilder
source§fn clone(&self) -> GetIpamAddressHistoryInputBuilder
fn clone(&self) -> GetIpamAddressHistoryInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetIpamAddressHistoryInputBuilder
impl Default for GetIpamAddressHistoryInputBuilder
source§fn default() -> GetIpamAddressHistoryInputBuilder
fn default() -> GetIpamAddressHistoryInputBuilder
source§impl PartialEq for GetIpamAddressHistoryInputBuilder
impl PartialEq for GetIpamAddressHistoryInputBuilder
source§fn eq(&self, other: &GetIpamAddressHistoryInputBuilder) -> bool
fn eq(&self, other: &GetIpamAddressHistoryInputBuilder) -> bool
self and other values to be equal, and is used
by ==.