@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateHostResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateHostResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateHostResult |
clone() |
boolean |
equals(Object obj) |
String |
getHostArn()
The Amazon Resource Name (ARN) of the host to be created.
|
List<Tag> |
getTags() |
int |
hashCode() |
void |
setHostArn(String hostArn)
The Amazon Resource Name (ARN) of the host to be created.
|
void |
setTags(Collection<Tag> tags) |
String |
toString()
Returns a string representation of this object.
|
CreateHostResult |
withHostArn(String hostArn)
The Amazon Resource Name (ARN) of the host to be created.
|
CreateHostResult |
withTags(Collection<Tag> tags) |
CreateHostResult |
withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setHostArn(String hostArn)
The Amazon Resource Name (ARN) of the host to be created.
hostArn - The Amazon Resource Name (ARN) of the host to be created.public String getHostArn()
The Amazon Resource Name (ARN) of the host to be created.
public CreateHostResult withHostArn(String hostArn)
The Amazon Resource Name (ARN) of the host to be created.
hostArn - The Amazon Resource Name (ARN) of the host to be created.public void setTags(Collection<Tag> tags)
tags - public CreateHostResult withTags(Tag... tags)
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - public CreateHostResult withTags(Collection<Tag> tags)
tags - public String toString()
toString in class ObjectObject.toString()public CreateHostResult clone()