@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OpenTunnelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
OpenTunnelResult() |
Modifier and Type | Method and Description |
---|---|
OpenTunnelResult |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationAccessToken()
The access token the destination local proxy uses to connect to AWS IoT Secure Tunneling.
|
String |
getSourceAccessToken()
The access token the source local proxy uses to connect to AWS IoT Secure Tunneling.
|
String |
getTunnelArn()
The Amazon Resource Name for the tunnel.
|
String |
getTunnelId()
A unique alpha-numeric tunnel ID.
|
int |
hashCode() |
void |
setDestinationAccessToken(String destinationAccessToken)
The access token the destination local proxy uses to connect to AWS IoT Secure Tunneling.
|
void |
setSourceAccessToken(String sourceAccessToken)
The access token the source local proxy uses to connect to AWS IoT Secure Tunneling.
|
void |
setTunnelArn(String tunnelArn)
The Amazon Resource Name for the tunnel.
|
void |
setTunnelId(String tunnelId)
A unique alpha-numeric tunnel ID.
|
String |
toString()
Returns a string representation of this object.
|
OpenTunnelResult |
withDestinationAccessToken(String destinationAccessToken)
The access token the destination local proxy uses to connect to AWS IoT Secure Tunneling.
|
OpenTunnelResult |
withSourceAccessToken(String sourceAccessToken)
The access token the source local proxy uses to connect to AWS IoT Secure Tunneling.
|
OpenTunnelResult |
withTunnelArn(String tunnelArn)
The Amazon Resource Name for the tunnel.
|
OpenTunnelResult |
withTunnelId(String tunnelId)
A unique alpha-numeric tunnel ID.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTunnelId(String tunnelId)
A unique alpha-numeric tunnel ID.
tunnelId
- A unique alpha-numeric tunnel ID.public String getTunnelId()
A unique alpha-numeric tunnel ID.
public OpenTunnelResult withTunnelId(String tunnelId)
A unique alpha-numeric tunnel ID.
tunnelId
- A unique alpha-numeric tunnel ID.public void setTunnelArn(String tunnelArn)
The Amazon Resource Name for the tunnel. The tunnel ARN format is
arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>
tunnelArn
- The Amazon Resource Name for the tunnel. The tunnel ARN format is
arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>
public String getTunnelArn()
The Amazon Resource Name for the tunnel. The tunnel ARN format is
arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>
arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>
public OpenTunnelResult withTunnelArn(String tunnelArn)
The Amazon Resource Name for the tunnel. The tunnel ARN format is
arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>
tunnelArn
- The Amazon Resource Name for the tunnel. The tunnel ARN format is
arn:aws:tunnel:<region>:<account-id>:tunnel/<tunnel-id>
public void setSourceAccessToken(String sourceAccessToken)
The access token the source local proxy uses to connect to AWS IoT Secure Tunneling.
sourceAccessToken
- The access token the source local proxy uses to connect to AWS IoT Secure Tunneling.public String getSourceAccessToken()
The access token the source local proxy uses to connect to AWS IoT Secure Tunneling.
public OpenTunnelResult withSourceAccessToken(String sourceAccessToken)
The access token the source local proxy uses to connect to AWS IoT Secure Tunneling.
sourceAccessToken
- The access token the source local proxy uses to connect to AWS IoT Secure Tunneling.public void setDestinationAccessToken(String destinationAccessToken)
The access token the destination local proxy uses to connect to AWS IoT Secure Tunneling.
destinationAccessToken
- The access token the destination local proxy uses to connect to AWS IoT Secure Tunneling.public String getDestinationAccessToken()
The access token the destination local proxy uses to connect to AWS IoT Secure Tunneling.
public OpenTunnelResult withDestinationAccessToken(String destinationAccessToken)
The access token the destination local proxy uses to connect to AWS IoT Secure Tunneling.
destinationAccessToken
- The access token the destination local proxy uses to connect to AWS IoT Secure Tunneling.public String toString()
toString
in class Object
Object.toString()
public OpenTunnelResult clone()