@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TunnelSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about the tunnel.
Constructor and Description |
---|
TunnelSummary() |
Modifier and Type | Method and Description |
---|---|
TunnelSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The time the tunnel was created.
|
String |
getDescription()
A description of the tunnel.
|
Date |
getLastUpdatedAt()
The time the tunnel was last updated.
|
String |
getStatus()
The status of a tunnel.
|
String |
getTunnelArn()
The Amazon Resource Name of the tunnel.
|
String |
getTunnelId()
The unique alpha-numeric identifier for the tunnel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The time the tunnel was created.
|
void |
setDescription(String description)
A description of the tunnel.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The time the tunnel was last updated.
|
void |
setStatus(String status)
The status of a tunnel.
|
void |
setTunnelArn(String tunnelArn)
The Amazon Resource Name of the tunnel.
|
void |
setTunnelId(String tunnelId)
The unique alpha-numeric identifier for the tunnel.
|
String |
toString()
Returns a string representation of this object.
|
TunnelSummary |
withCreatedAt(Date createdAt)
The time the tunnel was created.
|
TunnelSummary |
withDescription(String description)
A description of the tunnel.
|
TunnelSummary |
withLastUpdatedAt(Date lastUpdatedAt)
The time the tunnel was last updated.
|
TunnelSummary |
withStatus(String status)
The status of a tunnel.
|
TunnelSummary |
withStatus(TunnelStatus status)
The status of a tunnel.
|
TunnelSummary |
withTunnelArn(String tunnelArn)
The Amazon Resource Name of the tunnel.
|
TunnelSummary |
withTunnelId(String tunnelId)
The unique alpha-numeric identifier for the tunnel.
|
public void setTunnelId(String tunnelId)
The unique alpha-numeric identifier for the tunnel.
tunnelId
- The unique alpha-numeric identifier for the tunnel.public String getTunnelId()
The unique alpha-numeric identifier for the tunnel.
public TunnelSummary withTunnelId(String tunnelId)
The unique alpha-numeric identifier for the tunnel.
tunnelId
- The unique alpha-numeric identifier for the tunnel.public void setTunnelArn(String tunnelArn)
The Amazon Resource Name of the tunnel.
tunnelArn
- The Amazon Resource Name of the tunnel.public String getTunnelArn()
The Amazon Resource Name of the tunnel.
public TunnelSummary withTunnelArn(String tunnelArn)
The Amazon Resource Name of the tunnel.
tunnelArn
- The Amazon Resource Name of the tunnel.public void setStatus(String status)
The status of a tunnel. Valid values are: Open and Closed.
status
- The status of a tunnel. Valid values are: Open and Closed.TunnelStatus
public String getStatus()
The status of a tunnel. Valid values are: Open and Closed.
TunnelStatus
public TunnelSummary withStatus(String status)
The status of a tunnel. Valid values are: Open and Closed.
status
- The status of a tunnel. Valid values are: Open and Closed.TunnelStatus
public TunnelSummary withStatus(TunnelStatus status)
The status of a tunnel. Valid values are: Open and Closed.
status
- The status of a tunnel. Valid values are: Open and Closed.TunnelStatus
public void setDescription(String description)
A description of the tunnel.
description
- A description of the tunnel.public String getDescription()
A description of the tunnel.
public TunnelSummary withDescription(String description)
A description of the tunnel.
description
- A description of the tunnel.public void setCreatedAt(Date createdAt)
The time the tunnel was created.
createdAt
- The time the tunnel was created.public Date getCreatedAt()
The time the tunnel was created.
public TunnelSummary withCreatedAt(Date createdAt)
The time the tunnel was created.
createdAt
- The time the tunnel was created.public void setLastUpdatedAt(Date lastUpdatedAt)
The time the tunnel was last updated.
lastUpdatedAt
- The time the tunnel was last updated.public Date getLastUpdatedAt()
The time the tunnel was last updated.
public TunnelSummary withLastUpdatedAt(Date lastUpdatedAt)
The time the tunnel was last updated.
lastUpdatedAt
- The time the tunnel was last updated.public String toString()
toString
in class Object
Object.toString()
public TunnelSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.