Class CreateAuthorizerRequest

    • Constructor Detail

      • CreateAuthorizerRequest

        public CreateAuthorizerRequest()
    • Method Detail

      • setRestApiId

        public void setRestApiId​(String restApiId)

        The RestApi identifier under which the Authorizer will be created.

        Parameters:
        restApiId - The RestApi identifier under which the Authorizer will be created.
      • withRestApiId

        public CreateAuthorizerRequest withRestApiId​(String restApiId)

        The RestApi identifier under which the Authorizer will be created.

        Parameters:
        restApiId - The RestApi identifier under which the Authorizer will be created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setName

        public void setName​(String name)

        [Required] The name of the authorizer.

        Parameters:
        name - [Required] The name of the authorizer.
      • getName

        public String getName()

        [Required] The name of the authorizer.

        Returns:
        [Required] The name of the authorizer.
      • withName

        public CreateAuthorizerRequest withName​(String name)

        [Required] The name of the authorizer.

        Parameters:
        name - [Required] The name of the authorizer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setType

        public void setType​(String type)

        [Required] The type of the authorizer.

        Parameters:
        type - [Required] The type of the authorizer.
        See Also:
        AuthorizerType
      • getType

        public String getType()

        [Required] The type of the authorizer.

        Returns:
        [Required] The type of the authorizer.
        See Also:
        AuthorizerType
      • withType

        public CreateAuthorizerRequest withType​(String type)

        [Required] The type of the authorizer.

        Parameters:
        type - [Required] The type of the authorizer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AuthorizerType
      • setType

        public void setType​(AuthorizerType type)

        [Required] The type of the authorizer.

        Parameters:
        type - [Required] The type of the authorizer.
        See Also:
        AuthorizerType
      • withType

        public CreateAuthorizerRequest withType​(AuthorizerType type)

        [Required] The type of the authorizer.

        Parameters:
        type - [Required] The type of the authorizer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AuthorizerType
      • setAuthType

        public void setAuthType​(String authType)

        Optional customer-defined field, used in Swagger imports/exports. Has no functional impact.

        Parameters:
        authType - Optional customer-defined field, used in Swagger imports/exports. Has no functional impact.
      • getAuthType

        public String getAuthType()

        Optional customer-defined field, used in Swagger imports/exports. Has no functional impact.

        Returns:
        Optional customer-defined field, used in Swagger imports/exports. Has no functional impact.
      • withAuthType

        public CreateAuthorizerRequest withAuthType​(String authType)

        Optional customer-defined field, used in Swagger imports/exports. Has no functional impact.

        Parameters:
        authType - Optional customer-defined field, used in Swagger imports/exports. Has no functional impact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAuthorizerUri

        public void setAuthorizerUri​(String authorizerUri)

        [Required] Specifies the authorizer's Uniform Resource Identifier (URI).

        Parameters:
        authorizerUri - [Required] Specifies the authorizer's Uniform Resource Identifier (URI).
      • getAuthorizerUri

        public String getAuthorizerUri()

        [Required] Specifies the authorizer's Uniform Resource Identifier (URI).

        Returns:
        [Required] Specifies the authorizer's Uniform Resource Identifier (URI).
      • withAuthorizerUri

        public CreateAuthorizerRequest withAuthorizerUri​(String authorizerUri)

        [Required] Specifies the authorizer's Uniform Resource Identifier (URI).

        Parameters:
        authorizerUri - [Required] Specifies the authorizer's Uniform Resource Identifier (URI).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAuthorizerCredentials

        public void setAuthorizerCredentials​(String authorizerCredentials)

        Specifies the credentials required for the authorizer, if any.

        Parameters:
        authorizerCredentials - Specifies the credentials required for the authorizer, if any.
      • getAuthorizerCredentials

        public String getAuthorizerCredentials()

        Specifies the credentials required for the authorizer, if any.

        Returns:
        Specifies the credentials required for the authorizer, if any.
      • withAuthorizerCredentials

        public CreateAuthorizerRequest withAuthorizerCredentials​(String authorizerCredentials)

        Specifies the credentials required for the authorizer, if any.

        Parameters:
        authorizerCredentials - Specifies the credentials required for the authorizer, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIdentitySource

        public void setIdentitySource​(String identitySource)

        [Required] The source of the identity in an incoming request.

        Parameters:
        identitySource - [Required] The source of the identity in an incoming request.
      • getIdentitySource

        public String getIdentitySource()

        [Required] The source of the identity in an incoming request.

        Returns:
        [Required] The source of the identity in an incoming request.
      • withIdentitySource

        public CreateAuthorizerRequest withIdentitySource​(String identitySource)

        [Required] The source of the identity in an incoming request.

        Parameters:
        identitySource - [Required] The source of the identity in an incoming request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setIdentityValidationExpression

        public void setIdentityValidationExpression​(String identityValidationExpression)

        A validation expression for the incoming identity.

        Parameters:
        identityValidationExpression - A validation expression for the incoming identity.
      • getIdentityValidationExpression

        public String getIdentityValidationExpression()

        A validation expression for the incoming identity.

        Returns:
        A validation expression for the incoming identity.
      • withIdentityValidationExpression

        public CreateAuthorizerRequest withIdentityValidationExpression​(String identityValidationExpression)

        A validation expression for the incoming identity.

        Parameters:
        identityValidationExpression - A validation expression for the incoming identity.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAuthorizerResultTtlInSeconds

        public void setAuthorizerResultTtlInSeconds​(Integer authorizerResultTtlInSeconds)

        The TTL of cached authorizer results.

        Parameters:
        authorizerResultTtlInSeconds - The TTL of cached authorizer results.
      • getAuthorizerResultTtlInSeconds

        public Integer getAuthorizerResultTtlInSeconds()

        The TTL of cached authorizer results.

        Returns:
        The TTL of cached authorizer results.
      • withAuthorizerResultTtlInSeconds

        public CreateAuthorizerRequest withAuthorizerResultTtlInSeconds​(Integer authorizerResultTtlInSeconds)

        The TTL of cached authorizer results.

        Parameters:
        authorizerResultTtlInSeconds - The TTL of cached authorizer results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object