#[non_exhaustive]pub struct ModifyHsmInputBuilder { /* private fields */ }Expand description
A builder for ModifyHsmInput.
Implementations§
source§impl ModifyHsmInputBuilder
impl ModifyHsmInputBuilder
sourcepub fn hsm_arn(self, input: impl Into<String>) -> Self
pub fn hsm_arn(self, input: impl Into<String>) -> Self
The ARN of the HSM to modify.
This field is required.sourcepub fn set_hsm_arn(self, input: Option<String>) -> Self
pub fn set_hsm_arn(self, input: Option<String>) -> Self
The ARN of the HSM to modify.
sourcepub fn get_hsm_arn(&self) -> &Option<String>
pub fn get_hsm_arn(&self) -> &Option<String>
The ARN of the HSM to modify.
sourcepub fn subnet_id(self, input: impl Into<String>) -> Self
pub fn subnet_id(self, input: impl Into<String>) -> Self
The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.
sourcepub fn set_subnet_id(self, input: Option<String>) -> Self
pub fn set_subnet_id(self, input: Option<String>) -> Self
The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.
sourcepub fn get_subnet_id(&self) -> &Option<String>
pub fn get_subnet_id(&self) -> &Option<String>
The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.
sourcepub fn eni_ip(self, input: impl Into<String>) -> Self
pub fn eni_ip(self, input: impl Into<String>) -> Self
The new IP address for the elastic network interface (ENI) attached to the HSM.
If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.
sourcepub fn set_eni_ip(self, input: Option<String>) -> Self
pub fn set_eni_ip(self, input: Option<String>) -> Self
The new IP address for the elastic network interface (ENI) attached to the HSM.
If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.
sourcepub fn get_eni_ip(&self) -> &Option<String>
pub fn get_eni_ip(&self) -> &Option<String>
The new IP address for the elastic network interface (ENI) attached to the HSM.
If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.
sourcepub fn iam_role_arn(self, input: impl Into<String>) -> Self
pub fn iam_role_arn(self, input: impl Into<String>) -> Self
The new IAM role ARN.
sourcepub fn set_iam_role_arn(self, input: Option<String>) -> Self
pub fn set_iam_role_arn(self, input: Option<String>) -> Self
The new IAM role ARN.
sourcepub fn get_iam_role_arn(&self) -> &Option<String>
pub fn get_iam_role_arn(&self) -> &Option<String>
The new IAM role ARN.
sourcepub fn external_id(self, input: impl Into<String>) -> Self
pub fn external_id(self, input: impl Into<String>) -> Self
The new external ID.
sourcepub fn set_external_id(self, input: Option<String>) -> Self
pub fn set_external_id(self, input: Option<String>) -> Self
The new external ID.
sourcepub fn get_external_id(&self) -> &Option<String>
pub fn get_external_id(&self) -> &Option<String>
The new external ID.
sourcepub fn syslog_ip(self, input: impl Into<String>) -> Self
pub fn syslog_ip(self, input: impl Into<String>) -> Self
The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
sourcepub fn set_syslog_ip(self, input: Option<String>) -> Self
pub fn set_syslog_ip(self, input: Option<String>) -> Self
The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
sourcepub fn get_syslog_ip(&self) -> &Option<String>
pub fn get_syslog_ip(&self) -> &Option<String>
The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
sourcepub fn build(self) -> Result<ModifyHsmInput, BuildError>
pub fn build(self) -> Result<ModifyHsmInput, BuildError>
Consumes the builder and constructs a ModifyHsmInput.
source§impl ModifyHsmInputBuilder
impl ModifyHsmInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyHsmOutput, SdkError<ModifyHsmError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyHsmOutput, SdkError<ModifyHsmError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyHsmInputBuilder
impl Clone for ModifyHsmInputBuilder
source§fn clone(&self) -> ModifyHsmInputBuilder
fn clone(&self) -> ModifyHsmInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ModifyHsmInputBuilder
impl Debug for ModifyHsmInputBuilder
source§impl Default for ModifyHsmInputBuilder
impl Default for ModifyHsmInputBuilder
source§fn default() -> ModifyHsmInputBuilder
fn default() -> ModifyHsmInputBuilder
source§impl PartialEq for ModifyHsmInputBuilder
impl PartialEq for ModifyHsmInputBuilder
source§fn eq(&self, other: &ModifyHsmInputBuilder) -> bool
fn eq(&self, other: &ModifyHsmInputBuilder) -> bool
self and other values to be equal, and is used
by ==.