@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateGatewayRequest() |
Modifier and Type | Method and Description |
---|---|
CreateGatewayRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateGatewayRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateGatewayRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGatewayName()
A unique name for the gateway.
|
GatewayPlatform |
getGatewayPlatform()
The gateway's platform.
|
Map<String,String> |
getTags()
A list of key-value pairs that contain metadata for the gateway.
|
int |
hashCode() |
void |
setGatewayName(String gatewayName)
A unique name for the gateway.
|
void |
setGatewayPlatform(GatewayPlatform gatewayPlatform)
The gateway's platform.
|
void |
setTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the gateway.
|
String |
toString()
Returns a string representation of this object.
|
CreateGatewayRequest |
withGatewayName(String gatewayName)
A unique name for the gateway.
|
CreateGatewayRequest |
withGatewayPlatform(GatewayPlatform gatewayPlatform)
The gateway's platform.
|
CreateGatewayRequest |
withTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the gateway.
|
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 setGatewayName(String gatewayName)
A unique name for the gateway.
gatewayName
- A unique name for the gateway.public String getGatewayName()
A unique name for the gateway.
public CreateGatewayRequest withGatewayName(String gatewayName)
A unique name for the gateway.
gatewayName
- A unique name for the gateway.public void setGatewayPlatform(GatewayPlatform gatewayPlatform)
The gateway's platform. You can only specify one platform in a gateway.
gatewayPlatform
- The gateway's platform. You can only specify one platform in a gateway.public GatewayPlatform getGatewayPlatform()
The gateway's platform. You can only specify one platform in a gateway.
public CreateGatewayRequest withGatewayPlatform(GatewayPlatform gatewayPlatform)
The gateway's platform. You can only specify one platform in a gateway.
gatewayPlatform
- The gateway's platform. You can only specify one platform in a gateway.public Map<String,String> getTags()
A list of key-value pairs that contain metadata for the gateway. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
public void setTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the gateway. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
tags
- A list of key-value pairs that contain metadata for the gateway. For more information, see Tagging your IoT
SiteWise resources in the IoT SiteWise User Guide.public CreateGatewayRequest withTags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the gateway. For more information, see Tagging your IoT SiteWise resources in the IoT SiteWise User Guide.
tags
- A list of key-value pairs that contain metadata for the gateway. For more information, see Tagging your IoT
SiteWise resources in the IoT SiteWise User Guide.public CreateGatewayRequest addTagsEntry(String key, String value)
public CreateGatewayRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateGatewayRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()