pub struct Builder { /* private fields */ }
Expand description

Implementations§

The Amazon Resource Name (ARN) of the project for which you want to update network profile settings.

Examples found in repository?
src/client.rs (line 8003)
8002
8003
8004
8005
        pub fn arn(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.arn(input.into());
            self
        }

The Amazon Resource Name (ARN) of the project for which you want to update network profile settings.

Examples found in repository?
src/client.rs (line 8008)
8007
8008
8009
8010
        pub fn set_arn(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_arn(input);
            self
        }

The name of the network profile about which you are returning information.

Examples found in repository?
src/client.rs (line 8013)
8012
8013
8014
8015
        pub fn name(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.name(input.into());
            self
        }

The name of the network profile about which you are returning information.

Examples found in repository?
src/client.rs (line 8018)
8017
8018
8019
8020
        pub fn set_name(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_name(input);
            self
        }

The description of the network profile about which you are returning information.

Examples found in repository?
src/client.rs (line 8023)
8022
8023
8024
8025
        pub fn description(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.description(input.into());
            self
        }

The description of the network profile about which you are returning information.

Examples found in repository?
src/client.rs (line 8028)
8027
8028
8029
8030
        pub fn set_description(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_description(input);
            self
        }

The type of network profile to return information about. Valid values are listed here.

Examples found in repository?
src/client.rs (line 8033)
8032
8033
8034
8035
        pub fn r#type(mut self, input: crate::model::NetworkProfileType) -> Self {
            self.inner = self.inner.r#type(input);
            self
        }

The type of network profile to return information about. Valid values are listed here.

Examples found in repository?
src/client.rs (line 8041)
8037
8038
8039
8040
8041
8042
8043
        pub fn set_type(
            mut self,
            input: std::option::Option<crate::model::NetworkProfileType>,
        ) -> Self {
            self.inner = self.inner.set_type(input);
            self
        }

The data throughput rate in bits per second, as an integer from 0 to 104857600.

Examples found in repository?
src/client.rs (line 8046)
8045
8046
8047
8048
        pub fn uplink_bandwidth_bits(mut self, input: i64) -> Self {
            self.inner = self.inner.uplink_bandwidth_bits(input);
            self
        }

The data throughput rate in bits per second, as an integer from 0 to 104857600.

Examples found in repository?
src/client.rs (line 8051)
8050
8051
8052
8053
        pub fn set_uplink_bandwidth_bits(mut self, input: std::option::Option<i64>) -> Self {
            self.inner = self.inner.set_uplink_bandwidth_bits(input);
            self
        }

The data throughput rate in bits per second, as an integer from 0 to 104857600.

Examples found in repository?
src/client.rs (line 8056)
8055
8056
8057
8058
        pub fn downlink_bandwidth_bits(mut self, input: i64) -> Self {
            self.inner = self.inner.downlink_bandwidth_bits(input);
            self
        }

The data throughput rate in bits per second, as an integer from 0 to 104857600.

Examples found in repository?
src/client.rs (line 8061)
8060
8061
8062
8063
        pub fn set_downlink_bandwidth_bits(mut self, input: std::option::Option<i64>) -> Self {
            self.inner = self.inner.set_downlink_bandwidth_bits(input);
            self
        }

Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.

Examples found in repository?
src/client.rs (line 8066)
8065
8066
8067
8068
        pub fn uplink_delay_ms(mut self, input: i64) -> Self {
            self.inner = self.inner.uplink_delay_ms(input);
            self
        }

Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.

Examples found in repository?
src/client.rs (line 8071)
8070
8071
8072
8073
        pub fn set_uplink_delay_ms(mut self, input: std::option::Option<i64>) -> Self {
            self.inner = self.inner.set_uplink_delay_ms(input);
            self
        }

Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.

Examples found in repository?
src/client.rs (line 8076)
8075
8076
8077
8078
        pub fn downlink_delay_ms(mut self, input: i64) -> Self {
            self.inner = self.inner.downlink_delay_ms(input);
            self
        }

Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.

Examples found in repository?
src/client.rs (line 8081)
8080
8081
8082
8083
        pub fn set_downlink_delay_ms(mut self, input: std::option::Option<i64>) -> Self {
            self.inner = self.inner.set_downlink_delay_ms(input);
            self
        }

Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.

Examples found in repository?
src/client.rs (line 8086)
8085
8086
8087
8088
        pub fn uplink_jitter_ms(mut self, input: i64) -> Self {
            self.inner = self.inner.uplink_jitter_ms(input);
            self
        }

Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.

Examples found in repository?
src/client.rs (line 8091)
8090
8091
8092
8093
        pub fn set_uplink_jitter_ms(mut self, input: std::option::Option<i64>) -> Self {
            self.inner = self.inner.set_uplink_jitter_ms(input);
            self
        }

Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.

Examples found in repository?
src/client.rs (line 8096)
8095
8096
8097
8098
        pub fn downlink_jitter_ms(mut self, input: i64) -> Self {
            self.inner = self.inner.downlink_jitter_ms(input);
            self
        }

Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.

Examples found in repository?
src/client.rs (line 8101)
8100
8101
8102
8103
        pub fn set_downlink_jitter_ms(mut self, input: std::option::Option<i64>) -> Self {
            self.inner = self.inner.set_downlink_jitter_ms(input);
            self
        }

Proportion of transmitted packets that fail to arrive from 0 to 100 percent.

Examples found in repository?
src/client.rs (line 8106)
8105
8106
8107
8108
        pub fn uplink_loss_percent(mut self, input: i32) -> Self {
            self.inner = self.inner.uplink_loss_percent(input);
            self
        }

Proportion of transmitted packets that fail to arrive from 0 to 100 percent.

Examples found in repository?
src/client.rs (line 8111)
8110
8111
8112
8113
        pub fn set_uplink_loss_percent(mut self, input: std::option::Option<i32>) -> Self {
            self.inner = self.inner.set_uplink_loss_percent(input);
            self
        }

Proportion of received packets that fail to arrive from 0 to 100 percent.

Examples found in repository?
src/client.rs (line 8116)
8115
8116
8117
8118
        pub fn downlink_loss_percent(mut self, input: i32) -> Self {
            self.inner = self.inner.downlink_loss_percent(input);
            self
        }

Proportion of received packets that fail to arrive from 0 to 100 percent.

Examples found in repository?
src/client.rs (line 8121)
8120
8121
8122
8123
        pub fn set_downlink_loss_percent(mut self, input: std::option::Option<i32>) -> Self {
            self.inner = self.inner.set_downlink_loss_percent(input);
            self
        }

Consumes the builder and constructs a UpdateNetworkProfileInput.

Examples found in repository?
src/client.rs (line 7970)
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
        pub async fn customize(
            self,
        ) -> std::result::Result<
            crate::operation::customize::CustomizableOperation<
                crate::operation::UpdateNetworkProfile,
                aws_http::retry::AwsResponseRetryClassifier,
            >,
            aws_smithy_http::result::SdkError<crate::error::UpdateNetworkProfileError>,
        > {
            let handle = self.handle.clone();
            let operation = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            Ok(crate::operation::customize::CustomizableOperation { handle, operation })
        }

        /// 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](aws_smithy_types::retry::RetryConfig), which can be
        /// set when configuring the client.
        pub async fn send(
            self,
        ) -> std::result::Result<
            crate::output::UpdateNetworkProfileOutput,
            aws_smithy_http::result::SdkError<crate::error::UpdateNetworkProfileError>,
        > {
            let op = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&self.handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            self.handle.client.call(op).await
        }

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more