@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MacHost extends Object implements Serializable, Cloneable
Information about the EC2 Mac Dedicated Host.
Constructor and Description |
---|
MacHost() |
Modifier and Type | Method and Description |
---|---|
MacHost |
clone() |
boolean |
equals(Object obj) |
String |
getHostId()
The EC2 Mac Dedicated Host ID.
|
List<String> |
getMacOSLatestSupportedVersions()
The latest macOS versions that the EC2 Mac Dedicated Host can launch without being upgraded.
|
int |
hashCode() |
void |
setHostId(String hostId)
The EC2 Mac Dedicated Host ID.
|
void |
setMacOSLatestSupportedVersions(Collection<String> macOSLatestSupportedVersions)
The latest macOS versions that the EC2 Mac Dedicated Host can launch without being upgraded.
|
String |
toString()
Returns a string representation of this object.
|
MacHost |
withHostId(String hostId)
The EC2 Mac Dedicated Host ID.
|
MacHost |
withMacOSLatestSupportedVersions(Collection<String> macOSLatestSupportedVersions)
The latest macOS versions that the EC2 Mac Dedicated Host can launch without being upgraded.
|
MacHost |
withMacOSLatestSupportedVersions(String... macOSLatestSupportedVersions)
The latest macOS versions that the EC2 Mac Dedicated Host can launch without being upgraded.
|
public void setHostId(String hostId)
The EC2 Mac Dedicated Host ID.
hostId
- The EC2 Mac Dedicated Host ID.public String getHostId()
The EC2 Mac Dedicated Host ID.
public MacHost withHostId(String hostId)
The EC2 Mac Dedicated Host ID.
hostId
- The EC2 Mac Dedicated Host ID.public List<String> getMacOSLatestSupportedVersions()
The latest macOS versions that the EC2 Mac Dedicated Host can launch without being upgraded.
public void setMacOSLatestSupportedVersions(Collection<String> macOSLatestSupportedVersions)
The latest macOS versions that the EC2 Mac Dedicated Host can launch without being upgraded.
macOSLatestSupportedVersions
- The latest macOS versions that the EC2 Mac Dedicated Host can launch without being upgraded.public MacHost withMacOSLatestSupportedVersions(String... macOSLatestSupportedVersions)
The latest macOS versions that the EC2 Mac Dedicated Host can launch without being upgraded.
NOTE: This method appends the values to the existing list (if any). Use
setMacOSLatestSupportedVersions(java.util.Collection)
or
withMacOSLatestSupportedVersions(java.util.Collection)
if you want to override the existing values.
macOSLatestSupportedVersions
- The latest macOS versions that the EC2 Mac Dedicated Host can launch without being upgraded.public MacHost withMacOSLatestSupportedVersions(Collection<String> macOSLatestSupportedVersions)
The latest macOS versions that the EC2 Mac Dedicated Host can launch without being upgraded.
macOSLatestSupportedVersions
- The latest macOS versions that the EC2 Mac Dedicated Host can launch without being upgraded.public String toString()
toString
in class Object
Object.toString()