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 ==
.