Struct aws_sdk_appstream::types::builders::S3LocationBuilder
source · #[non_exhaustive]pub struct S3LocationBuilder { /* private fields */ }
Expand description
A builder for S3Location
.
Implementations§
source§impl S3LocationBuilder
impl S3LocationBuilder
sourcepub fn s3_bucket(self, input: impl Into<String>) -> Self
pub fn s3_bucket(self, input: impl Into<String>) -> Self
The S3 bucket of the S3 object.
This field is required.sourcepub fn set_s3_bucket(self, input: Option<String>) -> Self
pub fn set_s3_bucket(self, input: Option<String>) -> Self
The S3 bucket of the S3 object.
sourcepub fn get_s3_bucket(&self) -> &Option<String>
pub fn get_s3_bucket(&self) -> &Option<String>
The S3 bucket of the S3 object.
sourcepub fn s3_key(self, input: impl Into<String>) -> Self
pub fn s3_key(self, input: impl Into<String>) -> Self
The S3 key of the S3 object.
This is required when used for the following:
-
IconS3Location (Actions: CreateApplication and UpdateApplication)
-
SessionScriptS3Location (Actions: CreateFleet and UpdateFleet)
-
ScriptDetails (Actions: CreateAppBlock)
-
SourceS3Location when creating an app block with
CUSTOM
PackagingType (Actions: CreateAppBlock) -
SourceS3Location when creating an app block with
APPSTREAM2
PackagingType, and using an existing application package (VHD file). In this case,S3Key
refers to the VHD file. If a new application package is required, thenS3Key
is not required. (Actions: CreateAppBlock)
sourcepub fn set_s3_key(self, input: Option<String>) -> Self
pub fn set_s3_key(self, input: Option<String>) -> Self
The S3 key of the S3 object.
This is required when used for the following:
-
IconS3Location (Actions: CreateApplication and UpdateApplication)
-
SessionScriptS3Location (Actions: CreateFleet and UpdateFleet)
-
ScriptDetails (Actions: CreateAppBlock)
-
SourceS3Location when creating an app block with
CUSTOM
PackagingType (Actions: CreateAppBlock) -
SourceS3Location when creating an app block with
APPSTREAM2
PackagingType, and using an existing application package (VHD file). In this case,S3Key
refers to the VHD file. If a new application package is required, thenS3Key
is not required. (Actions: CreateAppBlock)
sourcepub fn get_s3_key(&self) -> &Option<String>
pub fn get_s3_key(&self) -> &Option<String>
The S3 key of the S3 object.
This is required when used for the following:
-
IconS3Location (Actions: CreateApplication and UpdateApplication)
-
SessionScriptS3Location (Actions: CreateFleet and UpdateFleet)
-
ScriptDetails (Actions: CreateAppBlock)
-
SourceS3Location when creating an app block with
CUSTOM
PackagingType (Actions: CreateAppBlock) -
SourceS3Location when creating an app block with
APPSTREAM2
PackagingType, and using an existing application package (VHD file). In this case,S3Key
refers to the VHD file. If a new application package is required, thenS3Key
is not required. (Actions: CreateAppBlock)
sourcepub fn build(self) -> S3Location
pub fn build(self) -> S3Location
Consumes the builder and constructs a S3Location
.
Trait Implementations§
source§impl Clone for S3LocationBuilder
impl Clone for S3LocationBuilder
source§fn clone(&self) -> S3LocationBuilder
fn clone(&self) -> S3LocationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3LocationBuilder
impl Debug for S3LocationBuilder
source§impl Default for S3LocationBuilder
impl Default for S3LocationBuilder
source§fn default() -> S3LocationBuilder
fn default() -> S3LocationBuilder
source§impl PartialEq for S3LocationBuilder
impl PartialEq for S3LocationBuilder
source§fn eq(&self, other: &S3LocationBuilder) -> bool
fn eq(&self, other: &S3LocationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3LocationBuilder
Auto Trait Implementations§
impl Freeze for S3LocationBuilder
impl RefUnwindSafe for S3LocationBuilder
impl Send for S3LocationBuilder
impl Sync for S3LocationBuilder
impl Unpin for S3LocationBuilder
impl UnwindSafe for S3LocationBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more