Struct aws_sdk_dynamodb::model::replica_update::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ReplicaUpdate
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn create(self, input: CreateReplicaAction) -> Self
pub fn create(self, input: CreateReplicaAction) -> Self
The parameters required for creating a replica on an existing global table.
sourcepub fn set_create(self, input: Option<CreateReplicaAction>) -> Self
pub fn set_create(self, input: Option<CreateReplicaAction>) -> Self
The parameters required for creating a replica on an existing global table.
sourcepub fn delete(self, input: DeleteReplicaAction) -> Self
pub fn delete(self, input: DeleteReplicaAction) -> Self
The name of the existing replica to be removed.
sourcepub fn set_delete(self, input: Option<DeleteReplicaAction>) -> Self
pub fn set_delete(self, input: Option<DeleteReplicaAction>) -> Self
The name of the existing replica to be removed.
sourcepub fn build(self) -> ReplicaUpdate
pub fn build(self) -> ReplicaUpdate
Consumes the builder and constructs a ReplicaUpdate
.