#[non_exhaustive]pub struct CreateEndpointInputBuilder { /* private fields */ }Expand description
A builder for CreateEndpointInput.
Implementations§
source§impl CreateEndpointInputBuilder
impl CreateEndpointInputBuilder
sourcepub fn outpost_id(self, input: impl Into<String>) -> Self
pub fn outpost_id(self, input: impl Into<String>) -> Self
The ID of the Outposts.
This field is required.sourcepub fn set_outpost_id(self, input: Option<String>) -> Self
pub fn set_outpost_id(self, input: Option<String>) -> Self
The ID of the Outposts.
sourcepub fn get_outpost_id(&self) -> &Option<String>
pub fn get_outpost_id(&self) -> &Option<String>
The ID of the Outposts.
sourcepub fn subnet_id(self, input: impl Into<String>) -> Self
pub fn subnet_id(self, input: impl Into<String>) -> Self
The ID of the subnet in the selected VPC. The endpoint subnet must belong to the Outpost that has Amazon S3 on Outposts provisioned.
This field is required.sourcepub fn set_subnet_id(self, input: Option<String>) -> Self
pub fn set_subnet_id(self, input: Option<String>) -> Self
The ID of the subnet in the selected VPC. The endpoint subnet must belong to the Outpost that has Amazon S3 on Outposts provisioned.
sourcepub fn get_subnet_id(&self) -> &Option<String>
pub fn get_subnet_id(&self) -> &Option<String>
The ID of the subnet in the selected VPC. The endpoint subnet must belong to the Outpost that has Amazon S3 on Outposts provisioned.
sourcepub fn security_group_id(self, input: impl Into<String>) -> Self
pub fn security_group_id(self, input: impl Into<String>) -> Self
The ID of the security group to use with the endpoint.
This field is required.sourcepub fn set_security_group_id(self, input: Option<String>) -> Self
pub fn set_security_group_id(self, input: Option<String>) -> Self
The ID of the security group to use with the endpoint.
sourcepub fn get_security_group_id(&self) -> &Option<String>
pub fn get_security_group_id(&self) -> &Option<String>
The ID of the security group to use with the endpoint.
sourcepub fn access_type(self, input: EndpointAccessType) -> Self
pub fn access_type(self, input: EndpointAccessType) -> Self
The type of access for the network connectivity for the Amazon S3 on Outposts endpoint. To use the Amazon Web Services VPC, choose Private. To use the endpoint with an on-premises network, choose CustomerOwnedIp. If you choose CustomerOwnedIp, you must also provide the customer-owned IP address pool (CoIP pool).
Private is the default access type value.
sourcepub fn set_access_type(self, input: Option<EndpointAccessType>) -> Self
pub fn set_access_type(self, input: Option<EndpointAccessType>) -> Self
The type of access for the network connectivity for the Amazon S3 on Outposts endpoint. To use the Amazon Web Services VPC, choose Private. To use the endpoint with an on-premises network, choose CustomerOwnedIp. If you choose CustomerOwnedIp, you must also provide the customer-owned IP address pool (CoIP pool).
Private is the default access type value.
sourcepub fn get_access_type(&self) -> &Option<EndpointAccessType>
pub fn get_access_type(&self) -> &Option<EndpointAccessType>
The type of access for the network connectivity for the Amazon S3 on Outposts endpoint. To use the Amazon Web Services VPC, choose Private. To use the endpoint with an on-premises network, choose CustomerOwnedIp. If you choose CustomerOwnedIp, you must also provide the customer-owned IP address pool (CoIP pool).
Private is the default access type value.
sourcepub fn customer_owned_ipv4_pool(self, input: impl Into<String>) -> Self
pub fn customer_owned_ipv4_pool(self, input: impl Into<String>) -> Self
The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint. IP addresses are allocated from this pool for the endpoint.
sourcepub fn set_customer_owned_ipv4_pool(self, input: Option<String>) -> Self
pub fn set_customer_owned_ipv4_pool(self, input: Option<String>) -> Self
The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint. IP addresses are allocated from this pool for the endpoint.
sourcepub fn get_customer_owned_ipv4_pool(&self) -> &Option<String>
pub fn get_customer_owned_ipv4_pool(&self) -> &Option<String>
The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint. IP addresses are allocated from this pool for the endpoint.
sourcepub fn build(self) -> Result<CreateEndpointInput, BuildError>
pub fn build(self) -> Result<CreateEndpointInput, BuildError>
Consumes the builder and constructs a CreateEndpointInput.
source§impl CreateEndpointInputBuilder
impl CreateEndpointInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateEndpointOutput, SdkError<CreateEndpointError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateEndpointOutput, SdkError<CreateEndpointError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateEndpointInputBuilder
impl Clone for CreateEndpointInputBuilder
source§fn clone(&self) -> CreateEndpointInputBuilder
fn clone(&self) -> CreateEndpointInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateEndpointInputBuilder
impl Debug for CreateEndpointInputBuilder
source§impl Default for CreateEndpointInputBuilder
impl Default for CreateEndpointInputBuilder
source§fn default() -> CreateEndpointInputBuilder
fn default() -> CreateEndpointInputBuilder
source§impl PartialEq for CreateEndpointInputBuilder
impl PartialEq for CreateEndpointInputBuilder
source§fn eq(&self, other: &CreateEndpointInputBuilder) -> bool
fn eq(&self, other: &CreateEndpointInputBuilder) -> bool
self and other values to be equal, and is used
by ==.