#[non_exhaustive]pub struct ModifyHapgInputBuilder { /* private fields */ }Expand description
A builder for ModifyHapgInput.
Implementations§
source§impl ModifyHapgInputBuilder
impl ModifyHapgInputBuilder
sourcepub fn hapg_arn(self, input: impl Into<String>) -> Self
pub fn hapg_arn(self, input: impl Into<String>) -> Self
The ARN of the high-availability partition group to modify.
sourcepub fn set_hapg_arn(self, input: Option<String>) -> Self
pub fn set_hapg_arn(self, input: Option<String>) -> Self
The ARN of the high-availability partition group to modify.
sourcepub fn get_hapg_arn(&self) -> &Option<String>
pub fn get_hapg_arn(&self) -> &Option<String>
The ARN of the high-availability partition group to modify.
sourcepub fn label(self, input: impl Into<String>) -> Self
pub fn label(self, input: impl Into<String>) -> Self
The new label for the high-availability partition group.
sourcepub fn set_label(self, input: Option<String>) -> Self
pub fn set_label(self, input: Option<String>) -> Self
The new label for the high-availability partition group.
sourcepub fn get_label(&self) -> &Option<String>
pub fn get_label(&self) -> &Option<String>
The new label for the high-availability partition group.
sourcepub fn partition_serial_list(self, input: impl Into<String>) -> Self
pub fn partition_serial_list(self, input: impl Into<String>) -> Self
Appends an item to partition_serial_list.
To override the contents of this collection use set_partition_serial_list.
The list of partition serial numbers to make members of the high-availability partition group.
sourcepub fn set_partition_serial_list(self, input: Option<Vec<String>>) -> Self
pub fn set_partition_serial_list(self, input: Option<Vec<String>>) -> Self
The list of partition serial numbers to make members of the high-availability partition group.
sourcepub fn get_partition_serial_list(&self) -> &Option<Vec<String>>
pub fn get_partition_serial_list(&self) -> &Option<Vec<String>>
The list of partition serial numbers to make members of the high-availability partition group.
sourcepub fn build(self) -> Result<ModifyHapgInput, BuildError>
pub fn build(self) -> Result<ModifyHapgInput, BuildError>
Consumes the builder and constructs a ModifyHapgInput.
source§impl ModifyHapgInputBuilder
impl ModifyHapgInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyHapgOutput, SdkError<ModifyHapgError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyHapgOutput, SdkError<ModifyHapgError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyHapgInputBuilder
impl Clone for ModifyHapgInputBuilder
source§fn clone(&self) -> ModifyHapgInputBuilder
fn clone(&self) -> ModifyHapgInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ModifyHapgInputBuilder
impl Debug for ModifyHapgInputBuilder
source§impl Default for ModifyHapgInputBuilder
impl Default for ModifyHapgInputBuilder
source§fn default() -> ModifyHapgInputBuilder
fn default() -> ModifyHapgInputBuilder
source§impl PartialEq<ModifyHapgInputBuilder> for ModifyHapgInputBuilder
impl PartialEq<ModifyHapgInputBuilder> for ModifyHapgInputBuilder
source§fn eq(&self, other: &ModifyHapgInputBuilder) -> bool
fn eq(&self, other: &ModifyHapgInputBuilder) -> bool
self and other values to be equal, and is used
by ==.