pub struct ContainerUploadBuilder<___State = __ContainerUploadBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__Content, __ContentBase64, __Executable, __File, __Source, __SourceHash> ContainerUploadBuilder<(__Content, __ContentBase64, __Executable, __File, __Source, __SourceHash)>
impl<__Content, __ContentBase64, __Executable, __File, __Source, __SourceHash> ContainerUploadBuilder<(__Content, __ContentBase64, __Executable, __File, __Source, __SourceHash)>
sourcepub fn build_struct(self) -> ContainerUploadwhere
__Content: IntoSet<Option<Box<Option<String>>>, ContainerUploadBuilder__content>,
__ContentBase64: IntoSet<Option<Box<Option<String>>>, ContainerUploadBuilder__content_base_64>,
__Executable: IntoSet<Option<Box<Option<bool>>>, ContainerUploadBuilder__executable>,
__File: IntoSet<Box<String>, ContainerUploadBuilder__file>,
__Source: IntoSet<Option<Box<Option<String>>>, ContainerUploadBuilder__source>,
__SourceHash: IntoSet<Option<Box<Option<String>>>, ContainerUploadBuilder__source_hash>,
pub fn build_struct(self) -> ContainerUploadwhere
__Content: IntoSet<Option<Box<Option<String>>>, ContainerUploadBuilder__content>,
__ContentBase64: IntoSet<Option<Box<Option<String>>>, ContainerUploadBuilder__content_base_64>,
__Executable: IntoSet<Option<Box<Option<bool>>>, ContainerUploadBuilder__executable>,
__File: IntoSet<Box<String>, ContainerUploadBuilder__file>,
__Source: IntoSet<Option<Box<Option<String>>>, ContainerUploadBuilder__source>,
__SourceHash: IntoSet<Option<Box<Option<String>>>, ContainerUploadBuilder__source_hash>,
Finishes building and returns the requested object.
sourcepub fn maybe_content(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerUploadBuilderSetMember>::Contentwhere
__Content: IsUnset,
pub fn maybe_content(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerUploadBuilderSetMember>::Contentwhere
__Content: IsUnset,
Same as [Self::r#content
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn content(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerUploadBuilderSetMember>::Contentwhere
__Content: IsUnset,
pub fn content(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerUploadBuilderSetMember>::Contentwhere
__Content: IsUnset,
Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Conflicts with content_base64
& source
sourcepub fn maybe_content_base_64(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerUploadBuilderSetMember>::ContentBase64where
__ContentBase64: IsUnset,
pub fn maybe_content_base_64(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerUploadBuilderSetMember>::ContentBase64where
__ContentBase64: IsUnset,
Same as [Self::r#content_base_64
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn content_base_64(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerUploadBuilderSetMember>::ContentBase64where
__ContentBase64: IsUnset,
pub fn content_base_64(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerUploadBuilderSetMember>::ContentBase64where
__ContentBase64: IsUnset,
Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. This allows safely uploading non-UTF8 binary data, but is recommended only for larger binary content such as the result of the base64encode
interpolation function. See here for the reason. Conflicts with content
& source
sourcepub fn maybe_executable(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __ContainerUploadBuilderSetMember>::Executablewhere
__Executable: IsUnset,
pub fn maybe_executable(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __ContainerUploadBuilderSetMember>::Executablewhere
__Executable: IsUnset,
Same as [Self::r#executable
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn executable(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __ContainerUploadBuilderSetMember>::Executablewhere
__Executable: IsUnset,
pub fn executable(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __ContainerUploadBuilderSetMember>::Executablewhere
__Executable: IsUnset,
If true
, the file will be uploaded with user executable permission. Defaults to false
.
sourcepub fn file(
self,
value: impl Into<Box<String>>,
) -> <Self as __ContainerUploadBuilderSetMember>::Filewhere
__File: IsUnset,
pub fn file(
self,
value: impl Into<Box<String>>,
) -> <Self as __ContainerUploadBuilderSetMember>::Filewhere
__File: IsUnset,
Path to the file in the container where is upload goes to
sourcepub fn maybe_source(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerUploadBuilderSetMember>::Sourcewhere
__Source: IsUnset,
pub fn maybe_source(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __ContainerUploadBuilderSetMember>::Sourcewhere
__Source: IsUnset,
Same as [Self::r#source
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn source(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerUploadBuilderSetMember>::Sourcewhere
__Source: IsUnset,
pub fn source(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __ContainerUploadBuilderSetMember>::Sourcewhere
__Source: IsUnset,
A filename that references a file which will be uploaded as the object content. This allows for large file uploads that do not get stored in state. Conflicts with content
& content_base64