pub struct Builder { /* private fields */ }
Expand description
A builder for GetBackendStorageResourceConfig
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn bucket_name(self, input: impl Into<String>) -> Self
pub fn bucket_name(self, input: impl Into<String>) -> Self
The name of the S3 bucket.
sourcepub fn set_bucket_name(self, input: Option<String>) -> Self
pub fn set_bucket_name(self, input: Option<String>) -> Self
The name of the S3 bucket.
sourcepub fn imported(self, input: bool) -> Self
pub fn imported(self, input: bool) -> Self
Returns True if the storage resource has been imported.
sourcepub fn set_imported(self, input: Option<bool>) -> Self
pub fn set_imported(self, input: Option<bool>) -> Self
Returns True if the storage resource has been imported.
sourcepub fn permissions(self, input: BackendStoragePermissions) -> Self
pub fn permissions(self, input: BackendStoragePermissions) -> Self
The authorization configuration for the storage S3 bucket.
sourcepub fn set_permissions(self, input: Option<BackendStoragePermissions>) -> Self
pub fn set_permissions(self, input: Option<BackendStoragePermissions>) -> Self
The authorization configuration for the storage S3 bucket.
sourcepub fn service_name(self, input: ServiceName) -> Self
pub fn service_name(self, input: ServiceName) -> Self
The name of the storage service.
sourcepub fn set_service_name(self, input: Option<ServiceName>) -> Self
pub fn set_service_name(self, input: Option<ServiceName>) -> Self
The name of the storage service.
sourcepub fn build(self) -> GetBackendStorageResourceConfig
pub fn build(self) -> GetBackendStorageResourceConfig
Consumes the builder and constructs a GetBackendStorageResourceConfig
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more