@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeGatewayResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeGatewayResult() |
Modifier and Type | Method and Description |
---|---|
DescribeGatewayResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
The date the gateway was created, in Unix epoch time.
|
String |
getGatewayArn()
The ARN of the gateway,
which has the following format.
|
List<GatewayCapabilitySummary> |
getGatewayCapabilitySummaries()
A list of gateway capability summaries that each contain a namespace and status.
|
String |
getGatewayId()
The ID of the gateway device.
|
String |
getGatewayName()
The name of the gateway.
|
GatewayPlatform |
getGatewayPlatform()
The gateway's platform.
|
Date |
getLastUpdateDate()
The date the gateway was last updated, in Unix epoch time.
|
int |
hashCode() |
void |
setCreationDate(Date creationDate)
The date the gateway was created, in Unix epoch time.
|
void |
setGatewayArn(String gatewayArn)
The ARN of the gateway,
which has the following format.
|
void |
setGatewayCapabilitySummaries(Collection<GatewayCapabilitySummary> gatewayCapabilitySummaries)
A list of gateway capability summaries that each contain a namespace and status.
|
void |
setGatewayId(String gatewayId)
The ID of the gateway device.
|
void |
setGatewayName(String gatewayName)
The name of the gateway.
|
void |
setGatewayPlatform(GatewayPlatform gatewayPlatform)
The gateway's platform.
|
void |
setLastUpdateDate(Date lastUpdateDate)
The date the gateway was last updated, in Unix epoch time.
|
String |
toString()
Returns a string representation of this object.
|
DescribeGatewayResult |
withCreationDate(Date creationDate)
The date the gateway was created, in Unix epoch time.
|
DescribeGatewayResult |
withGatewayArn(String gatewayArn)
The ARN of the gateway,
which has the following format.
|
DescribeGatewayResult |
withGatewayCapabilitySummaries(Collection<GatewayCapabilitySummary> gatewayCapabilitySummaries)
A list of gateway capability summaries that each contain a namespace and status.
|
DescribeGatewayResult |
withGatewayCapabilitySummaries(GatewayCapabilitySummary... gatewayCapabilitySummaries)
A list of gateway capability summaries that each contain a namespace and status.
|
DescribeGatewayResult |
withGatewayId(String gatewayId)
The ID of the gateway device.
|
DescribeGatewayResult |
withGatewayName(String gatewayName)
The name of the gateway.
|
DescribeGatewayResult |
withGatewayPlatform(GatewayPlatform gatewayPlatform)
The gateway's platform.
|
DescribeGatewayResult |
withLastUpdateDate(Date lastUpdateDate)
The date the gateway was last updated, in Unix epoch time.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setGatewayId(String gatewayId)
The ID of the gateway device.
gatewayId
- The ID of the gateway device.public String getGatewayId()
The ID of the gateway device.
public DescribeGatewayResult withGatewayId(String gatewayId)
The ID of the gateway device.
gatewayId
- The ID of the gateway device.public void setGatewayName(String gatewayName)
The name of the gateway.
gatewayName
- The name of the gateway.public String getGatewayName()
The name of the gateway.
public DescribeGatewayResult withGatewayName(String gatewayName)
The name of the gateway.
gatewayName
- The name of the gateway.public void setGatewayArn(String gatewayArn)
The ARN of the gateway, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
gatewayArn
- The ARN of the
gateway, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
public String getGatewayArn()
The ARN of the gateway, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
public DescribeGatewayResult withGatewayArn(String gatewayArn)
The ARN of the gateway, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
gatewayArn
- The ARN of the
gateway, which has the following format.
arn:${Partition}:iotsitewise:${Region}:${Account}:gateway/${GatewayId}
public void setGatewayPlatform(GatewayPlatform gatewayPlatform)
The gateway's platform.
gatewayPlatform
- The gateway's platform.public GatewayPlatform getGatewayPlatform()
The gateway's platform.
public DescribeGatewayResult withGatewayPlatform(GatewayPlatform gatewayPlatform)
The gateway's platform.
gatewayPlatform
- The gateway's platform.public List<GatewayCapabilitySummary> getGatewayCapabilitySummaries()
A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.
public void setGatewayCapabilitySummaries(Collection<GatewayCapabilitySummary> gatewayCapabilitySummaries)
A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.
gatewayCapabilitySummaries
- A list of gateway capability summaries that each contain a namespace and status. Each gateway capability
defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.public DescribeGatewayResult withGatewayCapabilitySummaries(GatewayCapabilitySummary... gatewayCapabilitySummaries)
A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.
NOTE: This method appends the values to the existing list (if any). Use
setGatewayCapabilitySummaries(java.util.Collection)
or
withGatewayCapabilitySummaries(java.util.Collection)
if you want to override the existing values.
gatewayCapabilitySummaries
- A list of gateway capability summaries that each contain a namespace and status. Each gateway capability
defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.public DescribeGatewayResult withGatewayCapabilitySummaries(Collection<GatewayCapabilitySummary> gatewayCapabilitySummaries)
A list of gateway capability summaries that each contain a namespace and status. Each gateway capability defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.
gatewayCapabilitySummaries
- A list of gateway capability summaries that each contain a namespace and status. Each gateway capability
defines data sources for the gateway. To retrieve a capability configuration's definition, use DescribeGatewayCapabilityConfiguration.public void setCreationDate(Date creationDate)
The date the gateway was created, in Unix epoch time.
creationDate
- The date the gateway was created, in Unix epoch time.public Date getCreationDate()
The date the gateway was created, in Unix epoch time.
public DescribeGatewayResult withCreationDate(Date creationDate)
The date the gateway was created, in Unix epoch time.
creationDate
- The date the gateway was created, in Unix epoch time.public void setLastUpdateDate(Date lastUpdateDate)
The date the gateway was last updated, in Unix epoch time.
lastUpdateDate
- The date the gateway was last updated, in Unix epoch time.public Date getLastUpdateDate()
The date the gateway was last updated, in Unix epoch time.
public DescribeGatewayResult withLastUpdateDate(Date lastUpdateDate)
The date the gateway was last updated, in Unix epoch time.
lastUpdateDate
- The date the gateway was last updated, in Unix epoch time.public String toString()
toString
in class Object
Object.toString()
public DescribeGatewayResult clone()