Skip to content

Commit

Permalink
AWS SDK for Java 1.11.57
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS committed Nov 18, 2016
1 parent ecd720c commit 6fcb961
Show file tree
Hide file tree
Showing 237 changed files with 34,958 additions and 9,080 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies.
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-bom</artifactId>
<version>1.11.56</version>
<version>1.11.57</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion aws-java-sdk-acm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-pom</artifactId>
<version>1.11.57-SNAPSHOT</version>
<version>1.11.57</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-acm</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion aws-java-sdk-api-gateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-pom</artifactId>
<version>1.11.57-SNAPSHOT</version>
<version>1.11.57</version>
</parent>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk-api-gateway</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ public interface AmazonApiGateway {
* @throws TooManyRequestsException
* @throws LimitExceededException
* @throws ConflictException
* @throws NotFoundException
* @sample AmazonApiGateway.CreateUsagePlan
*/
CreateUsagePlanResult createUsagePlan(CreateUsagePlanRequest createUsagePlanRequest);
Expand Down Expand Up @@ -1102,6 +1103,7 @@ public interface AmazonApiGateway {
* @throws UnauthorizedException
* @throws TooManyRequestsException
* @throws ConflictException
* @throws NotFoundException
* @sample AmazonApiGateway.GetUsagePlans
*/
GetUsagePlansResult getUsagePlans(GetUsagePlansRequest getUsagePlansRequest);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@ public CreateStageResult createStage(CreateStageRequest createStageRequest) {
* @throws TooManyRequestsException
* @throws LimitExceededException
* @throws ConflictException
* @throws NotFoundException
* @sample AmazonApiGateway.CreateUsagePlan
*/
@Override
Expand Down Expand Up @@ -3013,6 +3014,7 @@ public GetUsagePlanKeysResult getUsagePlanKeys(GetUsagePlanKeysRequest getUsageP
* @throws UnauthorizedException
* @throws TooManyRequestsException
* @throws ConflictException
* @throws NotFoundException
* @sample AmazonApiGateway.GetUsagePlans
*/
@Override
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@

/**
* <p>
* The authorizer type. the only current value is TOKEN.
* The authorizer type. the current value is <code>TOKEN</code> for a Lambda function or <code>COGNITO_USER_POOLS</code>
* for an Amazon Cognito Your User Pool.
* </p>
*/
public enum AuthorizerType {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/*
* Copyright 2011-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.apigateway.model;

/**
*
*/
public enum ContentHandlingStrategy {

CONVERT_TO_BINARY("CONVERT_TO_BINARY"),
CONVERT_TO_TEXT("CONVERT_TO_TEXT");

private String value;

private ContentHandlingStrategy(String value) {
this.value = value;
}

@Override
public String toString() {
return this.value;
}

/**
* Use this in place of valueOf.
*
* @param value
* real value
* @return ContentHandlingStrategy corresponding to the value
*/
public static ContentHandlingStrategy fromValue(String value) {
if (value == null || "".equals(value)) {
throw new IllegalArgumentException("Value cannot be null or empty!");
}

for (ContentHandlingStrategy enumEntry : ContentHandlingStrategy.values()) {
if (enumEntry.toString().equals(value)) {
return enumEntry;
}
}

throw new IllegalArgumentException("Cannot create enum from " + value + " value!");
}
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ public class CreateRestApiRequest extends com.amazonaws.AmazonWebServiceRequest
* </p>
*/
private String cloneFrom;
/**
* <p>
* The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports only
* UTF-8-encoded text payloads.
* </p>
*/
private java.util.List<String> binaryMediaTypes;

/**
* <p>
Expand Down Expand Up @@ -161,6 +168,84 @@ public CreateRestApiRequest withCloneFrom(String cloneFrom) {
return this;
}

/**
* <p>
* The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports only
* UTF-8-encoded text payloads.
* </p>
*
* @return The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports
* only UTF-8-encoded text payloads.
*/

public java.util.List<String> getBinaryMediaTypes() {
return binaryMediaTypes;
}

/**
* <p>
* The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports only
* UTF-8-encoded text payloads.
* </p>
*
* @param binaryMediaTypes
* The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports
* only UTF-8-encoded text payloads.
*/

public void setBinaryMediaTypes(java.util.Collection<String> binaryMediaTypes) {
if (binaryMediaTypes == null) {
this.binaryMediaTypes = null;
return;
}

this.binaryMediaTypes = new java.util.ArrayList<String>(binaryMediaTypes);
}

/**
* <p>
* The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports only
* UTF-8-encoded text payloads.
* </p>
* <p>
* <b>NOTE:</b> This method appends the values to the existing list (if any). Use
* {@link #setBinaryMediaTypes(java.util.Collection)} or {@link #withBinaryMediaTypes(java.util.Collection)} if you
* want to override the existing values.
* </p>
*
* @param binaryMediaTypes
* The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports
* only UTF-8-encoded text payloads.
* @return Returns a reference to this object so that method calls can be chained together.
*/

public CreateRestApiRequest withBinaryMediaTypes(String... binaryMediaTypes) {
if (this.binaryMediaTypes == null) {
setBinaryMediaTypes(new java.util.ArrayList<String>(binaryMediaTypes.length));
}
for (String ele : binaryMediaTypes) {
this.binaryMediaTypes.add(ele);
}
return this;
}

/**
* <p>
* The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports only
* UTF-8-encoded text payloads.
* </p>
*
* @param binaryMediaTypes
* The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports
* only UTF-8-encoded text payloads.
* @return Returns a reference to this object so that method calls can be chained together.
*/

public CreateRestApiRequest withBinaryMediaTypes(java.util.Collection<String> binaryMediaTypes) {
setBinaryMediaTypes(binaryMediaTypes);
return this;
}

/**
* Returns a string representation of this object; useful for testing and debugging.
*
Expand All @@ -177,7 +262,9 @@ public String toString() {
if (getDescription() != null)
sb.append("Description: " + getDescription() + ",");
if (getCloneFrom() != null)
sb.append("CloneFrom: " + getCloneFrom());
sb.append("CloneFrom: " + getCloneFrom() + ",");
if (getBinaryMediaTypes() != null)
sb.append("BinaryMediaTypes: " + getBinaryMediaTypes());
sb.append("}");
return sb.toString();
}
Expand All @@ -204,6 +291,10 @@ public boolean equals(Object obj) {
return false;
if (other.getCloneFrom() != null && other.getCloneFrom().equals(this.getCloneFrom()) == false)
return false;
if (other.getBinaryMediaTypes() == null ^ this.getBinaryMediaTypes() == null)
return false;
if (other.getBinaryMediaTypes() != null && other.getBinaryMediaTypes().equals(this.getBinaryMediaTypes()) == false)
return false;
return true;
}

Expand All @@ -215,6 +306,7 @@ public int hashCode() {
hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode());
hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
hashCode = prime * hashCode + ((getCloneFrom() == null) ? 0 : getCloneFrom().hashCode());
hashCode = prime * hashCode + ((getBinaryMediaTypes() == null) ? 0 : getBinaryMediaTypes().hashCode());
return hashCode;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ public class CreateRestApiResult extends com.amazonaws.AmazonWebServiceResult<co
* </p>
*/
private java.util.List<String> warnings;
/**
* <p>
* The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports only
* UTF-8-encoded text payloads.
* </p>
*/
private java.util.List<String> binaryMediaTypes;

/**
* <p>
Expand Down Expand Up @@ -291,6 +298,84 @@ public CreateRestApiResult withWarnings(java.util.Collection<String> warnings) {
return this;
}

/**
* <p>
* The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports only
* UTF-8-encoded text payloads.
* </p>
*
* @return The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports
* only UTF-8-encoded text payloads.
*/

public java.util.List<String> getBinaryMediaTypes() {
return binaryMediaTypes;
}

/**
* <p>
* The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports only
* UTF-8-encoded text payloads.
* </p>
*
* @param binaryMediaTypes
* The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports
* only UTF-8-encoded text payloads.
*/

public void setBinaryMediaTypes(java.util.Collection<String> binaryMediaTypes) {
if (binaryMediaTypes == null) {
this.binaryMediaTypes = null;
return;
}

this.binaryMediaTypes = new java.util.ArrayList<String>(binaryMediaTypes);
}

/**
* <p>
* The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports only
* UTF-8-encoded text payloads.
* </p>
* <p>
* <b>NOTE:</b> This method appends the values to the existing list (if any). Use
* {@link #setBinaryMediaTypes(java.util.Collection)} or {@link #withBinaryMediaTypes(java.util.Collection)} if you
* want to override the existing values.
* </p>
*
* @param binaryMediaTypes
* The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports
* only UTF-8-encoded text payloads.
* @return Returns a reference to this object so that method calls can be chained together.
*/

public CreateRestApiResult withBinaryMediaTypes(String... binaryMediaTypes) {
if (this.binaryMediaTypes == null) {
setBinaryMediaTypes(new java.util.ArrayList<String>(binaryMediaTypes.length));
}
for (String ele : binaryMediaTypes) {
this.binaryMediaTypes.add(ele);
}
return this;
}

/**
* <p>
* The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports only
* UTF-8-encoded text payloads.
* </p>
*
* @param binaryMediaTypes
* The list of binary media types supported by the <a>RestApi</a>. By default, the <a>RestApi</a> supports
* only UTF-8-encoded text payloads.
* @return Returns a reference to this object so that method calls can be chained together.
*/

public CreateRestApiResult withBinaryMediaTypes(java.util.Collection<String> binaryMediaTypes) {
setBinaryMediaTypes(binaryMediaTypes);
return this;
}

/**
* Returns a string representation of this object; useful for testing and debugging.
*
Expand All @@ -311,7 +396,9 @@ public String toString() {
if (getCreatedDate() != null)
sb.append("CreatedDate: " + getCreatedDate() + ",");
if (getWarnings() != null)
sb.append("Warnings: " + getWarnings());
sb.append("Warnings: " + getWarnings() + ",");
if (getBinaryMediaTypes() != null)
sb.append("BinaryMediaTypes: " + getBinaryMediaTypes());
sb.append("}");
return sb.toString();
}
Expand Down Expand Up @@ -346,6 +433,10 @@ public boolean equals(Object obj) {
return false;
if (other.getWarnings() != null && other.getWarnings().equals(this.getWarnings()) == false)
return false;
if (other.getBinaryMediaTypes() == null ^ this.getBinaryMediaTypes() == null)
return false;
if (other.getBinaryMediaTypes() != null && other.getBinaryMediaTypes().equals(this.getBinaryMediaTypes()) == false)
return false;
return true;
}

Expand All @@ -359,6 +450,7 @@ public int hashCode() {
hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
hashCode = prime * hashCode + ((getCreatedDate() == null) ? 0 : getCreatedDate().hashCode());
hashCode = prime * hashCode + ((getWarnings() == null) ? 0 : getWarnings().hashCode());
hashCode = prime * hashCode + ((getBinaryMediaTypes() == null) ? 0 : getBinaryMediaTypes().hashCode());
return hashCode;
}

Expand Down
Loading

0 comments on commit 6fcb961

Please sign in to comment.