public class CreateAuthorizerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to add a new Authorizer to an existing RestApi resource.
NOOP
Constructor and Description |
---|
CreateAuthorizerRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAuthorizerRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getAuthorizerCredentials()
Specifies the credentials required for the authorizer, if any.
|
Integer |
getAuthorizerResultTtlInSeconds()
The TTL of cached authorizer results.
|
String |
getAuthorizerUri()
[Required] Specifies the authorizer's Uniform Resource Identifier (URI).
|
String |
getAuthType()
Optional customer-defined field, used in Swagger imports/exports.
|
String |
getIdentitySource()
[Required] The source of the identity in an incoming request.
|
String |
getIdentityValidationExpression()
A validation expression for the incoming identity.
|
String |
getName()
[Required] The name of the authorizer.
|
List<String> |
getProviderARNs()
A list of the Cognito Your User Pool authorizer's provider ARNs.
|
String |
getRestApiId()
The RestApi identifier under which the Authorizer will be created.
|
String |
getType()
[Required] The type of the authorizer.
|
int |
hashCode() |
void |
setAuthorizerCredentials(String authorizerCredentials)
Specifies the credentials required for the authorizer, if any.
|
void |
setAuthorizerResultTtlInSeconds(Integer authorizerResultTtlInSeconds)
The TTL of cached authorizer results.
|
void |
setAuthorizerUri(String authorizerUri)
[Required] Specifies the authorizer's Uniform Resource Identifier (URI).
|
void |
setAuthType(String authType)
Optional customer-defined field, used in Swagger imports/exports.
|
void |
setIdentitySource(String identitySource)
[Required] The source of the identity in an incoming request.
|
void |
setIdentityValidationExpression(String identityValidationExpression)
A validation expression for the incoming identity.
|
void |
setName(String name)
[Required] The name of the authorizer.
|
void |
setProviderARNs(Collection<String> providerARNs)
A list of the Cognito Your User Pool authorizer's provider ARNs.
|
void |
setRestApiId(String restApiId)
The RestApi identifier under which the Authorizer will be created.
|
void |
setType(AuthorizerType type)
[Required] The type of the authorizer.
|
void |
setType(String type)
[Required] The type of the authorizer.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateAuthorizerRequest |
withAuthorizerCredentials(String authorizerCredentials)
Specifies the credentials required for the authorizer, if any.
|
CreateAuthorizerRequest |
withAuthorizerResultTtlInSeconds(Integer authorizerResultTtlInSeconds)
The TTL of cached authorizer results.
|
CreateAuthorizerRequest |
withAuthorizerUri(String authorizerUri)
[Required] Specifies the authorizer's Uniform Resource Identifier (URI).
|
CreateAuthorizerRequest |
withAuthType(String authType)
Optional customer-defined field, used in Swagger imports/exports.
|
CreateAuthorizerRequest |
withIdentitySource(String identitySource)
[Required] The source of the identity in an incoming request.
|
CreateAuthorizerRequest |
withIdentityValidationExpression(String identityValidationExpression)
A validation expression for the incoming identity.
|
CreateAuthorizerRequest |
withName(String name)
[Required] The name of the authorizer.
|
CreateAuthorizerRequest |
withProviderARNs(Collection<String> providerARNs)
A list of the Cognito Your User Pool authorizer's provider ARNs.
|
CreateAuthorizerRequest |
withProviderARNs(String... providerARNs)
A list of the Cognito Your User Pool authorizer's provider ARNs.
|
CreateAuthorizerRequest |
withRestApiId(String restApiId)
The RestApi identifier under which the Authorizer will be created.
|
CreateAuthorizerRequest |
withType(AuthorizerType type)
[Required] The type of the authorizer.
|
CreateAuthorizerRequest |
withType(String type)
[Required] The type of the authorizer.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRestApiId(String restApiId)
The RestApi identifier under which the Authorizer will be created.
restApiId
- The RestApi identifier under which the Authorizer will be created.public String getRestApiId()
The RestApi identifier under which the Authorizer will be created.
public CreateAuthorizerRequest withRestApiId(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(String name)
[Required] The name of the authorizer.
name
- [Required] The name of the authorizer.public String getName()
[Required] The name of the authorizer.
public CreateAuthorizerRequest withName(String name)
[Required] The name of the authorizer.
name
- [Required] The name of the authorizer.public void setType(String type)
[Required] The type of the authorizer.
type
- [Required] The type of the authorizer.AuthorizerType
public String getType()
[Required] The type of the authorizer.
AuthorizerType
public CreateAuthorizerRequest withType(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 List<String> getProviderARNs()
A list of the Cognito Your User Pool authorizer's provider ARNs.
public void setProviderARNs(Collection<String> providerARNs)
A list of the Cognito Your User Pool authorizer's provider ARNs.
providerARNs
- A list of the Cognito Your User Pool authorizer's provider ARNs.public CreateAuthorizerRequest withProviderARNs(String... providerARNs)
A list of the Cognito Your User Pool authorizer's provider ARNs.
NOTE: This method appends the values to the existing list (if any). Use
setProviderARNs(java.util.Collection)
or withProviderARNs(java.util.Collection)
if you want to
override the existing values.
providerARNs
- A list of the Cognito Your User Pool authorizer's provider ARNs.public CreateAuthorizerRequest withProviderARNs(Collection<String> providerARNs)
A list of the Cognito Your User Pool authorizer's provider ARNs.
providerARNs
- A list of the Cognito Your User Pool authorizer's provider ARNs.public void setAuthType(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 String getAuthType()
Optional customer-defined field, used in Swagger imports/exports. Has no functional impact.
public CreateAuthorizerRequest withAuthType(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(String authorizerUri)
[Required] Specifies the authorizer's Uniform Resource Identifier (URI).
authorizerUri
- [Required] Specifies the authorizer's Uniform Resource Identifier (URI).public String getAuthorizerUri()
[Required] Specifies the authorizer's Uniform Resource Identifier (URI).
public CreateAuthorizerRequest withAuthorizerUri(String authorizerUri)
[Required] Specifies the authorizer's Uniform Resource Identifier (URI).
authorizerUri
- [Required] Specifies the authorizer's Uniform Resource Identifier (URI).public void setAuthorizerCredentials(String authorizerCredentials)
Specifies the credentials required for the authorizer, if any.
authorizerCredentials
- Specifies the credentials required for the authorizer, if any.public String getAuthorizerCredentials()
Specifies the credentials required for the authorizer, if any.
public CreateAuthorizerRequest withAuthorizerCredentials(String authorizerCredentials)
Specifies the credentials required for the authorizer, if any.
authorizerCredentials
- Specifies the credentials required for the authorizer, if any.public void setIdentitySource(String identitySource)
[Required] The source of the identity in an incoming request.
identitySource
- [Required] The source of the identity in an incoming request.public String getIdentitySource()
[Required] The source of the identity in an incoming request.
public CreateAuthorizerRequest withIdentitySource(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(String identityValidationExpression)
A validation expression for the incoming identity.
identityValidationExpression
- A validation expression for the incoming identity.public String getIdentityValidationExpression()
A validation expression for the incoming identity.
public CreateAuthorizerRequest withIdentityValidationExpression(String identityValidationExpression)
A validation expression for the incoming identity.
identityValidationExpression
- A validation expression for the incoming identity.public void setAuthorizerResultTtlInSeconds(Integer authorizerResultTtlInSeconds)
The TTL of cached authorizer results.
authorizerResultTtlInSeconds
- The TTL of cached authorizer results.public Integer getAuthorizerResultTtlInSeconds()
The TTL of cached authorizer results.
public CreateAuthorizerRequest withAuthorizerResultTtlInSeconds(Integer authorizerResultTtlInSeconds)
The TTL of cached authorizer results.
authorizerResultTtlInSeconds
- The TTL of cached authorizer results.public String toString()
toString
in class Object
Object.toString()
public CreateAuthorizerRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.