@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateHostRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateHostRequest() |
Modifier and Type | Method and Description |
---|---|
CreateHostRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
The name of the host to be created.
|
String |
getProviderEndpoint()
The endpoint of the infrastructure to be represented by the host after it is created.
|
String |
getProviderType()
The name of the installed provider to be associated with your connection.
|
List<Tag> |
getTags()
Tags for the host to be created.
|
VpcConfiguration |
getVpcConfiguration()
The VPC configuration to be provisioned for the host.
|
int |
hashCode() |
void |
setName(String name)
The name of the host to be created.
|
void |
setProviderEndpoint(String providerEndpoint)
The endpoint of the infrastructure to be represented by the host after it is created.
|
void |
setProviderType(String providerType)
The name of the installed provider to be associated with your connection.
|
void |
setTags(Collection<Tag> tags)
Tags for the host to be created.
|
void |
setVpcConfiguration(VpcConfiguration vpcConfiguration)
The VPC configuration to be provisioned for the host.
|
String |
toString()
Returns a string representation of this object.
|
CreateHostRequest |
withName(String name)
The name of the host to be created.
|
CreateHostRequest |
withProviderEndpoint(String providerEndpoint)
The endpoint of the infrastructure to be represented by the host after it is created.
|
CreateHostRequest |
withProviderType(ProviderType providerType)
The name of the installed provider to be associated with your connection.
|
CreateHostRequest |
withProviderType(String providerType)
The name of the installed provider to be associated with your connection.
|
CreateHostRequest |
withTags(Collection<Tag> tags)
Tags for the host to be created.
|
CreateHostRequest |
withTags(Tag... tags)
Tags for the host to be created.
|
CreateHostRequest |
withVpcConfiguration(VpcConfiguration vpcConfiguration)
The VPC configuration to be provisioned for the host.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The name of the host to be created.
name
- The name of the host to be created.public String getName()
The name of the host to be created.
public CreateHostRequest withName(String name)
The name of the host to be created.
name
- The name of the host to be created.public void setProviderType(String providerType)
The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
providerType
- The name of the installed provider to be associated with your connection. The host resource represents the
infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.ProviderType
public String getProviderType()
The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
ProviderType
public CreateHostRequest withProviderType(String providerType)
The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
providerType
- The name of the installed provider to be associated with your connection. The host resource represents the
infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.ProviderType
public CreateHostRequest withProviderType(ProviderType providerType)
The name of the installed provider to be associated with your connection. The host resource represents the infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.
providerType
- The name of the installed provider to be associated with your connection. The host resource represents the
infrastructure where your provider type is installed. The valid provider type is GitHub Enterprise Server.ProviderType
public void setProviderEndpoint(String providerEndpoint)
The endpoint of the infrastructure to be represented by the host after it is created.
providerEndpoint
- The endpoint of the infrastructure to be represented by the host after it is created.public String getProviderEndpoint()
The endpoint of the infrastructure to be represented by the host after it is created.
public CreateHostRequest withProviderEndpoint(String providerEndpoint)
The endpoint of the infrastructure to be represented by the host after it is created.
providerEndpoint
- The endpoint of the infrastructure to be represented by the host after it is created.public void setVpcConfiguration(VpcConfiguration vpcConfiguration)
The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
vpcConfiguration
- The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to
be represented by the host must already be connected to the VPC.public VpcConfiguration getVpcConfiguration()
The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
public CreateHostRequest withVpcConfiguration(VpcConfiguration vpcConfiguration)
The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to be represented by the host must already be connected to the VPC.
vpcConfiguration
- The VPC configuration to be provisioned for the host. A VPC must be configured and the infrastructure to
be represented by the host must already be connected to the VPC.public List<Tag> getTags()
Tags for the host to be created.
public void setTags(Collection<Tag> tags)
Tags for the host to be created.
tags
- Tags for the host to be created.public CreateHostRequest withTags(Tag... tags)
Tags for the host to be created.
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
- Tags for the host to be created.public CreateHostRequest withTags(Collection<Tag> tags)
Tags for the host to be created.
tags
- Tags for the host to be created.public String toString()
toString
in class Object
Object.toString()
public CreateHostRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()