@Generated(value="software.amazon.awssdk:codegen") public final class AppBlock extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AppBlock.Builder,AppBlock>
Describes an app block.
App blocks are an Amazon AppStream 2.0 resource that stores the details about the virtual hard disk in an S3 bucket. It also stores the setup script with details about how to mount the virtual hard disk. The virtual hard disk includes the application binaries and other files necessary to launch your applications. Multiple applications can be assigned to a single app block.
This is only supported for Elastic fleets.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AppBlock.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN of the app block.
|
static AppBlock.Builder |
builder() |
Instant |
createdTime()
The created time of the app block.
|
String |
description()
The description of the app block.
|
String |
displayName()
The display name of the app block.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the app block.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AppBlock.Builder> |
serializableBuilderClass() |
ScriptDetails |
setupScriptDetails()
The setup script details of the app block.
|
S3Location |
sourceS3Location()
The source S3 location of the app block.
|
AppBlock.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the app block.
public final String arn()
The ARN of the app block.
public final String description()
The description of the app block.
public final String displayName()
The display name of the app block.
public final S3Location sourceS3Location()
The source S3 location of the app block.
public final ScriptDetails setupScriptDetails()
The setup script details of the app block.
public final Instant createdTime()
The created time of the app block.
public AppBlock.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AppBlock.Builder,AppBlock>public static AppBlock.Builder builder()
public static Class<? extends AppBlock.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.