Struct aws_sdk_route53::operation::update_hosted_zone_comment::builders::UpdateHostedZoneCommentInputBuilder
source · #[non_exhaustive]pub struct UpdateHostedZoneCommentInputBuilder { /* private fields */ }
Expand description
A builder for UpdateHostedZoneCommentInput
.
Implementations§
source§impl UpdateHostedZoneCommentInputBuilder
impl UpdateHostedZoneCommentInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID for the hosted zone that you want to update the comment for.
This field is required.sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID for the hosted zone that you want to update the comment for.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
The ID for the hosted zone that you want to update the comment for.
sourcepub fn comment(self, input: impl Into<String>) -> Self
pub fn comment(self, input: impl Into<String>) -> Self
The new comment for the hosted zone. If you don't specify a value for Comment
, Amazon Route 53 deletes the existing value of the Comment
element, if any.
sourcepub fn set_comment(self, input: Option<String>) -> Self
pub fn set_comment(self, input: Option<String>) -> Self
The new comment for the hosted zone. If you don't specify a value for Comment
, Amazon Route 53 deletes the existing value of the Comment
element, if any.
sourcepub fn get_comment(&self) -> &Option<String>
pub fn get_comment(&self) -> &Option<String>
The new comment for the hosted zone. If you don't specify a value for Comment
, Amazon Route 53 deletes the existing value of the Comment
element, if any.
sourcepub fn build(self) -> Result<UpdateHostedZoneCommentInput, BuildError>
pub fn build(self) -> Result<UpdateHostedZoneCommentInput, BuildError>
Consumes the builder and constructs a UpdateHostedZoneCommentInput
.
source§impl UpdateHostedZoneCommentInputBuilder
impl UpdateHostedZoneCommentInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateHostedZoneCommentOutput, SdkError<UpdateHostedZoneCommentError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateHostedZoneCommentOutput, SdkError<UpdateHostedZoneCommentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateHostedZoneCommentInputBuilder
impl Clone for UpdateHostedZoneCommentInputBuilder
source§fn clone(&self) -> UpdateHostedZoneCommentInputBuilder
fn clone(&self) -> UpdateHostedZoneCommentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateHostedZoneCommentInputBuilder
impl Default for UpdateHostedZoneCommentInputBuilder
source§fn default() -> UpdateHostedZoneCommentInputBuilder
fn default() -> UpdateHostedZoneCommentInputBuilder
source§impl PartialEq for UpdateHostedZoneCommentInputBuilder
impl PartialEq for UpdateHostedZoneCommentInputBuilder
source§fn eq(&self, other: &UpdateHostedZoneCommentInputBuilder) -> bool
fn eq(&self, other: &UpdateHostedZoneCommentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateHostedZoneCommentInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateHostedZoneCommentInputBuilder
impl RefUnwindSafe for UpdateHostedZoneCommentInputBuilder
impl Send for UpdateHostedZoneCommentInputBuilder
impl Sync for UpdateHostedZoneCommentInputBuilder
impl Unpin for UpdateHostedZoneCommentInputBuilder
impl UnwindSafe for UpdateHostedZoneCommentInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more