Struct aws_sdk_proton::model::repository_branch::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for RepositoryBranch.
Implementations§
source§impl Builder
impl Builder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the linked repository.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the linked repository.
sourcepub fn provider(self, input: RepositoryProvider) -> Self
pub fn provider(self, input: RepositoryProvider) -> Self
The repository provider.
sourcepub fn set_provider(self, input: Option<RepositoryProvider>) -> Self
pub fn set_provider(self, input: Option<RepositoryProvider>) -> Self
The repository provider.
sourcepub fn set_branch(self, input: Option<String>) -> Self
pub fn set_branch(self, input: Option<String>) -> Self
The repository branch.
sourcepub fn build(self) -> RepositoryBranch
pub fn build(self) -> RepositoryBranch
Consumes the builder and constructs a RepositoryBranch.