Struct aws_sdk_codebuild::types::builders::SourceAuthBuilder
source · #[non_exhaustive]pub struct SourceAuthBuilder { /* private fields */ }
Expand description
A builder for SourceAuth
.
Implementations§
source§impl SourceAuthBuilder
impl SourceAuthBuilder
sourcepub fn type(self, input: SourceAuthType) -> Self
pub fn type(self, input: SourceAuthType) -> Self
This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is OAUTH
, which represents the OAuth authorization type.
sourcepub fn set_type(self, input: Option<SourceAuthType>) -> Self
pub fn set_type(self, input: Option<SourceAuthType>) -> Self
This data type is deprecated and is no longer accurate or used.
The authorization type to use. The only valid value is OAUTH
, which represents the OAuth authorization type.
sourcepub fn resource(self, input: impl Into<String>) -> Self
pub fn resource(self, input: impl Into<String>) -> Self
The resource value that applies to the specified authorization type.
sourcepub fn set_resource(self, input: Option<String>) -> Self
pub fn set_resource(self, input: Option<String>) -> Self
The resource value that applies to the specified authorization type.
sourcepub fn build(self) -> SourceAuth
pub fn build(self) -> SourceAuth
Consumes the builder and constructs a SourceAuth
.
Trait Implementations§
source§impl Clone for SourceAuthBuilder
impl Clone for SourceAuthBuilder
source§fn clone(&self) -> SourceAuthBuilder
fn clone(&self) -> SourceAuthBuilder
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 Debug for SourceAuthBuilder
impl Debug for SourceAuthBuilder
source§impl Default for SourceAuthBuilder
impl Default for SourceAuthBuilder
source§fn default() -> SourceAuthBuilder
fn default() -> SourceAuthBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<SourceAuthBuilder> for SourceAuthBuilder
impl PartialEq<SourceAuthBuilder> for SourceAuthBuilder
source§fn eq(&self, other: &SourceAuthBuilder) -> bool
fn eq(&self, other: &SourceAuthBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SourceAuthBuilder
Auto Trait Implementations§
impl RefUnwindSafe for SourceAuthBuilder
impl Send for SourceAuthBuilder
impl Sync for SourceAuthBuilder
impl Unpin for SourceAuthBuilder
impl UnwindSafe for SourceAuthBuilder
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