@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetHostResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetHostResult() |
Modifier and Type | Method and Description |
---|---|
GetHostResult |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the requested host.
|
String |
getProviderEndpoint()
The endpoint of the infrastructure represented by the requested host.
|
String |
getProviderType()
The provider type of the requested host, such as GitHub Enterprise Server.
|
String |
getStatus()
The status of the requested host.
|
VpcConfiguration |
getVpcConfiguration()
The VPC configuration of the requested host.
|
int |
hashCode() |
void |
setName(String name)
The name of the requested host.
|
void |
setProviderEndpoint(String providerEndpoint)
The endpoint of the infrastructure represented by the requested host.
|
void |
setProviderType(String providerType)
The provider type of the requested host, such as GitHub Enterprise Server.
|
void |
setStatus(String status)
The status of the requested host.
|
void |
setVpcConfiguration(VpcConfiguration vpcConfiguration)
The VPC configuration of the requested host.
|
String |
toString()
Returns a string representation of this object.
|
GetHostResult |
withName(String name)
The name of the requested host.
|
GetHostResult |
withProviderEndpoint(String providerEndpoint)
The endpoint of the infrastructure represented by the requested host.
|
GetHostResult |
withProviderType(ProviderType providerType)
The provider type of the requested host, such as GitHub Enterprise Server.
|
GetHostResult |
withProviderType(String providerType)
The provider type of the requested host, such as GitHub Enterprise Server.
|
GetHostResult |
withStatus(String status)
The status of the requested host.
|
GetHostResult |
withVpcConfiguration(VpcConfiguration vpcConfiguration)
The VPC configuration of the requested host.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setName(String name)
The name of the requested host.
name
- The name of the requested host.public String getName()
The name of the requested host.
public GetHostResult withName(String name)
The name of the requested host.
name
- The name of the requested host.public void setStatus(String status)
The status of the requested host.
status
- The status of the requested host.public String getStatus()
The status of the requested host.
public GetHostResult withStatus(String status)
The status of the requested host.
status
- The status of the requested host.public void setProviderType(String providerType)
The provider type of the requested host, such as GitHub Enterprise Server.
providerType
- The provider type of the requested host, such as GitHub Enterprise Server.ProviderType
public String getProviderType()
The provider type of the requested host, such as GitHub Enterprise Server.
ProviderType
public GetHostResult withProviderType(String providerType)
The provider type of the requested host, such as GitHub Enterprise Server.
providerType
- The provider type of the requested host, such as GitHub Enterprise Server.ProviderType
public GetHostResult withProviderType(ProviderType providerType)
The provider type of the requested host, such as GitHub Enterprise Server.
providerType
- The provider type of the requested host, such as GitHub Enterprise Server.ProviderType
public void setProviderEndpoint(String providerEndpoint)
The endpoint of the infrastructure represented by the requested host.
providerEndpoint
- The endpoint of the infrastructure represented by the requested host.public String getProviderEndpoint()
The endpoint of the infrastructure represented by the requested host.
public GetHostResult withProviderEndpoint(String providerEndpoint)
The endpoint of the infrastructure represented by the requested host.
providerEndpoint
- The endpoint of the infrastructure represented by the requested host.public void setVpcConfiguration(VpcConfiguration vpcConfiguration)
The VPC configuration of the requested host.
vpcConfiguration
- The VPC configuration of the requested host.public VpcConfiguration getVpcConfiguration()
The VPC configuration of the requested host.
public GetHostResult withVpcConfiguration(VpcConfiguration vpcConfiguration)
The VPC configuration of the requested host.
vpcConfiguration
- The VPC configuration of the requested host.public String toString()
toString
in class Object
Object.toString()
public GetHostResult clone()