Class CreateAuthorizerRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.apigateway.model.CreateAuthorizerRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class CreateAuthorizerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to add a new Authorizer to an existing RestApi resource.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateAuthorizerRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAuthorizerRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetAuthorizerCredentials()Specifies the credentials required for the authorizer, if any.IntegergetAuthorizerResultTtlInSeconds()The TTL of cached authorizer results.StringgetAuthorizerUri()[Required] Specifies the authorizer's Uniform Resource Identifier (URI).StringgetAuthType()Optional customer-defined field, used in Swagger imports/exports.StringgetIdentitySource()[Required] The source of the identity in an incoming request.StringgetIdentityValidationExpression()A validation expression for the incoming identity.StringgetName()[Required] The name of the authorizer.StringgetRestApiId()The RestApi identifier under which the Authorizer will be created.StringgetType()[Required] The type of the authorizer.inthashCode()voidsetAuthorizerCredentials(String authorizerCredentials)Specifies the credentials required for the authorizer, if any.voidsetAuthorizerResultTtlInSeconds(Integer authorizerResultTtlInSeconds)The TTL of cached authorizer results.voidsetAuthorizerUri(String authorizerUri)[Required] Specifies the authorizer's Uniform Resource Identifier (URI).voidsetAuthType(String authType)Optional customer-defined field, used in Swagger imports/exports.voidsetIdentitySource(String identitySource)[Required] The source of the identity in an incoming request.voidsetIdentityValidationExpression(String identityValidationExpression)A validation expression for the incoming identity.voidsetName(String name)[Required] The name of the authorizer.voidsetRestApiId(String restApiId)The RestApi identifier under which the Authorizer will be created.voidsetType(AuthorizerType type)[Required] The type of the authorizer.voidsetType(String type)[Required] The type of the authorizer.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateAuthorizerRequestwithAuthorizerCredentials(String authorizerCredentials)Specifies the credentials required for the authorizer, if any.CreateAuthorizerRequestwithAuthorizerResultTtlInSeconds(Integer authorizerResultTtlInSeconds)The TTL of cached authorizer results.CreateAuthorizerRequestwithAuthorizerUri(String authorizerUri)[Required] Specifies the authorizer's Uniform Resource Identifier (URI).CreateAuthorizerRequestwithAuthType(String authType)Optional customer-defined field, used in Swagger imports/exports.CreateAuthorizerRequestwithIdentitySource(String identitySource)[Required] The source of the identity in an incoming request.CreateAuthorizerRequestwithIdentityValidationExpression(String identityValidationExpression)A validation expression for the incoming identity.CreateAuthorizerRequestwithName(String name)[Required] The name of the authorizer.CreateAuthorizerRequestwithRestApiId(String restApiId)The RestApi identifier under which the Authorizer will be created.CreateAuthorizerRequestwithType(AuthorizerType type)[Required] The type of the authorizer.CreateAuthorizerRequestwithType(String type)[Required] The type of the authorizer.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
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.
-
getRestApiId
public String getRestApiId()
The RestApi identifier under which the Authorizer will be created.
- Returns:
- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateAuthorizerRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-