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 theAwsAuthinstance.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 theroleparameter 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 thecredsparameter 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 thecredsparameter as aAwsCredentials, wrapped in anOptional- Returns:
- this builder instance
-
build
Constructs theAwsAuthinstance.- Returns:
- a new
AwsAuth
-