Struct aws_sdk_ec2::operation::delete_instance_connect_endpoint::builders::DeleteInstanceConnectEndpointInputBuilder
source · #[non_exhaustive]pub struct DeleteInstanceConnectEndpointInputBuilder { /* private fields */ }
Expand description
A builder for DeleteInstanceConnectEndpointInput
.
Implementations§
source§impl DeleteInstanceConnectEndpointInputBuilder
impl DeleteInstanceConnectEndpointInputBuilder
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks 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
Checks 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>
Checks 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 instance_connect_endpoint_id(self, input: impl Into<String>) -> Self
pub fn instance_connect_endpoint_id(self, input: impl Into<String>) -> Self
The ID of the EC2 Instance Connect Endpoint to delete.
sourcepub fn set_instance_connect_endpoint_id(self, input: Option<String>) -> Self
pub fn set_instance_connect_endpoint_id(self, input: Option<String>) -> Self
The ID of the EC2 Instance Connect Endpoint to delete.
sourcepub fn get_instance_connect_endpoint_id(&self) -> &Option<String>
pub fn get_instance_connect_endpoint_id(&self) -> &Option<String>
The ID of the EC2 Instance Connect Endpoint to delete.
sourcepub fn build(self) -> Result<DeleteInstanceConnectEndpointInput, BuildError>
pub fn build(self) -> Result<DeleteInstanceConnectEndpointInput, BuildError>
Consumes the builder and constructs a DeleteInstanceConnectEndpointInput
.
source§impl DeleteInstanceConnectEndpointInputBuilder
impl DeleteInstanceConnectEndpointInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteInstanceConnectEndpointOutput, SdkError<DeleteInstanceConnectEndpointError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteInstanceConnectEndpointOutput, SdkError<DeleteInstanceConnectEndpointError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteInstanceConnectEndpointInputBuilder
impl Clone for DeleteInstanceConnectEndpointInputBuilder
source§fn clone(&self) -> DeleteInstanceConnectEndpointInputBuilder
fn clone(&self) -> DeleteInstanceConnectEndpointInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DeleteInstanceConnectEndpointInputBuilder
impl Default for DeleteInstanceConnectEndpointInputBuilder
source§fn default() -> DeleteInstanceConnectEndpointInputBuilder
fn default() -> DeleteInstanceConnectEndpointInputBuilder
source§impl PartialEq<DeleteInstanceConnectEndpointInputBuilder> for DeleteInstanceConnectEndpointInputBuilder
impl PartialEq<DeleteInstanceConnectEndpointInputBuilder> for DeleteInstanceConnectEndpointInputBuilder
source§fn eq(&self, other: &DeleteInstanceConnectEndpointInputBuilder) -> bool
fn eq(&self, other: &DeleteInstanceConnectEndpointInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.