/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.appstream.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Describes the S3 location. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class S3Location implements Serializable, Cloneable, StructuredPojo { /** ** The S3 bucket of the S3 object. *
*/ private String s3Bucket; /** ** 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, then S3Key
is not required. (Actions: CreateAppBlock)
*
* The S3 bucket of the S3 object. *
* * @param s3Bucket * The S3 bucket of the S3 object. */ public void setS3Bucket(String s3Bucket) { this.s3Bucket = s3Bucket; } /** ** The S3 bucket of the S3 object. *
* * @return The S3 bucket of the S3 object. */ public String getS3Bucket() { return this.s3Bucket; } /** ** The S3 bucket of the S3 object. *
* * @param s3Bucket * The S3 bucket of the S3 object. * @return Returns a reference to this object so that method calls can be chained together. */ public S3Location withS3Bucket(String s3Bucket) { setS3Bucket(s3Bucket); return this; } /** ** 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, then S3Key
is not required. (Actions: CreateAppBlock)
*
* 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, then S3Key
is not required. (Actions: CreateAppBlock)
*
* 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, then S3Key
is not required. (Actions: CreateAppBlock)
*
* 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, then S3Key
is not required. (Actions: CreateAppBlock)
*
* 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, then S3Key
is not required. (Actions: CreateAppBlock)
*
* 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, then S3Key
is not required. (Actions: CreateAppBlock)
*