Struct aws_sdk_iot::input::delete_security_profile_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteSecurityProfileInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn security_profile_name(self, input: impl Into<String>) -> Self
pub fn security_profile_name(self, input: impl Into<String>) -> Self
The name of the security profile to be deleted.
sourcepub fn set_security_profile_name(self, input: Option<String>) -> Self
pub fn set_security_profile_name(self, input: Option<String>) -> Self
The name of the security profile to be deleted.
sourcepub fn expected_version(self, input: i64) -> Self
pub fn expected_version(self, input: i64) -> Self
The expected version of the security profile. A new version is generated whenever the security profile is updated. If you specify a value that is different from the actual version, a VersionConflictException
is thrown.
sourcepub fn set_expected_version(self, input: Option<i64>) -> Self
pub fn set_expected_version(self, input: Option<i64>) -> Self
The expected version of the security profile. A new version is generated whenever the security profile is updated. If you specify a value that is different from the actual version, a VersionConflictException
is thrown.
sourcepub fn build(self) -> Result<DeleteSecurityProfileInput, BuildError>
pub fn build(self) -> Result<DeleteSecurityProfileInput, BuildError>
Consumes the builder and constructs a DeleteSecurityProfileInput
.