@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRouteResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRouteResult() |
Modifier and Type | Method and Description |
---|---|
GetRouteResult |
addRequestModelsEntry(String key,
String value) |
GetRouteResult |
addRequestParametersEntry(String key,
ParameterConstraints value) |
GetRouteResult |
clearRequestModelsEntries()
Removes all the entries added into RequestModels.
|
GetRouteResult |
clearRequestParametersEntries()
Removes all the entries added into RequestParameters.
|
GetRouteResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getApiKeyRequired()
Specifies whether an API key is required for this route.
|
List<String> |
getAuthorizationScopes()
The authorization scopes supported by this route.
|
String |
getAuthorizationType()
The authorization type for the route.
|
String |
getAuthorizerId()
The identifier of the Authorizer resource to be associated with this route.
|
String |
getModelSelectionExpression()
The model selection expression for the route.
|
String |
getOperationName()
The operation name for the route.
|
Map<String,String> |
getRequestModels()
The request models for the route.
|
Map<String,ParameterConstraints> |
getRequestParameters()
The request parameters for the route.
|
String |
getRouteId()
The route ID.
|
String |
getRouteKey()
The route key for the route.
|
String |
getRouteResponseSelectionExpression()
The route response selection expression for the route.
|
String |
getTarget()
The target for the route.
|
int |
hashCode() |
Boolean |
isApiKeyRequired()
Specifies whether an API key is required for this route.
|
void |
setApiKeyRequired(Boolean apiKeyRequired)
Specifies whether an API key is required for this route.
|
void |
setAuthorizationScopes(Collection<String> authorizationScopes)
The authorization scopes supported by this route.
|
void |
setAuthorizationType(String authorizationType)
The authorization type for the route.
|
void |
setAuthorizerId(String authorizerId)
The identifier of the Authorizer resource to be associated with this route.
|
void |
setModelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route.
|
void |
setOperationName(String operationName)
The operation name for the route.
|
void |
setRequestModels(Map<String,String> requestModels)
The request models for the route.
|
void |
setRequestParameters(Map<String,ParameterConstraints> requestParameters)
The request parameters for the route.
|
void |
setRouteId(String routeId)
The route ID.
|
void |
setRouteKey(String routeKey)
The route key for the route.
|
void |
setRouteResponseSelectionExpression(String routeResponseSelectionExpression)
The route response selection expression for the route.
|
void |
setTarget(String target)
The target for the route.
|
String |
toString()
Returns a string representation of this object.
|
GetRouteResult |
withApiKeyRequired(Boolean apiKeyRequired)
Specifies whether an API key is required for this route.
|
GetRouteResult |
withAuthorizationScopes(Collection<String> authorizationScopes)
The authorization scopes supported by this route.
|
GetRouteResult |
withAuthorizationScopes(String... authorizationScopes)
The authorization scopes supported by this route.
|
GetRouteResult |
withAuthorizationType(AuthorizationType authorizationType)
The authorization type for the route.
|
GetRouteResult |
withAuthorizationType(String authorizationType)
The authorization type for the route.
|
GetRouteResult |
withAuthorizerId(String authorizerId)
The identifier of the Authorizer resource to be associated with this route.
|
GetRouteResult |
withModelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route.
|
GetRouteResult |
withOperationName(String operationName)
The operation name for the route.
|
GetRouteResult |
withRequestModels(Map<String,String> requestModels)
The request models for the route.
|
GetRouteResult |
withRequestParameters(Map<String,ParameterConstraints> requestParameters)
The request parameters for the route.
|
GetRouteResult |
withRouteId(String routeId)
The route ID.
|
GetRouteResult |
withRouteKey(String routeKey)
The route key for the route.
|
GetRouteResult |
withRouteResponseSelectionExpression(String routeResponseSelectionExpression)
The route response selection expression for the route.
|
GetRouteResult |
withTarget(String target)
The target for the route.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setApiKeyRequired(Boolean apiKeyRequired)
Specifies whether an API key is required for this route.
apiKeyRequired
- Specifies whether an API key is required for this route.public Boolean getApiKeyRequired()
Specifies whether an API key is required for this route.
public GetRouteResult withApiKeyRequired(Boolean apiKeyRequired)
Specifies whether an API key is required for this route.
apiKeyRequired
- Specifies whether an API key is required for this route.public Boolean isApiKeyRequired()
Specifies whether an API key is required for this route.
public List<String> getAuthorizationScopes()
The authorization scopes supported by this route.
public void setAuthorizationScopes(Collection<String> authorizationScopes)
The authorization scopes supported by this route.
authorizationScopes
- The authorization scopes supported by this route.public GetRouteResult withAuthorizationScopes(String... authorizationScopes)
The authorization scopes supported by this route.
NOTE: This method appends the values to the existing list (if any). Use
setAuthorizationScopes(java.util.Collection)
or withAuthorizationScopes(java.util.Collection)
if you want to override the existing values.
authorizationScopes
- The authorization scopes supported by this route.public GetRouteResult withAuthorizationScopes(Collection<String> authorizationScopes)
The authorization scopes supported by this route.
authorizationScopes
- The authorization scopes supported by this route.public void setAuthorizationType(String authorizationType)
The authorization type for the route. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions.
authorizationType
- The authorization type for the route. Valid values are NONE for open access, AWS_IAM for using AWS IAM
permissions.AuthorizationType
public String getAuthorizationType()
The authorization type for the route. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions.
AuthorizationType
public GetRouteResult withAuthorizationType(String authorizationType)
The authorization type for the route. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions.
authorizationType
- The authorization type for the route. Valid values are NONE for open access, AWS_IAM for using AWS IAM
permissions.AuthorizationType
public GetRouteResult withAuthorizationType(AuthorizationType authorizationType)
The authorization type for the route. Valid values are NONE for open access, AWS_IAM for using AWS IAM permissions.
authorizationType
- The authorization type for the route. Valid values are NONE for open access, AWS_IAM for using AWS IAM
permissions.AuthorizationType
public void setAuthorizerId(String authorizerId)
The identifier of the Authorizer resource to be associated with this route.
authorizerId
- The identifier of the Authorizer resource to be associated with this route.public String getAuthorizerId()
The identifier of the Authorizer resource to be associated with this route.
public GetRouteResult withAuthorizerId(String authorizerId)
The identifier of the Authorizer resource to be associated with this route.
authorizerId
- The identifier of the Authorizer resource to be associated with this route.public void setModelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route.
modelSelectionExpression
- The model selection expression for the route.public String getModelSelectionExpression()
The model selection expression for the route.
public GetRouteResult withModelSelectionExpression(String modelSelectionExpression)
The model selection expression for the route.
modelSelectionExpression
- The model selection expression for the route.public void setOperationName(String operationName)
The operation name for the route.
operationName
- The operation name for the route.public String getOperationName()
The operation name for the route.
public GetRouteResult withOperationName(String operationName)
The operation name for the route.
operationName
- The operation name for the route.public Map<String,String> getRequestModels()
The request models for the route.
public void setRequestModels(Map<String,String> requestModels)
The request models for the route.
requestModels
- The request models for the route.public GetRouteResult withRequestModels(Map<String,String> requestModels)
The request models for the route.
requestModels
- The request models for the route.public GetRouteResult addRequestModelsEntry(String key, String value)
public GetRouteResult clearRequestModelsEntries()
public Map<String,ParameterConstraints> getRequestParameters()
The request parameters for the route.
public void setRequestParameters(Map<String,ParameterConstraints> requestParameters)
The request parameters for the route.
requestParameters
- The request parameters for the route.public GetRouteResult withRequestParameters(Map<String,ParameterConstraints> requestParameters)
The request parameters for the route.
requestParameters
- The request parameters for the route.public GetRouteResult addRequestParametersEntry(String key, ParameterConstraints value)
public GetRouteResult clearRequestParametersEntries()
public void setRouteId(String routeId)
The route ID.
routeId
- The route ID.public String getRouteId()
The route ID.
public GetRouteResult withRouteId(String routeId)
The route ID.
routeId
- The route ID.public void setRouteKey(String routeKey)
The route key for the route.
routeKey
- The route key for the route.public String getRouteKey()
The route key for the route.
public GetRouteResult withRouteKey(String routeKey)
The route key for the route.
routeKey
- The route key for the route.public void setRouteResponseSelectionExpression(String routeResponseSelectionExpression)
The route response selection expression for the route.
routeResponseSelectionExpression
- The route response selection expression for the route.public String getRouteResponseSelectionExpression()
The route response selection expression for the route.
public GetRouteResult withRouteResponseSelectionExpression(String routeResponseSelectionExpression)
The route response selection expression for the route.
routeResponseSelectionExpression
- The route response selection expression for the route.public void setTarget(String target)
The target for the route.
target
- The target for the route.public String getTarget()
The target for the route.
public GetRouteResult withTarget(String target)
The target for the route.
target
- The target for the route.public String toString()
toString
in class Object
Object.toString()
public GetRouteResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.