public class CreateAuthorizerRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Request to add a new Authorizer to an existing RestApi resource.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
authorizerCredentials
Specifies the credentials required for the authorizer, if any.
|
private java.lang.Integer |
authorizerResultTtlInSeconds
The TTL of cached authorizer results.
|
private java.lang.String |
authorizerUri
[Required] Specifies the authorizer's Uniform Resource Identifier (URI).
|
private java.lang.String |
authType
Optional customer-defined field, used in Swagger imports/exports.
|
private java.lang.String |
identitySource
[Required] The source of the identity in an incoming request.
|
private java.lang.String |
identityValidationExpression
A validation expression for the incoming identity.
|
private java.lang.String |
name
[Required] The name of the authorizer.
|
private java.lang.String |
restApiId
The RestApi identifier under which the Authorizer will be
created.
|
private java.lang.String |
type
[Required] The type of the authorizer.
|
NOOP
Constructor and Description |
---|
CreateAuthorizerRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAuthorizerRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAuthorizerCredentials()
Specifies the credentials required for the authorizer, if any.
|
java.lang.Integer |
getAuthorizerResultTtlInSeconds()
The TTL of cached authorizer results.
|
java.lang.String |
getAuthorizerUri()
[Required] Specifies the authorizer's Uniform Resource Identifier (URI).
|
java.lang.String |
getAuthType()
Optional customer-defined field, used in Swagger imports/exports.
|
java.lang.String |
getIdentitySource()
[Required] The source of the identity in an incoming request.
|
java.lang.String |
getIdentityValidationExpression()
A validation expression for the incoming identity.
|
java.lang.String |
getName()
[Required] The name of the authorizer.
|
java.lang.String |
getRestApiId()
The RestApi identifier under which the Authorizer will be
created.
|
java.lang.String |
getType()
[Required] The type of the authorizer.
|
int |
hashCode() |
void |
setAuthorizerCredentials(java.lang.String authorizerCredentials)
Specifies the credentials required for the authorizer, if any.
|
void |
setAuthorizerResultTtlInSeconds(java.lang.Integer authorizerResultTtlInSeconds)
The TTL of cached authorizer results.
|
void |
setAuthorizerUri(java.lang.String authorizerUri)
[Required] Specifies the authorizer's Uniform Resource Identifier (URI).
|
void |
setAuthType(java.lang.String authType)
Optional customer-defined field, used in Swagger imports/exports.
|
void |
setIdentitySource(java.lang.String identitySource)
[Required] The source of the identity in an incoming request.
|
void |
setIdentityValidationExpression(java.lang.String identityValidationExpression)
A validation expression for the incoming identity.
|
void |
setName(java.lang.String name)
[Required] The name of the authorizer.
|
void |
setRestApiId(java.lang.String restApiId)
The RestApi identifier under which the Authorizer will be
created.
|
void |
setType(AuthorizerType type)
[Required] The type of the authorizer.
|
void |
setType(java.lang.String type)
[Required] The type of the authorizer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateAuthorizerRequest |
withAuthorizerCredentials(java.lang.String authorizerCredentials)
Specifies the credentials required for the authorizer, if any.
|
CreateAuthorizerRequest |
withAuthorizerResultTtlInSeconds(java.lang.Integer authorizerResultTtlInSeconds)
The TTL of cached authorizer results.
|
CreateAuthorizerRequest |
withAuthorizerUri(java.lang.String authorizerUri)
[Required] Specifies the authorizer's Uniform Resource Identifier (URI).
|
CreateAuthorizerRequest |
withAuthType(java.lang.String authType)
Optional customer-defined field, used in Swagger imports/exports.
|
CreateAuthorizerRequest |
withIdentitySource(java.lang.String identitySource)
[Required] The source of the identity in an incoming request.
|
CreateAuthorizerRequest |
withIdentityValidationExpression(java.lang.String identityValidationExpression)
A validation expression for the incoming identity.
|
CreateAuthorizerRequest |
withName(java.lang.String name)
[Required] The name of the authorizer.
|
CreateAuthorizerRequest |
withRestApiId(java.lang.String restApiId)
The RestApi identifier under which the Authorizer will be
created.
|
CreateAuthorizerRequest |
withType(AuthorizerType type)
[Required] The type of the authorizer.
|
CreateAuthorizerRequest |
withType(java.lang.String type)
[Required] The type of the authorizer.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String restApiId
The RestApi identifier under which the Authorizer will be created.
private java.lang.String name
[Required] The name of the authorizer.
private java.lang.String type
[Required] The type of the authorizer.
private java.lang.String authType
Optional customer-defined field, used in Swagger imports/exports. Has no functional impact.
private java.lang.String authorizerUri
[Required] Specifies the authorizer's Uniform Resource Identifier (URI).
private java.lang.String authorizerCredentials
Specifies the credentials required for the authorizer, if any.
private java.lang.String identitySource
[Required] The source of the identity in an incoming request.
private java.lang.String identityValidationExpression
A validation expression for the incoming identity.
private java.lang.Integer authorizerResultTtlInSeconds
The TTL of cached authorizer results.
public void setRestApiId(java.lang.String restApiId)
The RestApi identifier under which the Authorizer will be created.
restApiId
- The RestApi identifier under which the Authorizer
will be created.public java.lang.String getRestApiId()
The RestApi identifier under which the Authorizer will be created.
public CreateAuthorizerRequest withRestApiId(java.lang.String restApiId)
The RestApi identifier under which the Authorizer will be created.
restApiId
- The RestApi identifier under which the Authorizer
will be created.public void setName(java.lang.String name)
[Required] The name of the authorizer.
name
- [Required] The name of the authorizer.public java.lang.String getName()
[Required] The name of the authorizer.
public CreateAuthorizerRequest withName(java.lang.String name)
[Required] The name of the authorizer.
name
- [Required] The name of the authorizer.public void setType(java.lang.String type)
[Required] The type of the authorizer.
type
- [Required] The type of the authorizer.AuthorizerType
public java.lang.String getType()
[Required] The type of the authorizer.
AuthorizerType
public CreateAuthorizerRequest withType(java.lang.String type)
[Required] The type of the authorizer.
type
- [Required] The type of the authorizer.AuthorizerType
public void setType(AuthorizerType type)
[Required] The type of the authorizer.
type
- [Required] The type of the authorizer.AuthorizerType
public CreateAuthorizerRequest withType(AuthorizerType type)
[Required] The type of the authorizer.
type
- [Required] The type of the authorizer.AuthorizerType
public void setAuthType(java.lang.String authType)
Optional customer-defined field, used in Swagger imports/exports. Has no functional impact.
authType
- Optional customer-defined field, used in Swagger imports/exports.
Has no functional impact.public java.lang.String getAuthType()
Optional customer-defined field, used in Swagger imports/exports. Has no functional impact.
public CreateAuthorizerRequest withAuthType(java.lang.String authType)
Optional customer-defined field, used in Swagger imports/exports. Has no functional impact.
authType
- Optional customer-defined field, used in Swagger imports/exports.
Has no functional impact.public void setAuthorizerUri(java.lang.String authorizerUri)
[Required] Specifies the authorizer's Uniform Resource Identifier (URI).
authorizerUri
- [Required] Specifies the authorizer's Uniform Resource Identifier
(URI).public java.lang.String getAuthorizerUri()
[Required] Specifies the authorizer's Uniform Resource Identifier (URI).
public CreateAuthorizerRequest withAuthorizerUri(java.lang.String authorizerUri)
[Required] Specifies the authorizer's Uniform Resource Identifier (URI).
authorizerUri
- [Required] Specifies the authorizer's Uniform Resource Identifier
(URI).public void setAuthorizerCredentials(java.lang.String authorizerCredentials)
Specifies the credentials required for the authorizer, if any.
authorizerCredentials
- Specifies the credentials required for the authorizer, if any.public java.lang.String getAuthorizerCredentials()
Specifies the credentials required for the authorizer, if any.
public CreateAuthorizerRequest withAuthorizerCredentials(java.lang.String authorizerCredentials)
Specifies the credentials required for the authorizer, if any.
authorizerCredentials
- Specifies the credentials required for the authorizer, if any.public void setIdentitySource(java.lang.String identitySource)
[Required] The source of the identity in an incoming request.
identitySource
- [Required] The source of the identity in an incoming request.public java.lang.String getIdentitySource()
[Required] The source of the identity in an incoming request.
public CreateAuthorizerRequest withIdentitySource(java.lang.String identitySource)
[Required] The source of the identity in an incoming request.
identitySource
- [Required] The source of the identity in an incoming request.public void setIdentityValidationExpression(java.lang.String identityValidationExpression)
A validation expression for the incoming identity.
identityValidationExpression
- A validation expression for the incoming identity.public java.lang.String getIdentityValidationExpression()
A validation expression for the incoming identity.
public CreateAuthorizerRequest withIdentityValidationExpression(java.lang.String identityValidationExpression)
A validation expression for the incoming identity.
identityValidationExpression
- A validation expression for the incoming identity.public void setAuthorizerResultTtlInSeconds(java.lang.Integer authorizerResultTtlInSeconds)
The TTL of cached authorizer results.
authorizerResultTtlInSeconds
- The TTL of cached authorizer results.public java.lang.Integer getAuthorizerResultTtlInSeconds()
The TTL of cached authorizer results.
public CreateAuthorizerRequest withAuthorizerResultTtlInSeconds(java.lang.Integer authorizerResultTtlInSeconds)
The TTL of cached authorizer results.
authorizerResultTtlInSeconds
- The TTL of cached authorizer results.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateAuthorizerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()