Package com.amazonaws.services.ec2.model
Class UserData
java.lang.Object
com.amazonaws.services.ec2.model.UserData
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the user data to be made available to an instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getData()
The Base64-encoded MIME user data for the instance.int
hashCode()
void
The Base64-encoded MIME user data for the instance.toString()
Returns a string representation of this object; useful for testing and debugging.The Base64-encoded MIME user data for the instance.
-
Constructor Details
-
UserData
public UserData()
-
-
Method Details
-
setData
The Base64-encoded MIME user data for the instance.
- Parameters:
data
- The Base64-encoded MIME user data for the instance.
-
getData
The Base64-encoded MIME user data for the instance.
- Returns:
- The Base64-encoded MIME user data for the instance.
-
withData
The Base64-encoded MIME user data for the instance.
- Parameters:
data
- The Base64-encoded MIME user data for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-