@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AppBlock extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
AppBlock() |
Modifier and Type | Method and Description |
---|---|
AppBlock |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the app block.
|
Date |
getCreatedTime()
The created time of the app block.
|
String |
getDescription()
The description of the app block.
|
String |
getDisplayName()
The display name of the app block.
|
String |
getName()
The name of the app block.
|
ScriptDetails |
getSetupScriptDetails()
The setup script details of the app block.
|
S3Location |
getSourceS3Location()
The source S3 location of the app block.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of the app block.
|
void |
setCreatedTime(Date createdTime)
The created time of the app block.
|
void |
setDescription(String description)
The description of the app block.
|
void |
setDisplayName(String displayName)
The display name of the app block.
|
void |
setName(String name)
The name of the app block.
|
void |
setSetupScriptDetails(ScriptDetails setupScriptDetails)
The setup script details of the app block.
|
void |
setSourceS3Location(S3Location sourceS3Location)
The source S3 location of the app block.
|
String |
toString()
Returns a string representation of this object.
|
AppBlock |
withArn(String arn)
The ARN of the app block.
|
AppBlock |
withCreatedTime(Date createdTime)
The created time of the app block.
|
AppBlock |
withDescription(String description)
The description of the app block.
|
AppBlock |
withDisplayName(String displayName)
The display name of the app block.
|
AppBlock |
withName(String name)
The name of the app block.
|
AppBlock |
withSetupScriptDetails(ScriptDetails setupScriptDetails)
The setup script details of the app block.
|
AppBlock |
withSourceS3Location(S3Location sourceS3Location)
The source S3 location of the app block.
|
public void setName(String name)
The name of the app block.
name
- The name of the app block.public String getName()
The name of the app block.
public AppBlock withName(String name)
The name of the app block.
name
- The name of the app block.public void setArn(String arn)
The ARN of the app block.
arn
- The ARN of the app block.public String getArn()
The ARN of the app block.
public AppBlock withArn(String arn)
The ARN of the app block.
arn
- The ARN of the app block.public void setDescription(String description)
The description of the app block.
description
- The description of the app block.public String getDescription()
The description of the app block.
public AppBlock withDescription(String description)
The description of the app block.
description
- The description of the app block.public void setDisplayName(String displayName)
The display name of the app block.
displayName
- The display name of the app block.public String getDisplayName()
The display name of the app block.
public AppBlock withDisplayName(String displayName)
The display name of the app block.
displayName
- The display name of the app block.public void setSourceS3Location(S3Location sourceS3Location)
The source S3 location of the app block.
sourceS3Location
- The source S3 location of the app block.public S3Location getSourceS3Location()
The source S3 location of the app block.
public AppBlock withSourceS3Location(S3Location sourceS3Location)
The source S3 location of the app block.
sourceS3Location
- The source S3 location of the app block.public void setSetupScriptDetails(ScriptDetails setupScriptDetails)
The setup script details of the app block.
setupScriptDetails
- The setup script details of the app block.public ScriptDetails getSetupScriptDetails()
The setup script details of the app block.
public AppBlock withSetupScriptDetails(ScriptDetails setupScriptDetails)
The setup script details of the app block.
setupScriptDetails
- The setup script details of the app block.public void setCreatedTime(Date createdTime)
The created time of the app block.
createdTime
- The created time of the app block.public Date getCreatedTime()
The created time of the app block.
public AppBlock withCreatedTime(Date createdTime)
The created time of the app block.
createdTime
- The created time of the app block.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.