Class AwsCredentials

java.lang.Object
com.ngrok.definitions.AwsCredentials

public class AwsCredentials extends Object
A class encapsulating the AwsCredentials resource.
  • Method Details

    • newBuilder

      public static AwsCredentials.Builder newBuilder(String awsAccessKeyId, String awsSecretAccessKey)
      Creates a new builder for the AwsCredentials type.
      Parameters:
      awsAccessKeyId - The ID portion of an AWS access key.
      awsSecretAccessKey - The secret portion of an AWS access key.
      Returns:
      a new AwsCredentials.Builder
    • getAwsAccessKeyId

      public String getAwsAccessKeyId()
      The ID portion of an AWS access key.
      Returns:
      the value of the property as a String
    • getAwsSecretAccessKey

      public Optional<String> getAwsSecretAccessKey()
      The secret portion of an AWS access key.
      Returns:
      the value of the property as a String wrapped in an Optional
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object