Struct aws_sdk_codebuild::model::source_auth::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SourceAuth
.
Implementations§
source§impl Builder
impl Builder
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
.