pub struct Builder { /* private fields */ }
Expand description
A builder for GetBackendStorageResourceConfig
.
Implementations§
source§impl 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
.