@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserData extends Object implements Serializable, Cloneable, StructuredPojo
A script that runs on first launch of an Amazon EC2 instance. Used for configuring the server during launch.
| Constructor and Description |
|---|
UserData() |
| Modifier and Type | Method and Description |
|---|---|
UserData |
clone() |
boolean |
equals(Object obj) |
S3Location |
getS3Location()
Amazon S3 location of the user-data script.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setS3Location(S3Location s3Location)
Amazon S3 location of the user-data script.
|
String |
toString()
Returns a string representation of this object.
|
UserData |
withS3Location(S3Location s3Location)
Amazon S3 location of the user-data script.
|
public void setS3Location(S3Location s3Location)
Amazon S3 location of the user-data script.
s3Location - Amazon S3 location of the user-data script.public S3Location getS3Location()
Amazon S3 location of the user-data script.
public UserData withS3Location(S3Location s3Location)
Amazon S3 location of the user-data script.
s3Location - Amazon S3 location of the user-data script.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.