Package com.ngrok.definitions
Class AwsAuth.Builder
java.lang.Object
com.ngrok.definitions.AwsAuth.Builder
- Enclosing class:
- AwsAuth
Builder class for
AwsAuth
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Constructs theAwsAuth
instance.creds
(AwsCredentials creds) Credentials to your AWS account if you prefer ngrok to sign in with long-term access keys.creds
(Optional<AwsCredentials> creds) Credentials to your AWS account if you prefer ngrok to sign in with long-term access keys.A role for ngrok to assume on your behalf to deposit events into your AWS account.A role for ngrok to assume on your behalf to deposit events into your AWS account.
-
Method Details
-
role
A role for ngrok to assume on your behalf to deposit events into your AWS account.- Parameters:
role
- the value of therole
parameter as aAwsRole
- Returns:
- this builder instance
-
role
A role for ngrok to assume on your behalf to deposit events into your AWS account. -
creds
Credentials to your AWS account if you prefer ngrok to sign in with long-term access keys.- Parameters:
creds
- the value of thecreds
parameter as aAwsCredentials
- Returns:
- this builder instance
-
creds
Credentials to your AWS account if you prefer ngrok to sign in with long-term access keys.- Parameters:
creds
- the value of thecreds
parameter as aAwsCredentials
, wrapped in anOptional
- Returns:
- this builder instance
-
build
Constructs theAwsAuth
instance.- Returns:
- a new
AwsAuth
-