@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClientConnectOptions extends Object implements Serializable, Cloneable
The options for managing connection authorization for new client connections.
Constructor and Description |
---|
ClientConnectOptions() |
Modifier and Type | Method and Description |
---|---|
ClientConnectOptions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Indicates whether client connect options are enabled.
|
String |
getLambdaFunctionArn()
The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether client connect options are enabled.
|
void |
setEnabled(Boolean enabled)
Indicates whether client connect options are enabled.
|
void |
setLambdaFunctionArn(String lambdaFunctionArn)
The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.
|
String |
toString()
Returns a string representation of this object.
|
ClientConnectOptions |
withEnabled(Boolean enabled)
Indicates whether client connect options are enabled.
|
ClientConnectOptions |
withLambdaFunctionArn(String lambdaFunctionArn)
The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.
|
public void setEnabled(Boolean enabled)
Indicates whether client connect options are enabled. The default is false
(not enabled).
enabled
- Indicates whether client connect options are enabled. The default is false
(not enabled).public Boolean getEnabled()
Indicates whether client connect options are enabled. The default is false
(not enabled).
false
(not enabled).public ClientConnectOptions withEnabled(Boolean enabled)
Indicates whether client connect options are enabled. The default is false
(not enabled).
enabled
- Indicates whether client connect options are enabled. The default is false
(not enabled).public Boolean isEnabled()
Indicates whether client connect options are enabled. The default is false
(not enabled).
false
(not enabled).public void setLambdaFunctionArn(String lambdaFunctionArn)
The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.
lambdaFunctionArn
- The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.public String getLambdaFunctionArn()
The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.
public ClientConnectOptions withLambdaFunctionArn(String lambdaFunctionArn)
The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.
lambdaFunctionArn
- The Amazon Resource Name (ARN) of the Lambda function used for connection authorization.public String toString()
toString
in class Object
Object.toString()
public ClientConnectOptions clone()