Struct aws_sdk_outposts::input::get_site_address_input::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for GetSiteAddressInput
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn site_id(self, input: impl Into<String>) -> Self
pub fn site_id(self, input: impl Into<String>) -> Self
The ID or the Amazon Resource Name (ARN) of the site.
In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and sites throughout the Outposts Query API. To address backwards compatibility, the parameter names OutpostID
or SiteID
remain in use. Despite the parameter name, you can make the request with an ARN.
sourcepub fn set_site_id(self, input: Option<String>) -> Self
pub fn set_site_id(self, input: Option<String>) -> Self
The ID or the Amazon Resource Name (ARN) of the site.
In requests, Amazon Web Services Outposts accepts the Amazon Resource Name (ARN) or an ID for Outposts and sites throughout the Outposts Query API. To address backwards compatibility, the parameter names OutpostID
or SiteID
remain in use. Despite the parameter name, you can make the request with an ARN.
sourcepub fn address_type(self, input: AddressType) -> Self
pub fn address_type(self, input: AddressType) -> Self
The type of the address you request.
sourcepub fn set_address_type(self, input: Option<AddressType>) -> Self
pub fn set_address_type(self, input: Option<AddressType>) -> Self
The type of the address you request.
sourcepub fn build(self) -> Result<GetSiteAddressInput, BuildError>
pub fn build(self) -> Result<GetSiteAddressInput, BuildError>
Consumes the builder and constructs a GetSiteAddressInput
.