Struct aws_sdk_s3outposts::operation::create_endpoint::builders::CreateEndpointFluentBuilder
source · pub struct CreateEndpointFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateEndpoint.
Creates an endpoint and associates it with the specified Outpost.
It can take up to 5 minutes for this action to finish.
Related actions include:
Implementations§
source§impl CreateEndpointFluentBuilder
impl CreateEndpointFluentBuilder
sourcepub fn as_input(&self) -> &CreateEndpointInputBuilder
pub fn as_input(&self) -> &CreateEndpointInputBuilder
Access the CreateEndpoint as a reference.
sourcepub async fn send(
self
) -> Result<CreateEndpointOutput, SdkError<CreateEndpointError, HttpResponse>>
pub async fn send( self ) -> Result<CreateEndpointOutput, SdkError<CreateEndpointError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<CreateEndpointOutput, CreateEndpointError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateEndpointOutput, CreateEndpointError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
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.
Trait Implementations§
source§impl Clone for CreateEndpointFluentBuilder
impl Clone for CreateEndpointFluentBuilder
source§fn clone(&self) -> CreateEndpointFluentBuilder
fn clone(&self) -> CreateEndpointFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more