Struct aws_sdk_codeartifact::operation::get_domain_permissions_policy::builders::GetDomainPermissionsPolicyInputBuilder
source · #[non_exhaustive]pub struct GetDomainPermissionsPolicyInputBuilder { /* private fields */ }
Expand description
A builder for GetDomainPermissionsPolicyInput
.
Implementations§
source§impl GetDomainPermissionsPolicyInputBuilder
impl GetDomainPermissionsPolicyInputBuilder
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The name of the domain to which the resource policy is attached.
This field is required.sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The name of the domain to which the resource policy is attached.
sourcepub fn get_domain(&self) -> &Option<String>
pub fn get_domain(&self) -> &Option<String>
The name of the domain to which the resource policy is attached.
sourcepub fn domain_owner(self, input: impl Into<String>) -> Self
pub fn domain_owner(self, input: impl Into<String>) -> Self
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
sourcepub fn set_domain_owner(self, input: Option<String>) -> Self
pub fn set_domain_owner(self, input: Option<String>) -> Self
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
sourcepub fn get_domain_owner(&self) -> &Option<String>
pub fn get_domain_owner(&self) -> &Option<String>
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
sourcepub fn build(self) -> Result<GetDomainPermissionsPolicyInput, BuildError>
pub fn build(self) -> Result<GetDomainPermissionsPolicyInput, BuildError>
Consumes the builder and constructs a GetDomainPermissionsPolicyInput
.
source§impl GetDomainPermissionsPolicyInputBuilder
impl GetDomainPermissionsPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetDomainPermissionsPolicyOutput, SdkError<GetDomainPermissionsPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetDomainPermissionsPolicyOutput, SdkError<GetDomainPermissionsPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetDomainPermissionsPolicyInputBuilder
impl Clone for GetDomainPermissionsPolicyInputBuilder
source§fn clone(&self) -> GetDomainPermissionsPolicyInputBuilder
fn clone(&self) -> GetDomainPermissionsPolicyInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GetDomainPermissionsPolicyInputBuilder
impl Default for GetDomainPermissionsPolicyInputBuilder
source§fn default() -> GetDomainPermissionsPolicyInputBuilder
fn default() -> GetDomainPermissionsPolicyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetDomainPermissionsPolicyInputBuilder
impl PartialEq for GetDomainPermissionsPolicyInputBuilder
source§fn eq(&self, other: &GetDomainPermissionsPolicyInputBuilder) -> bool
fn eq(&self, other: &GetDomainPermissionsPolicyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetDomainPermissionsPolicyInputBuilder
Auto Trait Implementations§
impl Freeze for GetDomainPermissionsPolicyInputBuilder
impl RefUnwindSafe for GetDomainPermissionsPolicyInputBuilder
impl Send for GetDomainPermissionsPolicyInputBuilder
impl Sync for GetDomainPermissionsPolicyInputBuilder
impl Unpin for GetDomainPermissionsPolicyInputBuilder
impl UnwindSafe for GetDomainPermissionsPolicyInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.