@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserData extends Object implements Serializable, Cloneable
Describes the user data for an instance.
| Constructor and Description | 
|---|
| UserData() | 
| Modifier and Type | Method and Description | 
|---|---|
| UserData | clone() | 
| boolean | equals(Object obj) | 
| String | getData()
 The user data. | 
| int | hashCode() | 
| void | setData(String data)
 The user data. | 
| String | toString()Returns a string representation of this object. | 
| UserData | withData(String data)
 The user data. | 
public void setData(String data)
The user data. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.
data - The user data. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and
        you can load the text from a file. Otherwise, you must provide Base64-encoded text.public String getData()
The user data. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.
public UserData withData(String data)
The user data. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide Base64-encoded text.
data - The user data. If you are using an AWS SDK or command line tool, Base64-encoding is performed for you, and
        you can load the text from a file. Otherwise, you must provide Base64-encoded text.public String toString()
toString in class ObjectObject.toString()