id int32 0 165k | repo stringlengths 7 58 | path stringlengths 12 218 | func_name stringlengths 3 140 | original_string stringlengths 73 34.1k | language stringclasses 1
value | code stringlengths 73 34.1k | code_tokens list | docstring stringlengths 3 16k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 105 339 |
|---|---|---|---|---|---|---|---|---|---|---|---|
19,900 | aws/aws-sdk-java | aws-java-sdk-mq/src/main/java/com/amazonaws/services/mq/model/BrokerInstance.java | BrokerInstance.setEndpoints | public void setEndpoints(java.util.Collection<String> endpoints) {
if (endpoints == null) {
this.endpoints = null;
return;
}
this.endpoints = new java.util.ArrayList<String>(endpoints);
} | java | public void setEndpoints(java.util.Collection<String> endpoints) {
if (endpoints == null) {
this.endpoints = null;
return;
}
this.endpoints = new java.util.ArrayList<String>(endpoints);
} | [
"public",
"void",
"setEndpoints",
"(",
"java",
".",
"util",
".",
"Collection",
"<",
"String",
">",
"endpoints",
")",
"{",
"if",
"(",
"endpoints",
"==",
"null",
")",
"{",
"this",
".",
"endpoints",
"=",
"null",
";",
"return",
";",
"}",
"this",
".",
"en... | The broker's wire-level protocol endpoints.
@param endpoints
The broker's wire-level protocol endpoints. | [
"The",
"broker",
"s",
"wire",
"-",
"level",
"protocol",
"endpoints",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-mq/src/main/java/com/amazonaws/services/mq/model/BrokerInstance.java#L87-L94 |
19,901 | aws/aws-sdk-java | aws-java-sdk-code-generator/src/main/java/com/amazonaws/codegen/CodeGenerator.java | CodeGenerator.execute | public void execute() {
try {
final IntermediateModel intermediateModel =
new IntermediateModelBuilder(models, codeGenBinDirectory).build();
// Dump the intermediate model to a file
writeIntermediateModel(intermediateModel);
emitCode(intermed... | java | public void execute() {
try {
final IntermediateModel intermediateModel =
new IntermediateModelBuilder(models, codeGenBinDirectory).build();
// Dump the intermediate model to a file
writeIntermediateModel(intermediateModel);
emitCode(intermed... | [
"public",
"void",
"execute",
"(",
")",
"{",
"try",
"{",
"final",
"IntermediateModel",
"intermediateModel",
"=",
"new",
"IntermediateModelBuilder",
"(",
"models",
",",
"codeGenBinDirectory",
")",
".",
"build",
"(",
")",
";",
"// Dump the intermediate model to a file",
... | load ServiceModel. load code gen configuration from individual client. load Waiters. generate intermediate model. generate
code. | [
"load",
"ServiceModel",
".",
"load",
"code",
"gen",
"configuration",
"from",
"individual",
"client",
".",
"load",
"Waiters",
".",
"generate",
"intermediate",
"model",
".",
"generate",
"code",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-code-generator/src/main/java/com/amazonaws/codegen/CodeGenerator.java#L59-L75 |
19,902 | aws/aws-sdk-java | aws-java-sdk-code-generator/src/main/java/com/amazonaws/codegen/model/service/HostPrefixProcessor.java | HostPrefixProcessor.replaceHostLabelsWithStringSpecifier | private void replaceHostLabelsWithStringSpecifier(String hostExpression) {
if (StringUtils.isNullOrEmpty(hostExpression)) {
throw new IllegalArgumentException("Given host prefix is either null or empty");
}
Matcher matcher = PATTERN.matcher(hostExpression);
while (matcher.f... | java | private void replaceHostLabelsWithStringSpecifier(String hostExpression) {
if (StringUtils.isNullOrEmpty(hostExpression)) {
throw new IllegalArgumentException("Given host prefix is either null or empty");
}
Matcher matcher = PATTERN.matcher(hostExpression);
while (matcher.f... | [
"private",
"void",
"replaceHostLabelsWithStringSpecifier",
"(",
"String",
"hostExpression",
")",
"{",
"if",
"(",
"StringUtils",
".",
"isNullOrEmpty",
"(",
"hostExpression",
")",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"Given host prefix is either null... | Replace all the labels in host with %s symbols and collect the input shape member names into a list | [
"Replace",
"all",
"the",
"labels",
"in",
"host",
"with",
"%s",
"symbols",
"and",
"collect",
"the",
"input",
"shape",
"member",
"names",
"into",
"a",
"list"
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-code-generator/src/main/java/com/amazonaws/codegen/model/service/HostPrefixProcessor.java#L61-L73 |
19,903 | aws/aws-sdk-java | aws-java-sdk-core/src/main/java/com/amazonaws/util/TimingInfo.java | TimingInfo.durationMilliOf | public static double durationMilliOf(long startTimeNano, long endTimeNano) {
double micros = (double)TimeUnit.NANOSECONDS.toMicros(endTimeNano - startTimeNano);
return micros / 1000.0; // convert microseconds to milliseconds in double rather than long, preserving the precision
} | java | public static double durationMilliOf(long startTimeNano, long endTimeNano) {
double micros = (double)TimeUnit.NANOSECONDS.toMicros(endTimeNano - startTimeNano);
return micros / 1000.0; // convert microseconds to milliseconds in double rather than long, preserving the precision
} | [
"public",
"static",
"double",
"durationMilliOf",
"(",
"long",
"startTimeNano",
",",
"long",
"endTimeNano",
")",
"{",
"double",
"micros",
"=",
"(",
"double",
")",
"TimeUnit",
".",
"NANOSECONDS",
".",
"toMicros",
"(",
"endTimeNano",
"-",
"startTimeNano",
")",
";... | Returns the duration in milliseconds as double, preserving the decimal
precision as necessary, for the given start and end time in nanoseconds. | [
"Returns",
"the",
"duration",
"in",
"milliseconds",
"as",
"double",
"preserving",
"the",
"decimal",
"precision",
"as",
"necessary",
"for",
"the",
"given",
"start",
"and",
"end",
"time",
"in",
"nanoseconds",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-core/src/main/java/com/amazonaws/util/TimingInfo.java#L234-L237 |
19,904 | aws/aws-sdk-java | aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/UpdateExpressionGenerator.java | UpdateExpressionGenerator.generateSubstitutionTokenString | private String generateSubstitutionTokenString(String baseToken,
Long suffixCounter,
Set<String> expressionAttributeNamesKeys,
Set<String> expressionAttributeValuesKey... | java | private String generateSubstitutionTokenString(String baseToken,
Long suffixCounter,
Set<String> expressionAttributeNamesKeys,
Set<String> expressionAttributeValuesKey... | [
"private",
"String",
"generateSubstitutionTokenString",
"(",
"String",
"baseToken",
",",
"Long",
"suffixCounter",
",",
"Set",
"<",
"String",
">",
"expressionAttributeNamesKeys",
",",
"Set",
"<",
"String",
">",
"expressionAttributeValuesKeys",
")",
"{",
"String",
"hexS... | Generate a string that can be used as a substitution token for attributeNames and attributeValues in
update expression. De-dupes generated string on existingAttributesKeyList.
The string starts with a baseToken's substring that is passed in from the caller and then appended with a hex string
the hex string represents t... | [
"Generate",
"a",
"string",
"that",
"can",
"be",
"used",
"as",
"a",
"substitution",
"token",
"for",
"attributeNames",
"and",
"attributeValues",
"in",
"update",
"expression",
".",
"De",
"-",
"dupes",
"generated",
"string",
"on",
"existingAttributesKeyList",
".",
"... | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/UpdateExpressionGenerator.java#L64-L83 |
19,905 | aws/aws-sdk-java | aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/UpdateExpressionGenerator.java | UpdateExpressionGenerator.generateUpdateExpressionAndUpdateAttributeMaps | public String generateUpdateExpressionAndUpdateAttributeMaps(Map<String, String> expressionAttributeNamesMap,
Map<String, AttributeValue> expressionsAttributeValuesMap,
Map<String, Attribute... | java | public String generateUpdateExpressionAndUpdateAttributeMaps(Map<String, String> expressionAttributeNamesMap,
Map<String, AttributeValue> expressionsAttributeValuesMap,
Map<String, Attribute... | [
"public",
"String",
"generateUpdateExpressionAndUpdateAttributeMaps",
"(",
"Map",
"<",
"String",
",",
"String",
">",
"expressionAttributeNamesMap",
",",
"Map",
"<",
"String",
",",
"AttributeValue",
">",
"expressionsAttributeValuesMap",
",",
"Map",
"<",
"String",
",",
... | Merge nonKeyAttributes along with any condition expression attributes and generate corresponding update expression | [
"Merge",
"nonKeyAttributes",
"along",
"with",
"any",
"condition",
"expression",
"attributes",
"and",
"generate",
"corresponding",
"update",
"expression"
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/UpdateExpressionGenerator.java#L97-L165 |
19,906 | aws/aws-sdk-java | aws-java-sdk-mq/src/main/java/com/amazonaws/services/mq/model/BrokerInstanceOption.java | BrokerInstanceOption.setAvailabilityZones | public void setAvailabilityZones(java.util.Collection<AvailabilityZone> availabilityZones) {
if (availabilityZones == null) {
this.availabilityZones = null;
return;
}
this.availabilityZones = new java.util.ArrayList<AvailabilityZone>(availabilityZones);
} | java | public void setAvailabilityZones(java.util.Collection<AvailabilityZone> availabilityZones) {
if (availabilityZones == null) {
this.availabilityZones = null;
return;
}
this.availabilityZones = new java.util.ArrayList<AvailabilityZone>(availabilityZones);
} | [
"public",
"void",
"setAvailabilityZones",
"(",
"java",
".",
"util",
".",
"Collection",
"<",
"AvailabilityZone",
">",
"availabilityZones",
")",
"{",
"if",
"(",
"availabilityZones",
"==",
"null",
")",
"{",
"this",
".",
"availabilityZones",
"=",
"null",
";",
"ret... | The list of available az.
@param availabilityZones
The list of available az. | [
"The",
"list",
"of",
"available",
"az",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-mq/src/main/java/com/amazonaws/services/mq/model/BrokerInstanceOption.java#L55-L62 |
19,907 | aws/aws-sdk-java | aws-java-sdk-mq/src/main/java/com/amazonaws/services/mq/model/BrokerInstanceOption.java | BrokerInstanceOption.setSupportedEngineVersions | public void setSupportedEngineVersions(java.util.Collection<String> supportedEngineVersions) {
if (supportedEngineVersions == null) {
this.supportedEngineVersions = null;
return;
}
this.supportedEngineVersions = new java.util.ArrayList<String>(supportedEngineVersions);
... | java | public void setSupportedEngineVersions(java.util.Collection<String> supportedEngineVersions) {
if (supportedEngineVersions == null) {
this.supportedEngineVersions = null;
return;
}
this.supportedEngineVersions = new java.util.ArrayList<String>(supportedEngineVersions);
... | [
"public",
"void",
"setSupportedEngineVersions",
"(",
"java",
".",
"util",
".",
"Collection",
"<",
"String",
">",
"supportedEngineVersions",
")",
"{",
"if",
"(",
"supportedEngineVersions",
"==",
"null",
")",
"{",
"this",
".",
"supportedEngineVersions",
"=",
"null",... | The list of supported engine versions.
@param supportedEngineVersions
The list of supported engine versions. | [
"The",
"list",
"of",
"supported",
"engine",
"versions",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-mq/src/main/java/com/amazonaws/services/mq/model/BrokerInstanceOption.java#L202-L209 |
19,908 | aws/aws-sdk-java | aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/S3ClientCache.java | S3ClientCache.cacheClient | private AmazonS3 cacheClient(String region) {
if (awscredentialsProvider == null) {
throw new IllegalArgumentException("No credentials provider found to connect to S3");
}
AmazonS3 client = new AmazonS3Client(awscredentialsProvider);
client.setRegion(RegionUtils.getRegion(reg... | java | private AmazonS3 cacheClient(String region) {
if (awscredentialsProvider == null) {
throw new IllegalArgumentException("No credentials provider found to connect to S3");
}
AmazonS3 client = new AmazonS3Client(awscredentialsProvider);
client.setRegion(RegionUtils.getRegion(reg... | [
"private",
"AmazonS3",
"cacheClient",
"(",
"String",
"region",
")",
"{",
"if",
"(",
"awscredentialsProvider",
"==",
"null",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"No credentials provider found to connect to S3\"",
")",
";",
"}",
"AmazonS3",
"cli... | Returns a new client with region configured to
region.
Also updates the clientsByRegion map by associating the
new client with region.
@param region
The region the returned {@link AmazonS3} will be
configured to use.
@return A new {@link AmazonS3} client with region set to region. | [
"Returns",
"a",
"new",
"client",
"with",
"region",
"configured",
"to",
"region",
".",
"Also",
"updates",
"the",
"clientsByRegion",
"map",
"by",
"associating",
"the",
"new",
"client",
"with",
"region",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/S3ClientCache.java#L147-L155 |
19,909 | aws/aws-sdk-java | aws-java-sdk-code-generator/src/main/java/com/amazonaws/codegen/customization/processors/EmitLegacyEnumSetterProcessor.java | EmitLegacyEnumSetterProcessor.assertShapeAndMembersAreInModel | private static void assertShapeAndMembersAreInModel(IntermediateModel model, Map<String, List<String>> shapeAndMembers) {
shapeAndMembers.forEach((shapeName, members) -> {
if (Utils.findShapeModelByC2jNameIfExists(model, shapeName) == null) {
throw new IllegalStateException(
... | java | private static void assertShapeAndMembersAreInModel(IntermediateModel model, Map<String, List<String>> shapeAndMembers) {
shapeAndMembers.forEach((shapeName, members) -> {
if (Utils.findShapeModelByC2jNameIfExists(model, shapeName) == null) {
throw new IllegalStateException(
... | [
"private",
"static",
"void",
"assertShapeAndMembersAreInModel",
"(",
"IntermediateModel",
"model",
",",
"Map",
"<",
"String",
",",
"List",
"<",
"String",
">",
">",
"shapeAndMembers",
")",
"{",
"shapeAndMembers",
".",
"forEach",
"(",
"(",
"shapeName",
",",
"membe... | Checks that all shapes and members in a given customization are actually in the model. Good to fail fast for things like
typos instead of silently not applying that customization.
@param model {@link IntermediateModel}
@param shapeAndMembers Shape and members referenced by customization. Map of String (shape... | [
"Checks",
"that",
"all",
"shapes",
"and",
"members",
"in",
"a",
"given",
"customization",
"are",
"actually",
"in",
"the",
"model",
".",
"Good",
"to",
"fail",
"fast",
"for",
"things",
"like",
"typos",
"instead",
"of",
"silently",
"not",
"applying",
"that",
... | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-code-generator/src/main/java/com/amazonaws/codegen/customization/processors/EmitLegacyEnumSetterProcessor.java#L75-L90 |
19,910 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.cancelImportTaskAsync | @Override
public java.util.concurrent.Future<CancelImportTaskResult> cancelImportTaskAsync(
com.amazonaws.handlers.AsyncHandler<CancelImportTaskRequest, CancelImportTaskResult> asyncHandler) {
return cancelImportTaskAsync(new CancelImportTaskRequest(), asyncHandler);
} | java | @Override
public java.util.concurrent.Future<CancelImportTaskResult> cancelImportTaskAsync(
com.amazonaws.handlers.AsyncHandler<CancelImportTaskRequest, CancelImportTaskResult> asyncHandler) {
return cancelImportTaskAsync(new CancelImportTaskRequest(), asyncHandler);
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"CancelImportTaskResult",
">",
"cancelImportTaskAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"CancelImportTaskRequest",
",",
"CancelImportTaskR... | Simplified method form for invoking the CancelImportTask operation with an AsyncHandler.
@see #cancelImportTaskAsync(CancelImportTaskRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"CancelImportTask",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L1407-L1412 |
19,911 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.createInternetGatewayAsync | @Override
public java.util.concurrent.Future<CreateInternetGatewayResult> createInternetGatewayAsync(
com.amazonaws.handlers.AsyncHandler<CreateInternetGatewayRequest, CreateInternetGatewayResult> asyncHandler) {
return createInternetGatewayAsync(new CreateInternetGatewayRequest(), asyncHandler... | java | @Override
public java.util.concurrent.Future<CreateInternetGatewayResult> createInternetGatewayAsync(
com.amazonaws.handlers.AsyncHandler<CreateInternetGatewayRequest, CreateInternetGatewayResult> asyncHandler) {
return createInternetGatewayAsync(new CreateInternetGatewayRequest(), asyncHandler... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"CreateInternetGatewayResult",
">",
"createInternetGatewayAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"CreateInternetGatewayRequest",
",",
"Cr... | Simplified method form for invoking the CreateInternetGateway operation with an AsyncHandler.
@see #createInternetGatewayAsync(CreateInternetGatewayRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"CreateInternetGateway",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L2126-L2131 |
19,912 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeAddressesAsync | @Override
public java.util.concurrent.Future<DescribeAddressesResult> describeAddressesAsync(
com.amazonaws.handlers.AsyncHandler<DescribeAddressesRequest, DescribeAddressesResult> asyncHandler) {
return describeAddressesAsync(new DescribeAddressesRequest(), asyncHandler);
} | java | @Override
public java.util.concurrent.Future<DescribeAddressesResult> describeAddressesAsync(
com.amazonaws.handlers.AsyncHandler<DescribeAddressesRequest, DescribeAddressesResult> asyncHandler) {
return describeAddressesAsync(new DescribeAddressesRequest(), asyncHandler);
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeAddressesResult",
">",
"describeAddressesAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeAddressesRequest",
",",
"DescribeAddres... | Simplified method form for invoking the DescribeAddresses operation with an AsyncHandler.
@see #describeAddressesAsync(DescribeAddressesRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeAddresses",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L4618-L4623 |
19,913 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeBundleTasksAsync | @Override
public java.util.concurrent.Future<DescribeBundleTasksResult> describeBundleTasksAsync(
com.amazonaws.handlers.AsyncHandler<DescribeBundleTasksRequest, DescribeBundleTasksResult> asyncHandler) {
return describeBundleTasksAsync(new DescribeBundleTasksRequest(), asyncHandler);
} | java | @Override
public java.util.concurrent.Future<DescribeBundleTasksResult> describeBundleTasksAsync(
com.amazonaws.handlers.AsyncHandler<DescribeBundleTasksRequest, DescribeBundleTasksResult> asyncHandler) {
return describeBundleTasksAsync(new DescribeBundleTasksRequest(), asyncHandler);
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeBundleTasksResult",
">",
"describeBundleTasksAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeBundleTasksRequest",
",",
"Describe... | Simplified method form for invoking the DescribeBundleTasks operation with an AsyncHandler.
@see #describeBundleTasksAsync(DescribeBundleTasksRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeBundleTasks",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L4763-L4768 |
19,914 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeConversionTasksAsync | @Override
public java.util.concurrent.Future<DescribeConversionTasksResult> describeConversionTasksAsync(
com.amazonaws.handlers.AsyncHandler<DescribeConversionTasksRequest, DescribeConversionTasksResult> asyncHandler) {
return describeConversionTasksAsync(new DescribeConversionTasksRequest(), ... | java | @Override
public java.util.concurrent.Future<DescribeConversionTasksResult> describeConversionTasksAsync(
com.amazonaws.handlers.AsyncHandler<DescribeConversionTasksRequest, DescribeConversionTasksResult> asyncHandler) {
return describeConversionTasksAsync(new DescribeConversionTasksRequest(), ... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeConversionTasksResult",
">",
"describeConversionTasksAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeConversionTasksRequest",
",",... | Simplified method form for invoking the DescribeConversionTasks operation with an AsyncHandler.
@see #describeConversionTasksAsync(DescribeConversionTasksRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeConversionTasks",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L5110-L5115 |
19,915 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeCustomerGatewaysAsync | @Override
public java.util.concurrent.Future<DescribeCustomerGatewaysResult> describeCustomerGatewaysAsync(
com.amazonaws.handlers.AsyncHandler<DescribeCustomerGatewaysRequest, DescribeCustomerGatewaysResult> asyncHandler) {
return describeCustomerGatewaysAsync(new DescribeCustomerGatewaysReque... | java | @Override
public java.util.concurrent.Future<DescribeCustomerGatewaysResult> describeCustomerGatewaysAsync(
com.amazonaws.handlers.AsyncHandler<DescribeCustomerGatewaysRequest, DescribeCustomerGatewaysResult> asyncHandler) {
return describeCustomerGatewaysAsync(new DescribeCustomerGatewaysReque... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeCustomerGatewaysResult",
">",
"describeCustomerGatewaysAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeCustomerGatewaysRequest",
"... | Simplified method form for invoking the DescribeCustomerGateways operation with an AsyncHandler.
@see #describeCustomerGatewaysAsync(DescribeCustomerGatewaysRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeCustomerGateways",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L5166-L5171 |
19,916 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeDhcpOptionsAsync | @Override
public java.util.concurrent.Future<DescribeDhcpOptionsResult> describeDhcpOptionsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeDhcpOptionsRequest, DescribeDhcpOptionsResult> asyncHandler) {
return describeDhcpOptionsAsync(new DescribeDhcpOptionsRequest(), asyncHandler);
} | java | @Override
public java.util.concurrent.Future<DescribeDhcpOptionsResult> describeDhcpOptionsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeDhcpOptionsRequest, DescribeDhcpOptionsResult> asyncHandler) {
return describeDhcpOptionsAsync(new DescribeDhcpOptionsRequest(), asyncHandler);
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeDhcpOptionsResult",
">",
"describeDhcpOptionsAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeDhcpOptionsRequest",
",",
"Describe... | Simplified method form for invoking the DescribeDhcpOptions operation with an AsyncHandler.
@see #describeDhcpOptionsAsync(DescribeDhcpOptionsRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeDhcpOptions",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L5222-L5227 |
19,917 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeFlowLogsAsync | @Override
public java.util.concurrent.Future<DescribeFlowLogsResult> describeFlowLogsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeFlowLogsRequest, DescribeFlowLogsResult> asyncHandler) {
return describeFlowLogsAsync(new DescribeFlowLogsRequest(), asyncHandler);
} | java | @Override
public java.util.concurrent.Future<DescribeFlowLogsResult> describeFlowLogsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeFlowLogsRequest, DescribeFlowLogsResult> asyncHandler) {
return describeFlowLogsAsync(new DescribeFlowLogsRequest(), asyncHandler);
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeFlowLogsResult",
">",
"describeFlowLogsAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeFlowLogsRequest",
",",
"DescribeFlowLogsR... | Simplified method form for invoking the DescribeFlowLogs operation with an AsyncHandler.
@see #describeFlowLogsAsync(DescribeFlowLogsRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeFlowLogs",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L5501-L5506 |
19,918 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeIdFormatAsync | @Override
public java.util.concurrent.Future<DescribeIdFormatResult> describeIdFormatAsync(
com.amazonaws.handlers.AsyncHandler<DescribeIdFormatRequest, DescribeIdFormatResult> asyncHandler) {
return describeIdFormatAsync(new DescribeIdFormatRequest(), asyncHandler);
} | java | @Override
public java.util.concurrent.Future<DescribeIdFormatResult> describeIdFormatAsync(
com.amazonaws.handlers.AsyncHandler<DescribeIdFormatRequest, DescribeIdFormatResult> asyncHandler) {
return describeIdFormatAsync(new DescribeIdFormatRequest(), asyncHandler);
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeIdFormatResult",
">",
"describeIdFormatAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeIdFormatRequest",
",",
"DescribeIdFormatR... | Simplified method form for invoking the DescribeIdFormat operation with an AsyncHandler.
@see #describeIdFormatAsync(DescribeIdFormatRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeIdFormat",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L5782-L5787 |
19,919 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeInstanceStatusAsync | @Override
public java.util.concurrent.Future<DescribeInstanceStatusResult> describeInstanceStatusAsync(
com.amazonaws.handlers.AsyncHandler<DescribeInstanceStatusRequest, DescribeInstanceStatusResult> asyncHandler) {
return describeInstanceStatusAsync(new DescribeInstanceStatusRequest(), asyncH... | java | @Override
public java.util.concurrent.Future<DescribeInstanceStatusResult> describeInstanceStatusAsync(
com.amazonaws.handlers.AsyncHandler<DescribeInstanceStatusRequest, DescribeInstanceStatusResult> asyncHandler) {
return describeInstanceStatusAsync(new DescribeInstanceStatusRequest(), asyncH... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeInstanceStatusResult",
">",
"describeInstanceStatusAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeInstanceStatusRequest",
",",
... | Simplified method form for invoking the DescribeInstanceStatus operation with an AsyncHandler.
@see #describeInstanceStatusAsync(DescribeInstanceStatusRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeInstanceStatus",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L6140-L6145 |
19,920 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeInternetGatewaysAsync | @Override
public java.util.concurrent.Future<DescribeInternetGatewaysResult> describeInternetGatewaysAsync(
com.amazonaws.handlers.AsyncHandler<DescribeInternetGatewaysRequest, DescribeInternetGatewaysResult> asyncHandler) {
return describeInternetGatewaysAsync(new DescribeInternetGatewaysReque... | java | @Override
public java.util.concurrent.Future<DescribeInternetGatewaysResult> describeInternetGatewaysAsync(
com.amazonaws.handlers.AsyncHandler<DescribeInternetGatewaysRequest, DescribeInternetGatewaysResult> asyncHandler) {
return describeInternetGatewaysAsync(new DescribeInternetGatewaysReque... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeInternetGatewaysResult",
">",
"describeInternetGatewaysAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeInternetGatewaysRequest",
"... | Simplified method form for invoking the DescribeInternetGateways operation with an AsyncHandler.
@see #describeInternetGatewaysAsync(DescribeInternetGatewaysRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeInternetGateways",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L6252-L6257 |
19,921 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeKeyPairsAsync | @Override
public java.util.concurrent.Future<DescribeKeyPairsResult> describeKeyPairsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeKeyPairsRequest, DescribeKeyPairsResult> asyncHandler) {
return describeKeyPairsAsync(new DescribeKeyPairsRequest(), asyncHandler);
} | java | @Override
public java.util.concurrent.Future<DescribeKeyPairsResult> describeKeyPairsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeKeyPairsRequest, DescribeKeyPairsResult> asyncHandler) {
return describeKeyPairsAsync(new DescribeKeyPairsRequest(), asyncHandler);
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeKeyPairsResult",
">",
"describeKeyPairsAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeKeyPairsRequest",
",",
"DescribeKeyPairsR... | Simplified method form for invoking the DescribeKeyPairs operation with an AsyncHandler.
@see #describeKeyPairsAsync(DescribeKeyPairsRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeKeyPairs",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L6308-L6313 |
19,922 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeNetworkInterfacesAsync | @Override
public java.util.concurrent.Future<DescribeNetworkInterfacesResult> describeNetworkInterfacesAsync(
com.amazonaws.handlers.AsyncHandler<DescribeNetworkInterfacesRequest, DescribeNetworkInterfacesResult> asyncHandler) {
return describeNetworkInterfacesAsync(new DescribeNetworkInterface... | java | @Override
public java.util.concurrent.Future<DescribeNetworkInterfacesResult> describeNetworkInterfacesAsync(
com.amazonaws.handlers.AsyncHandler<DescribeNetworkInterfacesRequest, DescribeNetworkInterfacesResult> asyncHandler) {
return describeNetworkInterfacesAsync(new DescribeNetworkInterface... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeNetworkInterfacesResult",
">",
"describeNetworkInterfacesAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeNetworkInterfacesRequest",
... | Simplified method form for invoking the DescribeNetworkInterfaces operation with an AsyncHandler.
@see #describeNetworkInterfacesAsync(DescribeNetworkInterfacesRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeNetworkInterfaces",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L6646-L6651 |
19,923 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeRegionsAsync | @Override
public java.util.concurrent.Future<DescribeRegionsResult> describeRegionsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeRegionsRequest, DescribeRegionsResult> asyncHandler) {
return describeRegionsAsync(new DescribeRegionsRequest(), asyncHandler);
} | java | @Override
public java.util.concurrent.Future<DescribeRegionsResult> describeRegionsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeRegionsRequest, DescribeRegionsResult> asyncHandler) {
return describeRegionsAsync(new DescribeRegionsRequest(), asyncHandler);
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeRegionsResult",
">",
"describeRegionsAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeRegionsRequest",
",",
"DescribeRegionsResul... | Simplified method form for invoking the DescribeRegions operation with an AsyncHandler.
@see #describeRegionsAsync(DescribeRegionsRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeRegions",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L6880-L6885 |
19,924 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeReservedInstancesListingsAsync | @Override
public java.util.concurrent.Future<DescribeReservedInstancesListingsResult> describeReservedInstancesListingsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeReservedInstancesListingsRequest, DescribeReservedInstancesListingsResult> asyncHandler) {
return describeReservedInstancesLi... | java | @Override
public java.util.concurrent.Future<DescribeReservedInstancesListingsResult> describeReservedInstancesListingsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeReservedInstancesListingsRequest, DescribeReservedInstancesListingsResult> asyncHandler) {
return describeReservedInstancesLi... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeReservedInstancesListingsResult",
">",
"describeReservedInstancesListingsAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeReservedIns... | Simplified method form for invoking the DescribeReservedInstancesListings operation with an AsyncHandler.
@see #describeReservedInstancesListingsAsync(DescribeReservedInstancesListingsRequest,
com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeReservedInstancesListings",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L6995-L7000 |
19,925 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeReservedInstancesOfferingsAsync | @Override
public java.util.concurrent.Future<DescribeReservedInstancesOfferingsResult> describeReservedInstancesOfferingsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeReservedInstancesOfferingsRequest, DescribeReservedInstancesOfferingsResult> asyncHandler) {
return describeReservedInstanc... | java | @Override
public java.util.concurrent.Future<DescribeReservedInstancesOfferingsResult> describeReservedInstancesOfferingsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeReservedInstancesOfferingsRequest, DescribeReservedInstancesOfferingsResult> asyncHandler) {
return describeReservedInstanc... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeReservedInstancesOfferingsResult",
">",
"describeReservedInstancesOfferingsAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeReservedI... | Simplified method form for invoking the DescribeReservedInstancesOfferings operation with an AsyncHandler.
@see #describeReservedInstancesOfferingsAsync(DescribeReservedInstancesOfferingsRequest,
com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeReservedInstancesOfferings",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L7113-L7118 |
19,926 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeSecurityGroupsAsync | @Override
public java.util.concurrent.Future<DescribeSecurityGroupsResult> describeSecurityGroupsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeSecurityGroupsRequest, DescribeSecurityGroupsResult> asyncHandler) {
return describeSecurityGroupsAsync(new DescribeSecurityGroupsRequest(), asyncH... | java | @Override
public java.util.concurrent.Future<DescribeSecurityGroupsResult> describeSecurityGroupsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeSecurityGroupsRequest, DescribeSecurityGroupsResult> asyncHandler) {
return describeSecurityGroupsAsync(new DescribeSecurityGroupsRequest(), asyncH... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeSecurityGroupsResult",
">",
"describeSecurityGroupsAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeSecurityGroupsRequest",
",",
... | Simplified method form for invoking the DescribeSecurityGroups operation with an AsyncHandler.
@see #describeSecurityGroupsAsync(DescribeSecurityGroupsRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeSecurityGroups",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L7328-L7333 |
19,927 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeSubnetsAsync | @Override
public java.util.concurrent.Future<DescribeSubnetsResult> describeSubnetsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeSubnetsRequest, DescribeSubnetsResult> asyncHandler) {
return describeSubnetsAsync(new DescribeSubnetsRequest(), asyncHandler);
} | java | @Override
public java.util.concurrent.Future<DescribeSubnetsResult> describeSubnetsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeSubnetsRequest, DescribeSubnetsResult> asyncHandler) {
return describeSubnetsAsync(new DescribeSubnetsRequest(), asyncHandler);
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeSubnetsResult",
">",
"describeSubnetsAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeSubnetsRequest",
",",
"DescribeSubnetsResul... | Simplified method form for invoking the DescribeSubnets operation with an AsyncHandler.
@see #describeSubnetsAsync(DescribeSubnetsRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeSubnets",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L7801-L7806 |
19,928 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeVpcEndpointsAsync | @Override
public java.util.concurrent.Future<DescribeVpcEndpointsResult> describeVpcEndpointsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeVpcEndpointsRequest, DescribeVpcEndpointsResult> asyncHandler) {
return describeVpcEndpointsAsync(new DescribeVpcEndpointsRequest(), asyncHandler);
... | java | @Override
public java.util.concurrent.Future<DescribeVpcEndpointsResult> describeVpcEndpointsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeVpcEndpointsRequest, DescribeVpcEndpointsResult> asyncHandler) {
return describeVpcEndpointsAsync(new DescribeVpcEndpointsRequest(), asyncHandler);
... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeVpcEndpointsResult",
">",
"describeVpcEndpointsAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeVpcEndpointsRequest",
",",
"Descr... | Simplified method form for invoking the DescribeVpcEndpoints operation with an AsyncHandler.
@see #describeVpcEndpointsAsync(DescribeVpcEndpointsRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeVpcEndpoints",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L8548-L8553 |
19,929 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.describeVpnConnectionsAsync | @Override
public java.util.concurrent.Future<DescribeVpnConnectionsResult> describeVpnConnectionsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeVpnConnectionsRequest, DescribeVpnConnectionsResult> asyncHandler) {
return describeVpnConnectionsAsync(new DescribeVpnConnectionsRequest(), asyncH... | java | @Override
public java.util.concurrent.Future<DescribeVpnConnectionsResult> describeVpnConnectionsAsync(
com.amazonaws.handlers.AsyncHandler<DescribeVpnConnectionsRequest, DescribeVpnConnectionsResult> asyncHandler) {
return describeVpnConnectionsAsync(new DescribeVpnConnectionsRequest(), asyncH... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DescribeVpnConnectionsResult",
">",
"describeVpnConnectionsAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DescribeVpnConnectionsRequest",
",",
... | Simplified method form for invoking the DescribeVpnConnections operation with an AsyncHandler.
@see #describeVpnConnectionsAsync(DescribeVpnConnectionsRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DescribeVpnConnections",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L8718-L8723 |
19,930 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.revokeSecurityGroupIngressAsync | @Override
@Deprecated
public java.util.concurrent.Future<RevokeSecurityGroupIngressResult> revokeSecurityGroupIngressAsync() {
return revokeSecurityGroupIngressAsync(new RevokeSecurityGroupIngressRequest());
} | java | @Override
@Deprecated
public java.util.concurrent.Future<RevokeSecurityGroupIngressResult> revokeSecurityGroupIngressAsync() {
return revokeSecurityGroupIngressAsync(new RevokeSecurityGroupIngressRequest());
} | [
"@",
"Override",
"@",
"Deprecated",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"RevokeSecurityGroupIngressResult",
">",
"revokeSecurityGroupIngressAsync",
"(",
")",
"{",
"return",
"revokeSecurityGroupIngressAsync",
"(",
"new",
"RevokeSecurityG... | Simplified method form for invoking the RevokeSecurityGroupIngress operation.
@see #revokeSecurityGroupIngressAsync(RevokeSecurityGroupIngressRequest) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"RevokeSecurityGroupIngress",
"operation",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L12150-L12155 |
19,931 | aws/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java | AmazonEC2AsyncClient.revokeSecurityGroupIngressAsync | @Override
@Deprecated
public java.util.concurrent.Future<RevokeSecurityGroupIngressResult> revokeSecurityGroupIngressAsync(
com.amazonaws.handlers.AsyncHandler<RevokeSecurityGroupIngressRequest, RevokeSecurityGroupIngressResult> asyncHandler) {
return revokeSecurityGroupIngressAsync(new Rev... | java | @Override
@Deprecated
public java.util.concurrent.Future<RevokeSecurityGroupIngressResult> revokeSecurityGroupIngressAsync(
com.amazonaws.handlers.AsyncHandler<RevokeSecurityGroupIngressRequest, RevokeSecurityGroupIngressResult> asyncHandler) {
return revokeSecurityGroupIngressAsync(new Rev... | [
"@",
"Override",
"@",
"Deprecated",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"RevokeSecurityGroupIngressResult",
">",
"revokeSecurityGroupIngressAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"RevokeSecu... | Simplified method form for invoking the RevokeSecurityGroupIngress operation with an AsyncHandler.
@see #revokeSecurityGroupIngressAsync(RevokeSecurityGroupIngressRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"RevokeSecurityGroupIngress",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2AsyncClient.java#L12162-L12168 |
19,932 | aws/aws-sdk-java | aws-java-sdk-code-generator/src/main/java/com/amazonaws/codegen/emitters/CodeWriter.java | CodeWriter.flush | @Override
public void flush() {
PrintWriter out = null;
try {
try {
out = new PrintWriter(Utils.createFile(dir, file), "UTF-8");
} catch (Exception e) {
throw new RuntimeException(e);
}
String contents = getBuffer().toS... | java | @Override
public void flush() {
PrintWriter out = null;
try {
try {
out = new PrintWriter(Utils.createFile(dir, file), "UTF-8");
} catch (Exception e) {
throw new RuntimeException(e);
}
String contents = getBuffer().toS... | [
"@",
"Override",
"public",
"void",
"flush",
"(",
")",
"{",
"PrintWriter",
"out",
"=",
"null",
";",
"try",
"{",
"try",
"{",
"out",
"=",
"new",
"PrintWriter",
"(",
"Utils",
".",
"createFile",
"(",
"dir",
",",
"file",
")",
",",
"\"UTF-8\"",
")",
";",
... | This method is expected to be called only once during the code generation process after the
template processing is done. | [
"This",
"method",
"is",
"expected",
"to",
"be",
"called",
"only",
"once",
"during",
"the",
"code",
"generation",
"process",
"after",
"the",
"template",
"processing",
"is",
"done",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-code-generator/src/main/java/com/amazonaws/codegen/emitters/CodeWriter.java#L87-L102 |
19,933 | aws/aws-sdk-java | aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/DeviceDefinitionVersion.java | DeviceDefinitionVersion.setDevices | public void setDevices(java.util.Collection<Device> devices) {
if (devices == null) {
this.devices = null;
return;
}
this.devices = new java.util.ArrayList<Device>(devices);
} | java | public void setDevices(java.util.Collection<Device> devices) {
if (devices == null) {
this.devices = null;
return;
}
this.devices = new java.util.ArrayList<Device>(devices);
} | [
"public",
"void",
"setDevices",
"(",
"java",
".",
"util",
".",
"Collection",
"<",
"Device",
">",
"devices",
")",
"{",
"if",
"(",
"devices",
"==",
"null",
")",
"{",
"this",
".",
"devices",
"=",
"null",
";",
"return",
";",
"}",
"this",
".",
"devices",
... | A list of devices in the definition version.
@param devices
A list of devices in the definition version. | [
"A",
"list",
"of",
"devices",
"in",
"the",
"definition",
"version",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/DeviceDefinitionVersion.java#L49-L56 |
19,934 | aws/aws-sdk-java | aws-java-sdk-stepfunctions/src/main/java/com/amazonaws/services/stepfunctions/builder/internal/validation/ProblemReporter.java | ProblemReporter.getException | public ValidationException getException() {
StringBuilder exceptionMessage = new StringBuilder();
for (Problem problem : problems) {
exceptionMessage.append(String.format("\n%s: %s", problem.getContext().getPath(), problem.getMessage()));
}
return new ValidationException(exce... | java | public ValidationException getException() {
StringBuilder exceptionMessage = new StringBuilder();
for (Problem problem : problems) {
exceptionMessage.append(String.format("\n%s: %s", problem.getContext().getPath(), problem.getMessage()));
}
return new ValidationException(exce... | [
"public",
"ValidationException",
"getException",
"(",
")",
"{",
"StringBuilder",
"exceptionMessage",
"=",
"new",
"StringBuilder",
"(",
")",
";",
"for",
"(",
"Problem",
"problem",
":",
"problems",
")",
"{",
"exceptionMessage",
".",
"append",
"(",
"String",
".",
... | Factory method to create an exception with all problems identified in the message.
@return ValidationException. | [
"Factory",
"method",
"to",
"create",
"an",
"exception",
"with",
"all",
"problems",
"identified",
"in",
"the",
"message",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-stepfunctions/src/main/java/com/amazonaws/services/stepfunctions/builder/internal/validation/ProblemReporter.java#L46-L52 |
19,935 | aws/aws-sdk-java | aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/AmazonCodeDeployAsyncClient.java | AmazonCodeDeployAsyncClient.listApplicationsAsync | @Override
public java.util.concurrent.Future<ListApplicationsResult> listApplicationsAsync(
com.amazonaws.handlers.AsyncHandler<ListApplicationsRequest, ListApplicationsResult> asyncHandler) {
return listApplicationsAsync(new ListApplicationsRequest(), asyncHandler);
} | java | @Override
public java.util.concurrent.Future<ListApplicationsResult> listApplicationsAsync(
com.amazonaws.handlers.AsyncHandler<ListApplicationsRequest, ListApplicationsResult> asyncHandler) {
return listApplicationsAsync(new ListApplicationsRequest(), asyncHandler);
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"ListApplicationsResult",
">",
"listApplicationsAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"ListApplicationsRequest",
",",
"ListApplicationsR... | Simplified method form for invoking the ListApplications operation with an AsyncHandler.
@see #listApplicationsAsync(ListApplicationsRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"ListApplications",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/AmazonCodeDeployAsyncClient.java#L1350-L1355 |
19,936 | aws/aws-sdk-java | aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/AmazonCodeDeployAsyncClient.java | AmazonCodeDeployAsyncClient.listDeploymentsAsync | @Override
public java.util.concurrent.Future<ListDeploymentsResult> listDeploymentsAsync(
com.amazonaws.handlers.AsyncHandler<ListDeploymentsRequest, ListDeploymentsResult> asyncHandler) {
return listDeploymentsAsync(new ListDeploymentsRequest(), asyncHandler);
} | java | @Override
public java.util.concurrent.Future<ListDeploymentsResult> listDeploymentsAsync(
com.amazonaws.handlers.AsyncHandler<ListDeploymentsRequest, ListDeploymentsResult> asyncHandler) {
return listDeploymentsAsync(new ListDeploymentsRequest(), asyncHandler);
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"ListDeploymentsResult",
">",
"listDeploymentsAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"ListDeploymentsRequest",
",",
"ListDeploymentsResul... | Simplified method form for invoking the ListDeployments operation with an AsyncHandler.
@see #listDeploymentsAsync(ListDeploymentsRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"ListDeployments",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/AmazonCodeDeployAsyncClient.java#L1563-L1568 |
19,937 | aws/aws-sdk-java | aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/AmazonCodeDeployAsyncClient.java | AmazonCodeDeployAsyncClient.listOnPremisesInstancesAsync | @Override
public java.util.concurrent.Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(
com.amazonaws.handlers.AsyncHandler<ListOnPremisesInstancesRequest, ListOnPremisesInstancesResult> asyncHandler) {
return listOnPremisesInstancesAsync(new ListOnPremisesInstancesRequest(), ... | java | @Override
public java.util.concurrent.Future<ListOnPremisesInstancesResult> listOnPremisesInstancesAsync(
com.amazonaws.handlers.AsyncHandler<ListOnPremisesInstancesRequest, ListOnPremisesInstancesResult> asyncHandler) {
return listOnPremisesInstancesAsync(new ListOnPremisesInstancesRequest(), ... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"ListOnPremisesInstancesResult",
">",
"listOnPremisesInstancesAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"ListOnPremisesInstancesRequest",
",",... | Simplified method form for invoking the ListOnPremisesInstances operation with an AsyncHandler.
@see #listOnPremisesInstancesAsync(ListOnPremisesInstancesRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"ListOnPremisesInstances",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/AmazonCodeDeployAsyncClient.java#L1652-L1657 |
19,938 | aws/aws-sdk-java | aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/AmazonCodeDeployAsyncClient.java | AmazonCodeDeployAsyncClient.updateApplicationAsync | @Override
public java.util.concurrent.Future<UpdateApplicationResult> updateApplicationAsync(
com.amazonaws.handlers.AsyncHandler<UpdateApplicationRequest, UpdateApplicationResult> asyncHandler) {
return updateApplicationAsync(new UpdateApplicationRequest(), asyncHandler);
} | java | @Override
public java.util.concurrent.Future<UpdateApplicationResult> updateApplicationAsync(
com.amazonaws.handlers.AsyncHandler<UpdateApplicationRequest, UpdateApplicationResult> asyncHandler) {
return updateApplicationAsync(new UpdateApplicationRequest(), asyncHandler);
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"UpdateApplicationResult",
">",
"updateApplicationAsync",
"(",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"UpdateApplicationRequest",
",",
"UpdateApplicat... | Simplified method form for invoking the UpdateApplication operation with an AsyncHandler.
@see #updateApplicationAsync(UpdateApplicationRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"UpdateApplication",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/AmazonCodeDeployAsyncClient.java#L1914-L1919 |
19,939 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/message/HttpException.java | HttpException.trySlurpContent | private static String trySlurpContent(HttpResponse response) {
try {
return IOUtils.toString(response.getEntity().getContent());
} catch (IOException e) {
return "";
}
} | java | private static String trySlurpContent(HttpResponse response) {
try {
return IOUtils.toString(response.getEntity().getContent());
} catch (IOException e) {
return "";
}
} | [
"private",
"static",
"String",
"trySlurpContent",
"(",
"HttpResponse",
"response",
")",
"{",
"try",
"{",
"return",
"IOUtils",
".",
"toString",
"(",
"response",
".",
"getEntity",
"(",
")",
".",
"getContent",
"(",
")",
")",
";",
"}",
"catch",
"(",
"IOExcepti... | Tries to read all the content from the HTTP response into a string. If an IO failure occurs while reading content,
empty string is returned instead.
@param response Response to slurp content for.
@return String containing response content, empty string if failure occurs. | [
"Tries",
"to",
"read",
"all",
"the",
"content",
"from",
"the",
"HTTP",
"response",
"into",
"a",
"string",
".",
"If",
"an",
"IO",
"failure",
"occurs",
"while",
"reading",
"content",
"empty",
"string",
"is",
"returned",
"instead",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/message/HttpException.java#L50-L56 |
19,940 | aws/aws-sdk-java | aws-java-sdk-rdsdata/src/main/java/com/amazonaws/services/rdsdata/model/StructValue.java | StructValue.setAttributes | public void setAttributes(java.util.Collection<Value> attributes) {
if (attributes == null) {
this.attributes = null;
return;
}
this.attributes = new java.util.ArrayList<Value>(attributes);
} | java | public void setAttributes(java.util.Collection<Value> attributes) {
if (attributes == null) {
this.attributes = null;
return;
}
this.attributes = new java.util.ArrayList<Value>(attributes);
} | [
"public",
"void",
"setAttributes",
"(",
"java",
".",
"util",
".",
"Collection",
"<",
"Value",
">",
"attributes",
")",
"{",
"if",
"(",
"attributes",
"==",
"null",
")",
"{",
"this",
".",
"attributes",
"=",
"null",
";",
"return",
";",
"}",
"this",
".",
... | Struct or UDT
@param attributes
Struct or UDT | [
"Struct",
"or",
"UDT"
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-rdsdata/src/main/java/com/amazonaws/services/rdsdata/model/StructValue.java#L49-L56 |
19,941 | aws/aws-sdk-java | aws-java-sdk-code-generator/src/main/java/com/amazonaws/codegen/utils/ModelLoaderUtils.java | ModelLoaderUtils.loadConfigurationModel | public static <T> T loadConfigurationModel(Class<T> clzz, String configurationFileLocation) {
System.out.println("Loading config file " + configurationFileLocation);
InputStream fileContents = null;
try {
fileContents = getRequiredResourceAsStream(configurationFileLocation);
... | java | public static <T> T loadConfigurationModel(Class<T> clzz, String configurationFileLocation) {
System.out.println("Loading config file " + configurationFileLocation);
InputStream fileContents = null;
try {
fileContents = getRequiredResourceAsStream(configurationFileLocation);
... | [
"public",
"static",
"<",
"T",
">",
"T",
"loadConfigurationModel",
"(",
"Class",
"<",
"T",
">",
"clzz",
",",
"String",
"configurationFileLocation",
")",
"{",
"System",
".",
"out",
".",
"println",
"(",
"\"Loading config file \"",
"+",
"configurationFileLocation",
... | Deserialize the contents of a given configuration file.
@param clzz Class to deserialize into
@param configurationFileLocation Location of config file to load
@return Marshalled configuration class | [
"Deserialize",
"the",
"contents",
"of",
"a",
"given",
"configuration",
"file",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-code-generator/src/main/java/com/amazonaws/codegen/utils/ModelLoaderUtils.java#L39-L53 |
19,942 | aws/aws-sdk-java | aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/AddFlowOutputsRequest.java | AddFlowOutputsRequest.setOutputs | public void setOutputs(java.util.Collection<AddOutputRequest> outputs) {
if (outputs == null) {
this.outputs = null;
return;
}
this.outputs = new java.util.ArrayList<AddOutputRequest>(outputs);
} | java | public void setOutputs(java.util.Collection<AddOutputRequest> outputs) {
if (outputs == null) {
this.outputs = null;
return;
}
this.outputs = new java.util.ArrayList<AddOutputRequest>(outputs);
} | [
"public",
"void",
"setOutputs",
"(",
"java",
".",
"util",
".",
"Collection",
"<",
"AddOutputRequest",
">",
"outputs",
")",
"{",
"if",
"(",
"outputs",
"==",
"null",
")",
"{",
"this",
".",
"outputs",
"=",
"null",
";",
"return",
";",
"}",
"this",
".",
"... | A list of outputs that you want to add.
@param outputs
A list of outputs that you want to add. | [
"A",
"list",
"of",
"outputs",
"that",
"you",
"want",
"to",
"add",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/AddFlowOutputsRequest.java#L85-L92 |
19,943 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/UploadPartRequest.java | UploadPartRequest.setProgressListener | @Deprecated
public void setProgressListener(com.amazonaws.services.s3.model.ProgressListener progressListener) {
setGeneralProgressListener(new LegacyS3ProgressListener(progressListener));
} | java | @Deprecated
public void setProgressListener(com.amazonaws.services.s3.model.ProgressListener progressListener) {
setGeneralProgressListener(new LegacyS3ProgressListener(progressListener));
} | [
"@",
"Deprecated",
"public",
"void",
"setProgressListener",
"(",
"com",
".",
"amazonaws",
".",
"services",
".",
"s3",
".",
"model",
".",
"ProgressListener",
"progressListener",
")",
"{",
"setGeneralProgressListener",
"(",
"new",
"LegacyS3ProgressListener",
"(",
"pro... | Sets the optional progress listener for receiving updates about object
upload status.
@param progressListener
The legacy progress listener that is used exclusively for Amazon S3 client.
@deprecated use {@link #setGeneralProgressListener(ProgressListener)} instead. | [
"Sets",
"the",
"optional",
"progress",
"listener",
"for",
"receiving",
"updates",
"about",
"object",
"upload",
"status",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/UploadPartRequest.java#L491-L494 |
19,944 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/UploadPartRequest.java | UploadPartRequest.getProgressListener | @Deprecated
public com.amazonaws.services.s3.model.ProgressListener getProgressListener() {
ProgressListener generalProgressListener = getGeneralProgressListener();
if (generalProgressListener instanceof LegacyS3ProgressListener) {
return ((LegacyS3ProgressListener)generalProgressListene... | java | @Deprecated
public com.amazonaws.services.s3.model.ProgressListener getProgressListener() {
ProgressListener generalProgressListener = getGeneralProgressListener();
if (generalProgressListener instanceof LegacyS3ProgressListener) {
return ((LegacyS3ProgressListener)generalProgressListene... | [
"@",
"Deprecated",
"public",
"com",
".",
"amazonaws",
".",
"services",
".",
"s3",
".",
"model",
".",
"ProgressListener",
"getProgressListener",
"(",
")",
"{",
"ProgressListener",
"generalProgressListener",
"=",
"getGeneralProgressListener",
"(",
")",
";",
"if",
"(... | Returns the optional progress listener for receiving updates about object
upload status.
@return the optional progress listener for receiving updates about object
upload status.
@deprecated use {@link #getGeneralProgressListener()} instead. | [
"Returns",
"the",
"optional",
"progress",
"listener",
"for",
"receiving",
"updates",
"about",
"object",
"upload",
"status",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/UploadPartRequest.java#L505-L513 |
19,945 | aws/aws-sdk-java | aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/ChannelsResponse.java | ChannelsResponse.withChannels | public ChannelsResponse withChannels(java.util.Map<String, ChannelResponse> channels) {
setChannels(channels);
return this;
} | java | public ChannelsResponse withChannels(java.util.Map<String, ChannelResponse> channels) {
setChannels(channels);
return this;
} | [
"public",
"ChannelsResponse",
"withChannels",
"(",
"java",
".",
"util",
".",
"Map",
"<",
"String",
",",
"ChannelResponse",
">",
"channels",
")",
"{",
"setChannels",
"(",
"channels",
")",
";",
"return",
"this",
";",
"}"
] | A map of channels, with the ChannelType as the key and the Channel as the value.
@param channels
A map of channels, with the ChannelType as the key and the Channel as the value.
@return Returns a reference to this object so that method calls can be chained together. | [
"A",
"map",
"of",
"channels",
"with",
"the",
"ChannelType",
"as",
"the",
"key",
"and",
"the",
"Channel",
"as",
"the",
"value",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/ChannelsResponse.java#L61-L64 |
19,946 | aws/aws-sdk-java | aws-java-sdk-acmpca/src/main/java/com/amazonaws/services/acmpca/waiters/AWSACMPCAWaiters.java | AWSACMPCAWaiters.certificateIssued | public Waiter<GetCertificateRequest> certificateIssued() {
return new WaiterBuilder<GetCertificateRequest, GetCertificateResult>().withSdkFunction(new GetCertificateFunction(client))
.withAcceptors(new HttpSuccessStatusAcceptor(WaiterState.SUCCESS), new CertificateIssued.IsRequestInProgressExce... | java | public Waiter<GetCertificateRequest> certificateIssued() {
return new WaiterBuilder<GetCertificateRequest, GetCertificateResult>().withSdkFunction(new GetCertificateFunction(client))
.withAcceptors(new HttpSuccessStatusAcceptor(WaiterState.SUCCESS), new CertificateIssued.IsRequestInProgressExce... | [
"public",
"Waiter",
"<",
"GetCertificateRequest",
">",
"certificateIssued",
"(",
")",
"{",
"return",
"new",
"WaiterBuilder",
"<",
"GetCertificateRequest",
",",
"GetCertificateResult",
">",
"(",
")",
".",
"withSdkFunction",
"(",
"new",
"GetCertificateFunction",
"(",
... | Builds a CertificateIssued waiter by using custom parameters waiterParameters and other parameters defined in the
waiters specification, and then polls until it determines whether the resource entered the desired state or not,
where polling criteria is bound by either default polling strategy or custom polling strategy... | [
"Builds",
"a",
"CertificateIssued",
"waiter",
"by",
"using",
"custom",
"parameters",
"waiterParameters",
"and",
"other",
"parameters",
"defined",
"in",
"the",
"waiters",
"specification",
"and",
"then",
"polls",
"until",
"it",
"determines",
"whether",
"the",
"resourc... | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-acmpca/src/main/java/com/amazonaws/services/acmpca/waiters/AWSACMPCAWaiters.java#L51-L57 |
19,947 | aws/aws-sdk-java | aws-java-sdk-acmpca/src/main/java/com/amazonaws/services/acmpca/waiters/AWSACMPCAWaiters.java | AWSACMPCAWaiters.auditReportCreated | public Waiter<DescribeCertificateAuthorityAuditReportRequest> auditReportCreated() {
return new WaiterBuilder<DescribeCertificateAuthorityAuditReportRequest, DescribeCertificateAuthorityAuditReportResult>()
.withSdkFunction(new DescribeCertificateAuthorityAuditReportFunction(client))
... | java | public Waiter<DescribeCertificateAuthorityAuditReportRequest> auditReportCreated() {
return new WaiterBuilder<DescribeCertificateAuthorityAuditReportRequest, DescribeCertificateAuthorityAuditReportResult>()
.withSdkFunction(new DescribeCertificateAuthorityAuditReportFunction(client))
... | [
"public",
"Waiter",
"<",
"DescribeCertificateAuthorityAuditReportRequest",
">",
"auditReportCreated",
"(",
")",
"{",
"return",
"new",
"WaiterBuilder",
"<",
"DescribeCertificateAuthorityAuditReportRequest",
",",
"DescribeCertificateAuthorityAuditReportResult",
">",
"(",
")",
"."... | Builds a AuditReportCreated waiter by using custom parameters waiterParameters and other parameters defined in
the waiters specification, and then polls until it determines whether the resource entered the desired state or
not, where polling criteria is bound by either default polling strategy or custom polling strateg... | [
"Builds",
"a",
"AuditReportCreated",
"waiter",
"by",
"using",
"custom",
"parameters",
"waiterParameters",
"and",
"other",
"parameters",
"defined",
"in",
"the",
"waiters",
"specification",
"and",
"then",
"polls",
"until",
"it",
"determines",
"whether",
"the",
"resour... | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-acmpca/src/main/java/com/amazonaws/services/acmpca/waiters/AWSACMPCAWaiters.java#L64-L71 |
19,948 | aws/aws-sdk-java | aws-java-sdk-acmpca/src/main/java/com/amazonaws/services/acmpca/waiters/AWSACMPCAWaiters.java | AWSACMPCAWaiters.certificateAuthorityCSRCreated | public Waiter<GetCertificateAuthorityCsrRequest> certificateAuthorityCSRCreated() {
return new WaiterBuilder<GetCertificateAuthorityCsrRequest, GetCertificateAuthorityCsrResult>()
.withSdkFunction(new GetCertificateAuthorityCsrFunction(client))
.withAcceptors(new HttpSuccessStat... | java | public Waiter<GetCertificateAuthorityCsrRequest> certificateAuthorityCSRCreated() {
return new WaiterBuilder<GetCertificateAuthorityCsrRequest, GetCertificateAuthorityCsrResult>()
.withSdkFunction(new GetCertificateAuthorityCsrFunction(client))
.withAcceptors(new HttpSuccessStat... | [
"public",
"Waiter",
"<",
"GetCertificateAuthorityCsrRequest",
">",
"certificateAuthorityCSRCreated",
"(",
")",
"{",
"return",
"new",
"WaiterBuilder",
"<",
"GetCertificateAuthorityCsrRequest",
",",
"GetCertificateAuthorityCsrResult",
">",
"(",
")",
".",
"withSdkFunction",
"(... | Builds a CertificateAuthorityCSRCreated waiter by using custom parameters waiterParameters and other parameters
defined in the waiters specification, and then polls until it determines whether the resource entered the desired
state or not, where polling criteria is bound by either default polling strategy or custom pol... | [
"Builds",
"a",
"CertificateAuthorityCSRCreated",
"waiter",
"by",
"using",
"custom",
"parameters",
"waiterParameters",
"and",
"other",
"parameters",
"defined",
"in",
"the",
"waiters",
"specification",
"and",
"then",
"polls",
"until",
"it",
"determines",
"whether",
"the... | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-acmpca/src/main/java/com/amazonaws/services/acmpca/waiters/AWSACMPCAWaiters.java#L78-L85 |
19,949 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/util/SignatureChecker.java | SignatureChecker.verifyMessageSignature | public boolean verifyMessageSignature(String message, PublicKey publicKey) {
// extract the type and signature parameters
Map<String, String> parsed = parseJSON(message);
return verifySignature(parsed, publicKey);
} | java | public boolean verifyMessageSignature(String message, PublicKey publicKey) {
// extract the type and signature parameters
Map<String, String> parsed = parseJSON(message);
return verifySignature(parsed, publicKey);
} | [
"public",
"boolean",
"verifyMessageSignature",
"(",
"String",
"message",
",",
"PublicKey",
"publicKey",
")",
"{",
"// extract the type and signature parameters",
"Map",
"<",
"String",
",",
"String",
">",
"parsed",
"=",
"parseJSON",
"(",
"message",
")",
";",
"return"... | Validates the signature on a Simple Notification Service message. No
Amazon-specific dependencies, just plain Java crypto and Jackson for
parsing
@param message
A JSON-encoded Simple Notification Service message. Note: the
JSON may be only one level deep.
@param publicKey
The Simple Notification Service public key, ex... | [
"Validates",
"the",
"signature",
"on",
"a",
"Simple",
"Notification",
"Service",
"message",
".",
"No",
"Amazon",
"-",
"specific",
"dependencies",
"just",
"plain",
"Java",
"crypto",
"and",
"Jackson",
"for",
"parsing"
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/util/SignatureChecker.java#L91-L97 |
19,950 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/util/SignatureChecker.java | SignatureChecker.verifySignature | public boolean verifySignature(Map<String, String> parsedMessage, PublicKey publicKey) {
boolean valid = false;
String version = parsedMessage.get(SIGNATURE_VERSION);
if (version.equals("1")) {
// construct the canonical signed string
String type = parsedMessage.get(TYPE)... | java | public boolean verifySignature(Map<String, String> parsedMessage, PublicKey publicKey) {
boolean valid = false;
String version = parsedMessage.get(SIGNATURE_VERSION);
if (version.equals("1")) {
// construct the canonical signed string
String type = parsedMessage.get(TYPE)... | [
"public",
"boolean",
"verifySignature",
"(",
"Map",
"<",
"String",
",",
"String",
">",
"parsedMessage",
",",
"PublicKey",
"publicKey",
")",
"{",
"boolean",
"valid",
"=",
"false",
";",
"String",
"version",
"=",
"parsedMessage",
".",
"get",
"(",
"SIGNATURE_VERSI... | Validates the signature on a Simple Notification Service message. No
Amazon-specific dependencies, just plain Java crypto
@param parsedMessage
A map of Simple Notification Service message.
@param publicKey
The Simple Notification Service public key, exactly as you'd
see it when retrieved from the cert.
@return True i... | [
"Validates",
"the",
"signature",
"on",
"a",
"Simple",
"Notification",
"Service",
"message",
".",
"No",
"Amazon",
"-",
"specific",
"dependencies",
"just",
"plain",
"Java",
"crypto"
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/util/SignatureChecker.java#L111-L131 |
19,951 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/util/SignatureChecker.java | SignatureChecker.verifySignature | public boolean verifySignature(String message, String signature, PublicKey publicKey){
boolean result = false;
try {
byte[] sigbytes = Base64.decode(signature.getBytes());
Signature sigChecker = SIG_CHECKER.get();
sigChecker.initVerify(publicKey);
sigCheck... | java | public boolean verifySignature(String message, String signature, PublicKey publicKey){
boolean result = false;
try {
byte[] sigbytes = Base64.decode(signature.getBytes());
Signature sigChecker = SIG_CHECKER.get();
sigChecker.initVerify(publicKey);
sigCheck... | [
"public",
"boolean",
"verifySignature",
"(",
"String",
"message",
",",
"String",
"signature",
",",
"PublicKey",
"publicKey",
")",
"{",
"boolean",
"result",
"=",
"false",
";",
"try",
"{",
"byte",
"[",
"]",
"sigbytes",
"=",
"Base64",
".",
"decode",
"(",
"sig... | Does the actual Java cryptographic verification of the signature. This
method does no handling of the many rare exceptions it is required to
catch.
This can also be used to verify the signature from the x-amz-sns-signature http header
@param message
Exact string that was signed. In the case of the x-amz-sns-signatur... | [
"Does",
"the",
"actual",
"Java",
"cryptographic",
"verification",
"of",
"the",
"signature",
".",
"This",
"method",
"does",
"no",
"handling",
"of",
"the",
"many",
"rare",
"exceptions",
"it",
"is",
"required",
"to",
"catch",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/util/SignatureChecker.java#L147-L161 |
19,952 | aws/aws-sdk-java | aws-java-sdk-ses/src/main/java/com/amazonaws/services/simpleemail/waiters/AmazonSimpleEmailServiceWaiters.java | AmazonSimpleEmailServiceWaiters.identityExists | public Waiter<GetIdentityVerificationAttributesRequest> identityExists() {
return new WaiterBuilder<GetIdentityVerificationAttributesRequest, GetIdentityVerificationAttributesResult>()
.withSdkFunction(new GetIdentityVerificationAttributesFunction(client)).withAcceptors(new IdentityExists.IsSuc... | java | public Waiter<GetIdentityVerificationAttributesRequest> identityExists() {
return new WaiterBuilder<GetIdentityVerificationAttributesRequest, GetIdentityVerificationAttributesResult>()
.withSdkFunction(new GetIdentityVerificationAttributesFunction(client)).withAcceptors(new IdentityExists.IsSuc... | [
"public",
"Waiter",
"<",
"GetIdentityVerificationAttributesRequest",
">",
"identityExists",
"(",
")",
"{",
"return",
"new",
"WaiterBuilder",
"<",
"GetIdentityVerificationAttributesRequest",
",",
"GetIdentityVerificationAttributesResult",
">",
"(",
")",
".",
"withSdkFunction",... | Builds a IdentityExists waiter by using custom parameters waiterParameters and other parameters defined in the
waiters specification, and then polls until it determines whether the resource entered the desired state or not,
where polling criteria is bound by either default polling strategy or custom polling strategy. | [
"Builds",
"a",
"IdentityExists",
"waiter",
"by",
"using",
"custom",
"parameters",
"waiterParameters",
"and",
"other",
"parameters",
"defined",
"in",
"the",
"waiters",
"specification",
"and",
"then",
"polls",
"until",
"it",
"determines",
"whether",
"the",
"resource",... | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-ses/src/main/java/com/amazonaws/services/simpleemail/waiters/AmazonSimpleEmailServiceWaiters.java#L51-L57 |
19,953 | aws/aws-sdk-java | aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/PublicEndpoint.java | PublicEndpoint.withMetrics | public PublicEndpoint withMetrics(java.util.Map<String, Double> metrics) {
setMetrics(metrics);
return this;
} | java | public PublicEndpoint withMetrics(java.util.Map<String, Double> metrics) {
setMetrics(metrics);
return this;
} | [
"public",
"PublicEndpoint",
"withMetrics",
"(",
"java",
".",
"util",
".",
"Map",
"<",
"String",
",",
"Double",
">",
"metrics",
")",
"{",
"setMetrics",
"(",
"metrics",
")",
";",
"return",
"this",
";",
"}"
] | Custom metrics that your app reports to Amazon Pinpoint.
@param metrics
Custom metrics that your app reports to Amazon Pinpoint.
@return Returns a reference to this object so that method calls can be chained together. | [
"Custom",
"metrics",
"that",
"your",
"app",
"reports",
"to",
"Amazon",
"Pinpoint",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/PublicEndpoint.java#L410-L413 |
19,954 | aws/aws-sdk-java | aws-java-sdk-core/src/main/java/com/amazonaws/transform/StaxUnmarshallerContext.java | StaxUnmarshallerContext.readText | public String readText() throws XMLStreamException {
if (isInsideResponseHeader()) {
return getHeader(currentHeader);
}
if (currentEvent.isAttribute()) {
Attribute attribute = (Attribute)currentEvent;
return attribute.getValue();
}
StringBuild... | java | public String readText() throws XMLStreamException {
if (isInsideResponseHeader()) {
return getHeader(currentHeader);
}
if (currentEvent.isAttribute()) {
Attribute attribute = (Attribute)currentEvent;
return attribute.getValue();
}
StringBuild... | [
"public",
"String",
"readText",
"(",
")",
"throws",
"XMLStreamException",
"{",
"if",
"(",
"isInsideResponseHeader",
"(",
")",
")",
"{",
"return",
"getHeader",
"(",
"currentHeader",
")",
";",
"}",
"if",
"(",
"currentEvent",
".",
"isAttribute",
"(",
")",
")",
... | Returns the text contents of the current element being parsed.
@return The text contents of the current element being parsed.
@throws XMLStreamException | [
"Returns",
"the",
"text",
"contents",
"of",
"the",
"current",
"element",
"being",
"parsed",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-core/src/main/java/com/amazonaws/transform/StaxUnmarshallerContext.java#L109-L130 |
19,955 | aws/aws-sdk-java | aws-java-sdk-core/src/main/java/com/amazonaws/transform/StaxUnmarshallerContext.java | StaxUnmarshallerContext.nextEvent | public XMLEvent nextEvent() throws XMLStreamException {
if (attributeIterator != null && attributeIterator.hasNext()) {
currentEvent = (XMLEvent)attributeIterator.next();
} else {
currentEvent = eventReader.nextEvent();
}
if (currentEvent.isStartElement()) {
... | java | public XMLEvent nextEvent() throws XMLStreamException {
if (attributeIterator != null && attributeIterator.hasNext()) {
currentEvent = (XMLEvent)attributeIterator.next();
} else {
currentEvent = eventReader.nextEvent();
}
if (currentEvent.isStartElement()) {
... | [
"public",
"XMLEvent",
"nextEvent",
"(",
")",
"throws",
"XMLStreamException",
"{",
"if",
"(",
"attributeIterator",
"!=",
"null",
"&&",
"attributeIterator",
".",
"hasNext",
"(",
")",
")",
"{",
"currentEvent",
"=",
"(",
"XMLEvent",
")",
"attributeIterator",
".",
... | Returns the next XML event for the document being parsed.
@return The next XML event for the document being parsed.
@throws XMLStreamException | [
"Returns",
"the",
"next",
"XML",
"event",
"for",
"the",
"document",
"being",
"parsed",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-core/src/main/java/com/amazonaws/transform/StaxUnmarshallerContext.java#L206-L231 |
19,956 | aws/aws-sdk-java | aws-java-sdk-core/src/main/java/com/amazonaws/transform/StaxUnmarshallerContext.java | StaxUnmarshallerContext.registerMetadataExpression | public void registerMetadataExpression(String expression, int targetDepth, String storageKey) {
metadataExpressions.add(new MetadataExpression(expression, targetDepth, storageKey));
} | java | public void registerMetadataExpression(String expression, int targetDepth, String storageKey) {
metadataExpressions.add(new MetadataExpression(expression, targetDepth, storageKey));
} | [
"public",
"void",
"registerMetadataExpression",
"(",
"String",
"expression",
",",
"int",
"targetDepth",
",",
"String",
"storageKey",
")",
"{",
"metadataExpressions",
".",
"add",
"(",
"new",
"MetadataExpression",
"(",
"expression",
",",
"targetDepth",
",",
"storageKe... | Registers an expression, which if matched, will cause the data for the
matching element to be stored in the metadata map under the specified
key.
@param expression
The expression an element must match in order for it's data to
be pulled out and stored in the metadata map.
@param targetDepth
The depth in the XML docume... | [
"Registers",
"an",
"expression",
"which",
"if",
"matched",
"will",
"cause",
"the",
"data",
"for",
"the",
"matching",
"element",
"to",
"be",
"stored",
"in",
"the",
"metadata",
"map",
"under",
"the",
"specified",
"key",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-core/src/main/java/com/amazonaws/transform/StaxUnmarshallerContext.java#L258-L260 |
19,957 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/CopyCallable.java | CopyCallable.copyInOneChunk | private CopyResult copyInOneChunk() {
CopyObjectResult copyObjectResult = s3.copyObject(copyObjectRequest);
CopyResult copyResult = new CopyResult();
copyResult.setSourceBucketName(copyObjectRequest.getSourceBucketName());
copyResult.setSourceKey(copyObjectRequest.getSourceKey());
... | java | private CopyResult copyInOneChunk() {
CopyObjectResult copyObjectResult = s3.copyObject(copyObjectRequest);
CopyResult copyResult = new CopyResult();
copyResult.setSourceBucketName(copyObjectRequest.getSourceBucketName());
copyResult.setSourceKey(copyObjectRequest.getSourceKey());
... | [
"private",
"CopyResult",
"copyInOneChunk",
"(",
")",
"{",
"CopyObjectResult",
"copyObjectResult",
"=",
"s3",
".",
"copyObject",
"(",
"copyObjectRequest",
")",
";",
"CopyResult",
"copyResult",
"=",
"new",
"CopyResult",
"(",
")",
";",
"copyResult",
".",
"setSourceBu... | Performs the copy of the Amazon S3 object from source bucket to
destination bucket. The Amazon S3 object is copied to destination in one
single request.
@returns CopyResult response information from the server. | [
"Performs",
"the",
"copy",
"of",
"the",
"Amazon",
"S3",
"object",
"from",
"source",
"bucket",
"to",
"destination",
"bucket",
".",
"The",
"Amazon",
"S3",
"object",
"is",
"copied",
"to",
"destination",
"in",
"one",
"single",
"request",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/CopyCallable.java#L144-L156 |
19,958 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/CopyCallable.java | CopyCallable.getOptimalPartSize | private long getOptimalPartSize(long contentLengthOfSource) {
long optimalPartSize = TransferManagerUtils
.calculateOptimalPartSizeForCopy(copyObjectRequest,
configuration, contentLengthOfSource);
log.debug("Calculated optimal part size: " + optimalPartSize);
... | java | private long getOptimalPartSize(long contentLengthOfSource) {
long optimalPartSize = TransferManagerUtils
.calculateOptimalPartSizeForCopy(copyObjectRequest,
configuration, contentLengthOfSource);
log.debug("Calculated optimal part size: " + optimalPartSize);
... | [
"private",
"long",
"getOptimalPartSize",
"(",
"long",
"contentLengthOfSource",
")",
"{",
"long",
"optimalPartSize",
"=",
"TransferManagerUtils",
".",
"calculateOptimalPartSizeForCopy",
"(",
"copyObjectRequest",
",",
"configuration",
",",
"contentLengthOfSource",
")",
";",
... | Computes and returns the optimal part size for the copy operation. | [
"Computes",
"and",
"returns",
"the",
"optimal",
"part",
"size",
"for",
"the",
"copy",
"operation",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/CopyCallable.java#L187-L194 |
19,959 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/CopyCallable.java | CopyCallable.copyPartsInParallel | private void copyPartsInParallel(CopyPartRequestFactory requestFactory) {
while (requestFactory.hasMoreRequests()) {
if (threadPool.isShutdown())
throw new CancellationException(
"TransferManager has been shutdown");
CopyPartRequest request = reque... | java | private void copyPartsInParallel(CopyPartRequestFactory requestFactory) {
while (requestFactory.hasMoreRequests()) {
if (threadPool.isShutdown())
throw new CancellationException(
"TransferManager has been shutdown");
CopyPartRequest request = reque... | [
"private",
"void",
"copyPartsInParallel",
"(",
"CopyPartRequestFactory",
"requestFactory",
")",
"{",
"while",
"(",
"requestFactory",
".",
"hasMoreRequests",
"(",
")",
")",
"{",
"if",
"(",
"threadPool",
".",
"isShutdown",
"(",
")",
")",
"throw",
"new",
"Cancellat... | Submits a callable for each part to be copied to our thread pool and
records its corresponding Future. | [
"Submits",
"a",
"callable",
"for",
"each",
"part",
"to",
"be",
"copied",
"to",
"our",
"thread",
"pool",
"and",
"records",
"its",
"corresponding",
"Future",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/CopyCallable.java#L200-L208 |
19,960 | aws/aws-sdk-java | aws-java-sdk-medialive/src/main/java/com/amazonaws/services/medialive/model/RemixSettings.java | RemixSettings.setChannelMappings | public void setChannelMappings(java.util.Collection<AudioChannelMapping> channelMappings) {
if (channelMappings == null) {
this.channelMappings = null;
return;
}
this.channelMappings = new java.util.ArrayList<AudioChannelMapping>(channelMappings);
} | java | public void setChannelMappings(java.util.Collection<AudioChannelMapping> channelMappings) {
if (channelMappings == null) {
this.channelMappings = null;
return;
}
this.channelMappings = new java.util.ArrayList<AudioChannelMapping>(channelMappings);
} | [
"public",
"void",
"setChannelMappings",
"(",
"java",
".",
"util",
".",
"Collection",
"<",
"AudioChannelMapping",
">",
"channelMappings",
")",
"{",
"if",
"(",
"channelMappings",
"==",
"null",
")",
"{",
"this",
".",
"channelMappings",
"=",
"null",
";",
"return",... | Mapping of input channels to output channels, with appropriate gain adjustments.
@param channelMappings
Mapping of input channels to output channels, with appropriate gain adjustments. | [
"Mapping",
"of",
"input",
"channels",
"to",
"output",
"channels",
"with",
"appropriate",
"gain",
"adjustments",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-medialive/src/main/java/com/amazonaws/services/medialive/model/RemixSettings.java#L55-L62 |
19,961 | aws/aws-sdk-java | aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/StandardModelFactories.java | StandardModelFactories.rulesOf | private static final <T> RuleFactory<T> rulesOf(DynamoDBMapperConfig config, S3Link.Factory s3Links, DynamoDBMapperModelFactory models) {
final boolean ver1 = (config.getConversionSchema() == ConversionSchemas.V1);
final boolean ver2 = (config.getConversionSchema() == ConversionSchemas.V2);
fina... | java | private static final <T> RuleFactory<T> rulesOf(DynamoDBMapperConfig config, S3Link.Factory s3Links, DynamoDBMapperModelFactory models) {
final boolean ver1 = (config.getConversionSchema() == ConversionSchemas.V1);
final boolean ver2 = (config.getConversionSchema() == ConversionSchemas.V2);
fina... | [
"private",
"static",
"final",
"<",
"T",
">",
"RuleFactory",
"<",
"T",
">",
"rulesOf",
"(",
"DynamoDBMapperConfig",
"config",
",",
"S3Link",
".",
"Factory",
"s3Links",
",",
"DynamoDBMapperModelFactory",
"models",
")",
"{",
"final",
"boolean",
"ver1",
"=",
"(",
... | Creates a new set of conversion rules based on the configuration. | [
"Creates",
"a",
"new",
"set",
"of",
"conversion",
"rules",
"based",
"on",
"the",
"configuration",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-dynamodb/src/main/java/com/amazonaws/services/dynamodbv2/datamodeling/StandardModelFactories.java#L155-L181 |
19,962 | aws/aws-sdk-java | aws-java-sdk-medialive/src/main/java/com/amazonaws/services/medialive/model/BatchScheduleActionCreateRequest.java | BatchScheduleActionCreateRequest.setScheduleActions | public void setScheduleActions(java.util.Collection<ScheduleAction> scheduleActions) {
if (scheduleActions == null) {
this.scheduleActions = null;
return;
}
this.scheduleActions = new java.util.ArrayList<ScheduleAction>(scheduleActions);
} | java | public void setScheduleActions(java.util.Collection<ScheduleAction> scheduleActions) {
if (scheduleActions == null) {
this.scheduleActions = null;
return;
}
this.scheduleActions = new java.util.ArrayList<ScheduleAction>(scheduleActions);
} | [
"public",
"void",
"setScheduleActions",
"(",
"java",
".",
"util",
".",
"Collection",
"<",
"ScheduleAction",
">",
"scheduleActions",
")",
"{",
"if",
"(",
"scheduleActions",
"==",
"null",
")",
"{",
"this",
".",
"scheduleActions",
"=",
"null",
";",
"return",
";... | A list of schedule actions to create.
@param scheduleActions
A list of schedule actions to create. | [
"A",
"list",
"of",
"schedule",
"actions",
"to",
"create",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-medialive/src/main/java/com/amazonaws/services/medialive/model/BatchScheduleActionCreateRequest.java#L49-L56 |
19,963 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/internal/crypto/CipherLite.java | CipherLite.recreate | CipherLite recreate() {
return scheme.createCipherLite(secreteKey, cipher.getIV(),
this.cipherMode, cipher.getProvider(), true);
} | java | CipherLite recreate() {
return scheme.createCipherLite(secreteKey, cipher.getIV(),
this.cipherMode, cipher.getProvider(), true);
} | [
"CipherLite",
"recreate",
"(",
")",
"{",
"return",
"scheme",
".",
"createCipherLite",
"(",
"secreteKey",
",",
"cipher",
".",
"getIV",
"(",
")",
",",
"this",
".",
"cipherMode",
",",
"cipher",
".",
"getProvider",
"(",
")",
",",
"true",
")",
";",
"}"
] | Recreates a new instance of CipherLite from the current one. | [
"Recreates",
"a",
"new",
"instance",
"of",
"CipherLite",
"from",
"the",
"current",
"one",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/internal/crypto/CipherLite.java#L87-L90 |
19,964 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/internal/crypto/CipherLite.java | CipherLite.createUsingIV | CipherLite createUsingIV(byte[] iv) {
return scheme.createCipherLite(secreteKey, iv, this.cipherMode,
cipher.getProvider(), true);
} | java | CipherLite createUsingIV(byte[] iv) {
return scheme.createCipherLite(secreteKey, iv, this.cipherMode,
cipher.getProvider(), true);
} | [
"CipherLite",
"createUsingIV",
"(",
"byte",
"[",
"]",
"iv",
")",
"{",
"return",
"scheme",
".",
"createCipherLite",
"(",
"secreteKey",
",",
"iv",
",",
"this",
".",
"cipherMode",
",",
"cipher",
".",
"getProvider",
"(",
")",
",",
"true",
")",
";",
"}"
] | Creates a new instance of CipherLite from the current one, but using
the given IV. | [
"Creates",
"a",
"new",
"instance",
"of",
"CipherLite",
"from",
"the",
"current",
"one",
"but",
"using",
"the",
"given",
"IV",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/internal/crypto/CipherLite.java#L96-L99 |
19,965 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/internal/crypto/CipherLite.java | CipherLite.doFinal | byte[] doFinal(byte[] input, int inputOffset, int inputLen)
throws IllegalBlockSizeException, BadPaddingException {
return cipher.doFinal(input, inputOffset, inputLen);
} | java | byte[] doFinal(byte[] input, int inputOffset, int inputLen)
throws IllegalBlockSizeException, BadPaddingException {
return cipher.doFinal(input, inputOffset, inputLen);
} | [
"byte",
"[",
"]",
"doFinal",
"(",
"byte",
"[",
"]",
"input",
",",
"int",
"inputOffset",
",",
"int",
"inputLen",
")",
"throws",
"IllegalBlockSizeException",
",",
"BadPaddingException",
"{",
"return",
"cipher",
".",
"doFinal",
"(",
"input",
",",
"inputOffset",
... | Encrypts or decrypts data in a single-part operation, or finishes a
multiple-part operation. The data is encrypted or decrypted, depending on
how the underlying cipher was initialized.
<p>
The first <code>inputLen</code> bytes in the <code>input</code> buffer,
starting at <code>inputOffset</code> inclusive, and any in... | [
"Encrypts",
"or",
"decrypts",
"data",
"in",
"a",
"single",
"-",
"part",
"operation",
"or",
"finishes",
"a",
"multiple",
"-",
"part",
"operation",
".",
"The",
"data",
"is",
"encrypted",
"or",
"decrypted",
"depending",
"on",
"how",
"the",
"underlying",
"cipher... | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/internal/crypto/CipherLite.java#L263-L266 |
19,966 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferManagerUtils.java | TransferManagerUtils.createDefaultExecutorService | public static ThreadPoolExecutor createDefaultExecutorService() {
ThreadFactory threadFactory = new ThreadFactory() {
private int threadCount = 1;
public Thread newThread(Runnable r) {
Thread thread = new Thread(r);
thread.setName("s3-transfer-manager-wor... | java | public static ThreadPoolExecutor createDefaultExecutorService() {
ThreadFactory threadFactory = new ThreadFactory() {
private int threadCount = 1;
public Thread newThread(Runnable r) {
Thread thread = new Thread(r);
thread.setName("s3-transfer-manager-wor... | [
"public",
"static",
"ThreadPoolExecutor",
"createDefaultExecutorService",
"(",
")",
"{",
"ThreadFactory",
"threadFactory",
"=",
"new",
"ThreadFactory",
"(",
")",
"{",
"private",
"int",
"threadCount",
"=",
"1",
";",
"public",
"Thread",
"newThread",
"(",
"Runnable",
... | Returns a new thread pool configured with the default settings.
@return A new thread pool configured with the default settings. | [
"Returns",
"a",
"new",
"thread",
"pool",
"configured",
"with",
"the",
"default",
"settings",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferManagerUtils.java#L49-L60 |
19,967 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferManagerUtils.java | TransferManagerUtils.getContentLength | public static long getContentLength(PutObjectRequest putObjectRequest) {
File file = getRequestFile(putObjectRequest);
if (file != null) return file.length();
if (putObjectRequest.getInputStream() != null) {
if (putObjectRequest.getMetadata().getContentLength() > 0) {
... | java | public static long getContentLength(PutObjectRequest putObjectRequest) {
File file = getRequestFile(putObjectRequest);
if (file != null) return file.length();
if (putObjectRequest.getInputStream() != null) {
if (putObjectRequest.getMetadata().getContentLength() > 0) {
... | [
"public",
"static",
"long",
"getContentLength",
"(",
"PutObjectRequest",
"putObjectRequest",
")",
"{",
"File",
"file",
"=",
"getRequestFile",
"(",
"putObjectRequest",
")",
";",
"if",
"(",
"file",
"!=",
"null",
")",
"return",
"file",
".",
"length",
"(",
")",
... | Returns the size of the data in this request, otherwise -1 if the content
length is unknown.
@param putObjectRequest
The request to check.
@return The size of the data in this request, otherwise -1 if the size of
the data is unknown. | [
"Returns",
"the",
"size",
"of",
"the",
"data",
"in",
"this",
"request",
"otherwise",
"-",
"1",
"if",
"the",
"content",
"length",
"is",
"unknown",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferManagerUtils.java#L93-L104 |
19,968 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferManagerUtils.java | TransferManagerUtils.calculateOptimalPartSize | public static long calculateOptimalPartSize(PutObjectRequest putObjectRequest, TransferManagerConfiguration configuration) {
double contentLength = TransferManagerUtils.getContentLength(putObjectRequest);
double optimalPartSize = (double)contentLength / (double)MAXIMUM_UPLOAD_PARTS;
// round up ... | java | public static long calculateOptimalPartSize(PutObjectRequest putObjectRequest, TransferManagerConfiguration configuration) {
double contentLength = TransferManagerUtils.getContentLength(putObjectRequest);
double optimalPartSize = (double)contentLength / (double)MAXIMUM_UPLOAD_PARTS;
// round up ... | [
"public",
"static",
"long",
"calculateOptimalPartSize",
"(",
"PutObjectRequest",
"putObjectRequest",
",",
"TransferManagerConfiguration",
"configuration",
")",
"{",
"double",
"contentLength",
"=",
"TransferManagerUtils",
".",
"getContentLength",
"(",
"putObjectRequest",
")",
... | Returns the optimal part size, in bytes, for each individual part upload
in a multipart upload.
@param putObjectRequest
The request containing all the details of the upload.
@param configuration
Configuration values to use when calculating size.
@return The optimal part size, in bytes, for each individual part upload... | [
"Returns",
"the",
"optimal",
"part",
"size",
"in",
"bytes",
"for",
"each",
"individual",
"part",
"upload",
"in",
"a",
"multipart",
"upload",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferManagerUtils.java#L118-L124 |
19,969 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferManagerUtils.java | TransferManagerUtils.getRequestFile | public static File getRequestFile(final PutObjectRequest putObjectRequest) {
if (putObjectRequest.getFile() != null) return putObjectRequest.getFile();
return null;
} | java | public static File getRequestFile(final PutObjectRequest putObjectRequest) {
if (putObjectRequest.getFile() != null) return putObjectRequest.getFile();
return null;
} | [
"public",
"static",
"File",
"getRequestFile",
"(",
"final",
"PutObjectRequest",
"putObjectRequest",
")",
"{",
"if",
"(",
"putObjectRequest",
".",
"getFile",
"(",
")",
"!=",
"null",
")",
"return",
"putObjectRequest",
".",
"getFile",
"(",
")",
";",
"return",
"nu... | Convenience method for getting the file specified in a request. | [
"Convenience",
"method",
"for",
"getting",
"the",
"file",
"specified",
"in",
"a",
"request",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferManagerUtils.java#L148-L151 |
19,970 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferManagerUtils.java | TransferManagerUtils.calculateOptimalPartSizeForCopy | public static long calculateOptimalPartSizeForCopy(
CopyObjectRequest copyObjectRequest,
TransferManagerConfiguration configuration,
long contentLengthOfSource) {
double optimalPartSize = (double) contentLengthOfSource
/ (double) MAXIMUM_UPLOAD_PARTS;
... | java | public static long calculateOptimalPartSizeForCopy(
CopyObjectRequest copyObjectRequest,
TransferManagerConfiguration configuration,
long contentLengthOfSource) {
double optimalPartSize = (double) contentLengthOfSource
/ (double) MAXIMUM_UPLOAD_PARTS;
... | [
"public",
"static",
"long",
"calculateOptimalPartSizeForCopy",
"(",
"CopyObjectRequest",
"copyObjectRequest",
",",
"TransferManagerConfiguration",
"configuration",
",",
"long",
"contentLengthOfSource",
")",
"{",
"double",
"optimalPartSize",
"=",
"(",
"double",
")",
"content... | Calculates the optimal part size of each part request if the copy
operation is carried out as multi-part copy.
@param copyObjectRequest
the original request.
@param configuration
configuration containing the default part size.
@param contentLengthOfSource
content length of the Amazon S3 object.
@return the optimal par... | [
"Calculates",
"the",
"optimal",
"part",
"size",
"of",
"each",
"part",
"request",
"if",
"the",
"copy",
"operation",
"is",
"carried",
"out",
"as",
"multi",
"-",
"part",
"copy",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferManagerUtils.java#L165-L175 |
19,971 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferManagerUtils.java | TransferManagerUtils.determinePauseStatus | public static PauseStatus determinePauseStatus(TransferState transferState,
boolean forceCancel) {
if (forceCancel) {
if (transferState == TransferState.Waiting) {
return PauseStatus.CANCELLED_BEFORE_START;
} else if (transferState == TransferState.InProgress... | java | public static PauseStatus determinePauseStatus(TransferState transferState,
boolean forceCancel) {
if (forceCancel) {
if (transferState == TransferState.Waiting) {
return PauseStatus.CANCELLED_BEFORE_START;
} else if (transferState == TransferState.InProgress... | [
"public",
"static",
"PauseStatus",
"determinePauseStatus",
"(",
"TransferState",
"transferState",
",",
"boolean",
"forceCancel",
")",
"{",
"if",
"(",
"forceCancel",
")",
"{",
"if",
"(",
"transferState",
"==",
"TransferState",
".",
"Waiting",
")",
"{",
"return",
... | Determines the pause status based on the current state of transfer. | [
"Determines",
"the",
"pause",
"status",
"based",
"on",
"the",
"current",
"state",
"of",
"transfer",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferManagerUtils.java#L180-L194 |
19,972 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferManagerUtils.java | TransferManagerUtils.isDownloadParallelizable | public static boolean isDownloadParallelizable(final AmazonS3 s3, final GetObjectRequest getObjectRequest,
Integer partCount) {
ValidationUtils.assertNotNull(s3, "S3 client");
ValidationUtils.assertNotNull(getObjectRequest, "GetObjectRequest");
if (s3 instanceof AmazonS3Encryption |... | java | public static boolean isDownloadParallelizable(final AmazonS3 s3, final GetObjectRequest getObjectRequest,
Integer partCount) {
ValidationUtils.assertNotNull(s3, "S3 client");
ValidationUtils.assertNotNull(getObjectRequest, "GetObjectRequest");
if (s3 instanceof AmazonS3Encryption |... | [
"public",
"static",
"boolean",
"isDownloadParallelizable",
"(",
"final",
"AmazonS3",
"s3",
",",
"final",
"GetObjectRequest",
"getObjectRequest",
",",
"Integer",
"partCount",
")",
"{",
"ValidationUtils",
".",
"assertNotNull",
"(",
"s3",
",",
"\"S3 client\"",
")",
";"... | Returns true if the specified download request can use parallel part
downloads for increased performance.
@param getObjectRequest
The request to check.
@param s3
The Amazon s3 client.
@return True if this request can use parallel part downloads. | [
"Returns",
"true",
"if",
"the",
"specified",
"download",
"request",
"can",
"use",
"parallel",
"part",
"downloads",
"for",
"increased",
"performance",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferManagerUtils.java#L208-L218 |
19,973 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferManagerUtils.java | TransferManagerUtils.getContentLengthFromContentRange | public static Long getContentLengthFromContentRange(ObjectMetadata metadata) {
ValidationUtils.assertNotNull(metadata, "Object metadata");
String contentRange = (String) metadata.getRawMetadataValue(Headers.CONTENT_RANGE);
if (contentRange != null) {
try {
String[] ... | java | public static Long getContentLengthFromContentRange(ObjectMetadata metadata) {
ValidationUtils.assertNotNull(metadata, "Object metadata");
String contentRange = (String) metadata.getRawMetadataValue(Headers.CONTENT_RANGE);
if (contentRange != null) {
try {
String[] ... | [
"public",
"static",
"Long",
"getContentLengthFromContentRange",
"(",
"ObjectMetadata",
"metadata",
")",
"{",
"ValidationUtils",
".",
"assertNotNull",
"(",
"metadata",
",",
"\"Object metadata\"",
")",
";",
"String",
"contentRange",
"=",
"(",
"String",
")",
"metadata",
... | Returns the content length of the object if response contains the Content-Range header
and is well formed.
If the Content-Range header is missing or header is malformed or content length is missing in the header value,
then a null value is returned.
<b>Note: If there is exception parsing the value, the exception is lo... | [
"Returns",
"the",
"content",
"length",
"of",
"the",
"object",
"if",
"response",
"contains",
"the",
"Content",
"-",
"Range",
"header",
"and",
"is",
"well",
"formed",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/TransferManagerUtils.java#L233-L249 |
19,974 | aws/aws-sdk-java | jmespath-java/src/main/java/com/amazonaws/jmespath/JmesPathEvaluationVisitor.java | JmesPathEvaluationVisitor.visit | @Override
public JsonNode visit(JmesPathSubExpression subExpression, JsonNode input) throws InvalidTypeException {
JsonNode prelimnaryResult = subExpression.getExpressions().get(0).accept(this, input);
for (int i = 1; i < subExpression.getExpressions().size(); i++) {
prelimnaryResult = s... | java | @Override
public JsonNode visit(JmesPathSubExpression subExpression, JsonNode input) throws InvalidTypeException {
JsonNode prelimnaryResult = subExpression.getExpressions().get(0).accept(this, input);
for (int i = 1; i < subExpression.getExpressions().size(); i++) {
prelimnaryResult = s... | [
"@",
"Override",
"public",
"JsonNode",
"visit",
"(",
"JmesPathSubExpression",
"subExpression",
",",
"JsonNode",
"input",
")",
"throws",
"InvalidTypeException",
"{",
"JsonNode",
"prelimnaryResult",
"=",
"subExpression",
".",
"getExpressions",
"(",
")",
".",
"get",
"(... | Evaluates a subexpression by evaluating the expression on
the left with the original JSON document and then evaluating
the expression on the right with the result of the left
expression evaluation.
@param subExpression JmesPath subexpression type
@param input Input json node against which evaluation is done
@r... | [
"Evaluates",
"a",
"subexpression",
"by",
"evaluating",
"the",
"expression",
"on",
"the",
"left",
"with",
"the",
"original",
"JSON",
"document",
"and",
"then",
"evaluating",
"the",
"expression",
"on",
"the",
"right",
"with",
"the",
"result",
"of",
"the",
"left"... | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/jmespath-java/src/main/java/com/amazonaws/jmespath/JmesPathEvaluationVisitor.java#L39-L46 |
19,975 | aws/aws-sdk-java | jmespath-java/src/main/java/com/amazonaws/jmespath/JmesPathEvaluationVisitor.java | JmesPathEvaluationVisitor.visit | @Override
public JsonNode visit(JmesPathField fieldNode, JsonNode input) {
if (input.isObject()) {
//TODO : CamelCase will need to change at some point
return input.get(CamelCaseUtils.toCamelCase(fieldNode.getValue()));
}
return NullNode.getInstance();
} | java | @Override
public JsonNode visit(JmesPathField fieldNode, JsonNode input) {
if (input.isObject()) {
//TODO : CamelCase will need to change at some point
return input.get(CamelCaseUtils.toCamelCase(fieldNode.getValue()));
}
return NullNode.getInstance();
} | [
"@",
"Override",
"public",
"JsonNode",
"visit",
"(",
"JmesPathField",
"fieldNode",
",",
"JsonNode",
"input",
")",
"{",
"if",
"(",
"input",
".",
"isObject",
"(",
")",
")",
"{",
"//TODO : CamelCase will need to change at some point",
"return",
"input",
".",
"get",
... | Retrieves the value of the field node
@param fieldNode JmesPath field type
@param input Input json node whose value is
retrieved
@return Value of the input json node | [
"Retrieves",
"the",
"value",
"of",
"the",
"field",
"node"
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/jmespath-java/src/main/java/com/amazonaws/jmespath/JmesPathEvaluationVisitor.java#L56-L63 |
19,976 | aws/aws-sdk-java | jmespath-java/src/main/java/com/amazonaws/jmespath/JmesPathEvaluationVisitor.java | JmesPathEvaluationVisitor.visit | @Override
public JsonNode visit(JmesPathFlatten flatten, JsonNode input) throws InvalidTypeException {
JsonNode flattenResult = flatten.getFlattenExpr().accept(this, input);
if (flattenResult.isArray()) {
Iterator<JsonNode> elements = flattenResult.elements();
ArrayNode flatt... | java | @Override
public JsonNode visit(JmesPathFlatten flatten, JsonNode input) throws InvalidTypeException {
JsonNode flattenResult = flatten.getFlattenExpr().accept(this, input);
if (flattenResult.isArray()) {
Iterator<JsonNode> elements = flattenResult.elements();
ArrayNode flatt... | [
"@",
"Override",
"public",
"JsonNode",
"visit",
"(",
"JmesPathFlatten",
"flatten",
",",
"JsonNode",
"input",
")",
"throws",
"InvalidTypeException",
"{",
"JsonNode",
"flattenResult",
"=",
"flatten",
".",
"getFlattenExpr",
"(",
")",
".",
"accept",
"(",
"this",
","... | Flattens out the elements of the given expression into a
single list. It's evaluated as follows.
Create an empty result list.
Iterate over the elements of the current result.
If the current element is not a list, add to the end of
the result list.
If the current element is a list, add each element of the
current elemen... | [
"Flattens",
"out",
"the",
"elements",
"of",
"the",
"given",
"expression",
"into",
"a",
"single",
"list",
".",
"It",
"s",
"evaluated",
"as",
"follows",
".",
"Create",
"an",
"empty",
"result",
"list",
".",
"Iterate",
"over",
"the",
"elements",
"of",
"the",
... | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/jmespath-java/src/main/java/com/amazonaws/jmespath/JmesPathEvaluationVisitor.java#L111-L137 |
19,977 | aws/aws-sdk-java | jmespath-java/src/main/java/com/amazonaws/jmespath/JmesPathEvaluationVisitor.java | JmesPathEvaluationVisitor.visit | @Override
public JsonNode visit(JmesPathFunction function, JsonNode input) throws InvalidTypeException {
List<JsonNode> evaluatedArguments = new ArrayList<JsonNode>();
List<JmesPathExpression> arguments = function.getExpressions();
for (JmesPathExpression arg : arguments) {
evalu... | java | @Override
public JsonNode visit(JmesPathFunction function, JsonNode input) throws InvalidTypeException {
List<JsonNode> evaluatedArguments = new ArrayList<JsonNode>();
List<JmesPathExpression> arguments = function.getExpressions();
for (JmesPathExpression arg : arguments) {
evalu... | [
"@",
"Override",
"public",
"JsonNode",
"visit",
"(",
"JmesPathFunction",
"function",
",",
"JsonNode",
"input",
")",
"throws",
"InvalidTypeException",
"{",
"List",
"<",
"JsonNode",
">",
"evaluatedArguments",
"=",
"new",
"ArrayList",
"<",
"JsonNode",
">",
"(",
")"... | Evaluates function expression in applicative order. Each
argument is an expression, each argument expression is
evaluated before evaluating the function. The function is
then called with the evaluated function arguments. The
result of the function-expression is the result returned
by the function call.
@param function... | [
"Evaluates",
"function",
"expression",
"in",
"applicative",
"order",
".",
"Each",
"argument",
"is",
"an",
"expression",
"each",
"argument",
"expression",
"is",
"evaluated",
"before",
"evaluating",
"the",
"function",
".",
"The",
"function",
"is",
"then",
"called",
... | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/jmespath-java/src/main/java/com/amazonaws/jmespath/JmesPathEvaluationVisitor.java#L193-L201 |
19,978 | aws/aws-sdk-java | jmespath-java/src/main/java/com/amazonaws/jmespath/JmesPathEvaluationVisitor.java | JmesPathEvaluationVisitor.visit | @Override
public JsonNode visit(Comparator op, JsonNode input) {
JsonNode lhsNode = op.getLhsExpr().accept(this, input);
JsonNode rhsNode = op.getRhsExpr().accept(this, input);
if (op.matches(lhsNode, rhsNode)) {
return BooleanNode.TRUE;
}
return BooleanNode.FALS... | java | @Override
public JsonNode visit(Comparator op, JsonNode input) {
JsonNode lhsNode = op.getLhsExpr().accept(this, input);
JsonNode rhsNode = op.getRhsExpr().accept(this, input);
if (op.matches(lhsNode, rhsNode)) {
return BooleanNode.TRUE;
}
return BooleanNode.FALS... | [
"@",
"Override",
"public",
"JsonNode",
"visit",
"(",
"Comparator",
"op",
",",
"JsonNode",
"input",
")",
"{",
"JsonNode",
"lhsNode",
"=",
"op",
".",
"getLhsExpr",
"(",
")",
".",
"accept",
"(",
"this",
",",
"input",
")",
";",
"JsonNode",
"rhsNode",
"=",
... | Evaluate the expressions as per the given comparison
operator.
@param op JmesPath comparison operator type
@param input Input json node against which evaluation is done
@return Result of the comparison | [
"Evaluate",
"the",
"expressions",
"as",
"per",
"the",
"given",
"comparison",
"operator",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/jmespath-java/src/main/java/com/amazonaws/jmespath/JmesPathEvaluationVisitor.java#L257-L266 |
19,979 | aws/aws-sdk-java | jmespath-java/src/main/java/com/amazonaws/jmespath/JmesPathEvaluationVisitor.java | JmesPathEvaluationVisitor.visit | @Override
public JsonNode visit(JmesPathNotExpression notExpression, JsonNode input) throws InvalidTypeException {
JsonNode resultExpr = notExpression.getExpr().accept(this, input);
if (resultExpr != BooleanNode.TRUE) {
return BooleanNode.TRUE;
}
return BooleanNode.FALSE;... | java | @Override
public JsonNode visit(JmesPathNotExpression notExpression, JsonNode input) throws InvalidTypeException {
JsonNode resultExpr = notExpression.getExpr().accept(this, input);
if (resultExpr != BooleanNode.TRUE) {
return BooleanNode.TRUE;
}
return BooleanNode.FALSE;... | [
"@",
"Override",
"public",
"JsonNode",
"visit",
"(",
"JmesPathNotExpression",
"notExpression",
",",
"JsonNode",
"input",
")",
"throws",
"InvalidTypeException",
"{",
"JsonNode",
"resultExpr",
"=",
"notExpression",
".",
"getExpr",
"(",
")",
".",
"accept",
"(",
"this... | Not-expression negates the result of an expression. If the
expression results in a truth-like value, a not-expression will
change this value to false. If the expression results in a
false-like value, a not-expression will change this value to true.
@param notExpression JmesPath not-expression type
@param input ... | [
"Not",
"-",
"expression",
"negates",
"the",
"result",
"of",
"an",
"expression",
".",
"If",
"the",
"expression",
"results",
"in",
"a",
"truth",
"-",
"like",
"value",
"a",
"not",
"-",
"expression",
"will",
"change",
"this",
"value",
"to",
"false",
".",
"If... | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/jmespath-java/src/main/java/com/amazonaws/jmespath/JmesPathEvaluationVisitor.java#L279-L286 |
19,980 | aws/aws-sdk-java | jmespath-java/src/main/java/com/amazonaws/jmespath/JmesPathEvaluationVisitor.java | JmesPathEvaluationVisitor.visit | @Override
public JsonNode visit(JmesPathAndExpression andExpression, JsonNode input) throws InvalidTypeException {
JsonNode lhsNode = andExpression.getLhsExpr().accept(this, input);
JsonNode rhsNode = andExpression.getRhsExpr().accept(this, input);
if (lhsNode == BooleanNode.TRUE) {
... | java | @Override
public JsonNode visit(JmesPathAndExpression andExpression, JsonNode input) throws InvalidTypeException {
JsonNode lhsNode = andExpression.getLhsExpr().accept(this, input);
JsonNode rhsNode = andExpression.getRhsExpr().accept(this, input);
if (lhsNode == BooleanNode.TRUE) {
... | [
"@",
"Override",
"public",
"JsonNode",
"visit",
"(",
"JmesPathAndExpression",
"andExpression",
",",
"JsonNode",
"input",
")",
"throws",
"InvalidTypeException",
"{",
"JsonNode",
"lhsNode",
"=",
"andExpression",
".",
"getLhsExpr",
"(",
")",
".",
"accept",
"(",
"this... | And expression will evaluate to either the left expression or
the right expression. If the expression on the left hand side
is a truth-like value, then the value on the right hand side
is returned. Otherwise the result of the expression on the
left hand side is returned.
@param andExpression JmesPath and-expression ty... | [
"And",
"expression",
"will",
"evaluate",
"to",
"either",
"the",
"left",
"expression",
"or",
"the",
"right",
"expression",
".",
"If",
"the",
"expression",
"on",
"the",
"left",
"hand",
"side",
"is",
"a",
"truth",
"-",
"like",
"value",
"then",
"the",
"value",... | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/jmespath-java/src/main/java/com/amazonaws/jmespath/JmesPathEvaluationVisitor.java#L300-L309 |
19,981 | aws/aws-sdk-java | aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/LoggerDefinitionVersion.java | LoggerDefinitionVersion.setLoggers | public void setLoggers(java.util.Collection<Logger> loggers) {
if (loggers == null) {
this.loggers = null;
return;
}
this.loggers = new java.util.ArrayList<Logger>(loggers);
} | java | public void setLoggers(java.util.Collection<Logger> loggers) {
if (loggers == null) {
this.loggers = null;
return;
}
this.loggers = new java.util.ArrayList<Logger>(loggers);
} | [
"public",
"void",
"setLoggers",
"(",
"java",
".",
"util",
".",
"Collection",
"<",
"Logger",
">",
"loggers",
")",
"{",
"if",
"(",
"loggers",
"==",
"null",
")",
"{",
"this",
".",
"loggers",
"=",
"null",
";",
"return",
";",
"}",
"this",
".",
"loggers",
... | A list of loggers.
@param loggers
A list of loggers. | [
"A",
"list",
"of",
"loggers",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/LoggerDefinitionVersion.java#L49-L56 |
19,982 | aws/aws-sdk-java | aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/CopyImpl.java | CopyImpl.waitForCopyResult | public CopyResult waitForCopyResult() throws AmazonClientException,
AmazonServiceException, InterruptedException {
try {
CopyResult result = null;
while (!monitor.isDone() || result == null) {
Future<?> f = monitor.getFuture();
result = (CopyRe... | java | public CopyResult waitForCopyResult() throws AmazonClientException,
AmazonServiceException, InterruptedException {
try {
CopyResult result = null;
while (!monitor.isDone() || result == null) {
Future<?> f = monitor.getFuture();
result = (CopyRe... | [
"public",
"CopyResult",
"waitForCopyResult",
"(",
")",
"throws",
"AmazonClientException",
",",
"AmazonServiceException",
",",
"InterruptedException",
"{",
"try",
"{",
"CopyResult",
"result",
"=",
"null",
";",
"while",
"(",
"!",
"monitor",
".",
"isDone",
"(",
")",
... | Waits for this copy operation to complete and returns the result of the
operation. Be prepared to handle errors when calling this method. Any
errors that occurred during the asynchronous transfer will be re-thrown
through this method.
@return The result of this transfer.
@throws AmazonClientException
If any errors we... | [
"Waits",
"for",
"this",
"copy",
"operation",
"to",
"complete",
"and",
"returns",
"the",
"result",
"of",
"the",
"operation",
".",
"Be",
"prepared",
"to",
"handle",
"errors",
"when",
"calling",
"this",
"method",
".",
"Any",
"errors",
"that",
"occurred",
"durin... | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/transfer/internal/CopyImpl.java#L57-L70 |
19,983 | aws/aws-sdk-java | aws-java-sdk-mediaconvert/src/main/java/com/amazonaws/services/mediaconvert/model/ListPresetsResult.java | ListPresetsResult.setPresets | public void setPresets(java.util.Collection<Preset> presets) {
if (presets == null) {
this.presets = null;
return;
}
this.presets = new java.util.ArrayList<Preset>(presets);
} | java | public void setPresets(java.util.Collection<Preset> presets) {
if (presets == null) {
this.presets = null;
return;
}
this.presets = new java.util.ArrayList<Preset>(presets);
} | [
"public",
"void",
"setPresets",
"(",
"java",
".",
"util",
".",
"Collection",
"<",
"Preset",
">",
"presets",
")",
"{",
"if",
"(",
"presets",
"==",
"null",
")",
"{",
"this",
".",
"presets",
"=",
"null",
";",
"return",
";",
"}",
"this",
".",
"presets",
... | List of presets
@param presets
List of presets | [
"List",
"of",
"presets"
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-mediaconvert/src/main/java/com/amazonaws/services/mediaconvert/model/ListPresetsResult.java#L82-L89 |
19,984 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java | AbstractAmazonSNSAsync.confirmSubscriptionAsync | @Override
public java.util.concurrent.Future<ConfirmSubscriptionResult> confirmSubscriptionAsync(String topicArn, String token, String authenticateOnUnsubscribe) {
return confirmSubscriptionAsync(new ConfirmSubscriptionRequest().withTopicArn(topicArn).withToken(token)
.withAuthenticateOnUns... | java | @Override
public java.util.concurrent.Future<ConfirmSubscriptionResult> confirmSubscriptionAsync(String topicArn, String token, String authenticateOnUnsubscribe) {
return confirmSubscriptionAsync(new ConfirmSubscriptionRequest().withTopicArn(topicArn).withToken(token)
.withAuthenticateOnUns... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"ConfirmSubscriptionResult",
">",
"confirmSubscriptionAsync",
"(",
"String",
"topicArn",
",",
"String",
"token",
",",
"String",
"authenticateOnUnsubscribe",
")",
"{",
"return",
... | Simplified method form for invoking the ConfirmSubscription operation.
@see #confirmSubscriptionAsync(ConfirmSubscriptionRequest) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"ConfirmSubscription",
"operation",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java#L99-L104 |
19,985 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java | AbstractAmazonSNSAsync.confirmSubscriptionAsync | @Override
public java.util.concurrent.Future<ConfirmSubscriptionResult> confirmSubscriptionAsync(String topicArn, String token, String authenticateOnUnsubscribe,
com.amazonaws.handlers.AsyncHandler<ConfirmSubscriptionRequest, ConfirmSubscriptionResult> asyncHandler) {
return confirmSubscription... | java | @Override
public java.util.concurrent.Future<ConfirmSubscriptionResult> confirmSubscriptionAsync(String topicArn, String token, String authenticateOnUnsubscribe,
com.amazonaws.handlers.AsyncHandler<ConfirmSubscriptionRequest, ConfirmSubscriptionResult> asyncHandler) {
return confirmSubscription... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"ConfirmSubscriptionResult",
">",
"confirmSubscriptionAsync",
"(",
"String",
"topicArn",
",",
"String",
"token",
",",
"String",
"authenticateOnUnsubscribe",
",",
"com",
".",
"am... | Simplified method form for invoking the ConfirmSubscription operation with an AsyncHandler.
@see #confirmSubscriptionAsync(ConfirmSubscriptionRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"ConfirmSubscription",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java#L111-L117 |
19,986 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java | AbstractAmazonSNSAsync.createTopicAsync | @Override
public java.util.concurrent.Future<CreateTopicResult> createTopicAsync(String name) {
return createTopicAsync(new CreateTopicRequest().withName(name));
} | java | @Override
public java.util.concurrent.Future<CreateTopicResult> createTopicAsync(String name) {
return createTopicAsync(new CreateTopicRequest().withName(name));
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"CreateTopicResult",
">",
"createTopicAsync",
"(",
"String",
"name",
")",
"{",
"return",
"createTopicAsync",
"(",
"new",
"CreateTopicRequest",
"(",
")",
".",
"withName",
"("... | Simplified method form for invoking the CreateTopic operation.
@see #createTopicAsync(CreateTopicRequest) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"CreateTopic",
"operation",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java#L186-L190 |
19,987 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java | AbstractAmazonSNSAsync.createTopicAsync | @Override
public java.util.concurrent.Future<CreateTopicResult> createTopicAsync(String name,
com.amazonaws.handlers.AsyncHandler<CreateTopicRequest, CreateTopicResult> asyncHandler) {
return createTopicAsync(new CreateTopicRequest().withName(name), asyncHandler);
} | java | @Override
public java.util.concurrent.Future<CreateTopicResult> createTopicAsync(String name,
com.amazonaws.handlers.AsyncHandler<CreateTopicRequest, CreateTopicResult> asyncHandler) {
return createTopicAsync(new CreateTopicRequest().withName(name), asyncHandler);
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"CreateTopicResult",
">",
"createTopicAsync",
"(",
"String",
"name",
",",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"CreateTopicRequest",
",",
"Cre... | Simplified method form for invoking the CreateTopic operation with an AsyncHandler.
@see #createTopicAsync(CreateTopicRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"CreateTopic",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java#L197-L202 |
19,988 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java | AbstractAmazonSNSAsync.deleteTopicAsync | @Override
public java.util.concurrent.Future<DeleteTopicResult> deleteTopicAsync(String topicArn) {
return deleteTopicAsync(new DeleteTopicRequest().withTopicArn(topicArn));
} | java | @Override
public java.util.concurrent.Future<DeleteTopicResult> deleteTopicAsync(String topicArn) {
return deleteTopicAsync(new DeleteTopicRequest().withTopicArn(topicArn));
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DeleteTopicResult",
">",
"deleteTopicAsync",
"(",
"String",
"topicArn",
")",
"{",
"return",
"deleteTopicAsync",
"(",
"new",
"DeleteTopicRequest",
"(",
")",
".",
"withTopicArn... | Simplified method form for invoking the DeleteTopic operation.
@see #deleteTopicAsync(DeleteTopicRequest) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DeleteTopic",
"operation",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java#L248-L252 |
19,989 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java | AbstractAmazonSNSAsync.deleteTopicAsync | @Override
public java.util.concurrent.Future<DeleteTopicResult> deleteTopicAsync(String topicArn,
com.amazonaws.handlers.AsyncHandler<DeleteTopicRequest, DeleteTopicResult> asyncHandler) {
return deleteTopicAsync(new DeleteTopicRequest().withTopicArn(topicArn), asyncHandler);
} | java | @Override
public java.util.concurrent.Future<DeleteTopicResult> deleteTopicAsync(String topicArn,
com.amazonaws.handlers.AsyncHandler<DeleteTopicRequest, DeleteTopicResult> asyncHandler) {
return deleteTopicAsync(new DeleteTopicRequest().withTopicArn(topicArn), asyncHandler);
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"DeleteTopicResult",
">",
"deleteTopicAsync",
"(",
"String",
"topicArn",
",",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"DeleteTopicRequest",
",",
... | Simplified method form for invoking the DeleteTopic operation with an AsyncHandler.
@see #deleteTopicAsync(DeleteTopicRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"DeleteTopic",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java#L259-L264 |
19,990 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java | AbstractAmazonSNSAsync.getSubscriptionAttributesAsync | @Override
public java.util.concurrent.Future<GetSubscriptionAttributesResult> getSubscriptionAttributesAsync(String subscriptionArn) {
return getSubscriptionAttributesAsync(new GetSubscriptionAttributesRequest().withSubscriptionArn(subscriptionArn));
} | java | @Override
public java.util.concurrent.Future<GetSubscriptionAttributesResult> getSubscriptionAttributesAsync(String subscriptionArn) {
return getSubscriptionAttributesAsync(new GetSubscriptionAttributesRequest().withSubscriptionArn(subscriptionArn));
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"GetSubscriptionAttributesResult",
">",
"getSubscriptionAttributesAsync",
"(",
"String",
"subscriptionArn",
")",
"{",
"return",
"getSubscriptionAttributesAsync",
"(",
"new",
"GetSubsc... | Simplified method form for invoking the GetSubscriptionAttributes operation.
@see #getSubscriptionAttributesAsync(GetSubscriptionAttributesRequest) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"GetSubscriptionAttributes",
"operation",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java#L325-L329 |
19,991 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java | AbstractAmazonSNSAsync.getSubscriptionAttributesAsync | @Override
public java.util.concurrent.Future<GetSubscriptionAttributesResult> getSubscriptionAttributesAsync(String subscriptionArn,
com.amazonaws.handlers.AsyncHandler<GetSubscriptionAttributesRequest, GetSubscriptionAttributesResult> asyncHandler) {
return getSubscriptionAttributesAsync(new G... | java | @Override
public java.util.concurrent.Future<GetSubscriptionAttributesResult> getSubscriptionAttributesAsync(String subscriptionArn,
com.amazonaws.handlers.AsyncHandler<GetSubscriptionAttributesRequest, GetSubscriptionAttributesResult> asyncHandler) {
return getSubscriptionAttributesAsync(new G... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"GetSubscriptionAttributesResult",
">",
"getSubscriptionAttributesAsync",
"(",
"String",
"subscriptionArn",
",",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<"... | Simplified method form for invoking the GetSubscriptionAttributes operation with an AsyncHandler.
@see #getSubscriptionAttributesAsync(GetSubscriptionAttributesRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"GetSubscriptionAttributes",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java#L336-L341 |
19,992 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java | AbstractAmazonSNSAsync.getTopicAttributesAsync | @Override
public java.util.concurrent.Future<GetTopicAttributesResult> getTopicAttributesAsync(String topicArn) {
return getTopicAttributesAsync(new GetTopicAttributesRequest().withTopicArn(topicArn));
} | java | @Override
public java.util.concurrent.Future<GetTopicAttributesResult> getTopicAttributesAsync(String topicArn) {
return getTopicAttributesAsync(new GetTopicAttributesRequest().withTopicArn(topicArn));
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"GetTopicAttributesResult",
">",
"getTopicAttributesAsync",
"(",
"String",
"topicArn",
")",
"{",
"return",
"getTopicAttributesAsync",
"(",
"new",
"GetTopicAttributesRequest",
"(",
... | Simplified method form for invoking the GetTopicAttributes operation.
@see #getTopicAttributesAsync(GetTopicAttributesRequest) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"GetTopicAttributes",
"operation",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java#L361-L365 |
19,993 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java | AbstractAmazonSNSAsync.getTopicAttributesAsync | @Override
public java.util.concurrent.Future<GetTopicAttributesResult> getTopicAttributesAsync(String topicArn,
com.amazonaws.handlers.AsyncHandler<GetTopicAttributesRequest, GetTopicAttributesResult> asyncHandler) {
return getTopicAttributesAsync(new GetTopicAttributesRequest().withTopicArn(to... | java | @Override
public java.util.concurrent.Future<GetTopicAttributesResult> getTopicAttributesAsync(String topicArn,
com.amazonaws.handlers.AsyncHandler<GetTopicAttributesRequest, GetTopicAttributesResult> asyncHandler) {
return getTopicAttributesAsync(new GetTopicAttributesRequest().withTopicArn(to... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"GetTopicAttributesResult",
">",
"getTopicAttributesAsync",
"(",
"String",
"topicArn",
",",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"GetTopicAttribut... | Simplified method form for invoking the GetTopicAttributes operation with an AsyncHandler.
@see #getTopicAttributesAsync(GetTopicAttributesRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"GetTopicAttributes",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java#L372-L377 |
19,994 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java | AbstractAmazonSNSAsync.listSubscriptionsAsync | @Override
public java.util.concurrent.Future<ListSubscriptionsResult> listSubscriptionsAsync(String nextToken) {
return listSubscriptionsAsync(new ListSubscriptionsRequest().withNextToken(nextToken));
} | java | @Override
public java.util.concurrent.Future<ListSubscriptionsResult> listSubscriptionsAsync(String nextToken) {
return listSubscriptionsAsync(new ListSubscriptionsRequest().withNextToken(nextToken));
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"ListSubscriptionsResult",
">",
"listSubscriptionsAsync",
"(",
"String",
"nextToken",
")",
"{",
"return",
"listSubscriptionsAsync",
"(",
"new",
"ListSubscriptionsRequest",
"(",
")... | Simplified method form for invoking the ListSubscriptions operation.
@see #listSubscriptionsAsync(ListSubscriptionsRequest) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"ListSubscriptions",
"operation",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java#L484-L488 |
19,995 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java | AbstractAmazonSNSAsync.listSubscriptionsAsync | @Override
public java.util.concurrent.Future<ListSubscriptionsResult> listSubscriptionsAsync(String nextToken,
com.amazonaws.handlers.AsyncHandler<ListSubscriptionsRequest, ListSubscriptionsResult> asyncHandler) {
return listSubscriptionsAsync(new ListSubscriptionsRequest().withNextToken(nextTo... | java | @Override
public java.util.concurrent.Future<ListSubscriptionsResult> listSubscriptionsAsync(String nextToken,
com.amazonaws.handlers.AsyncHandler<ListSubscriptionsRequest, ListSubscriptionsResult> asyncHandler) {
return listSubscriptionsAsync(new ListSubscriptionsRequest().withNextToken(nextTo... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"ListSubscriptionsResult",
">",
"listSubscriptionsAsync",
"(",
"String",
"nextToken",
",",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"ListSubscriptions... | Simplified method form for invoking the ListSubscriptions operation with an AsyncHandler.
@see #listSubscriptionsAsync(ListSubscriptionsRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"ListSubscriptions",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java#L495-L500 |
19,996 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java | AbstractAmazonSNSAsync.listSubscriptionsByTopicAsync | @Override
public java.util.concurrent.Future<ListSubscriptionsByTopicResult> listSubscriptionsByTopicAsync(String topicArn) {
return listSubscriptionsByTopicAsync(new ListSubscriptionsByTopicRequest().withTopicArn(topicArn));
} | java | @Override
public java.util.concurrent.Future<ListSubscriptionsByTopicResult> listSubscriptionsByTopicAsync(String topicArn) {
return listSubscriptionsByTopicAsync(new ListSubscriptionsByTopicRequest().withTopicArn(topicArn));
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"ListSubscriptionsByTopicResult",
">",
"listSubscriptionsByTopicAsync",
"(",
"String",
"topicArn",
")",
"{",
"return",
"listSubscriptionsByTopicAsync",
"(",
"new",
"ListSubscriptionsB... | Simplified method form for invoking the ListSubscriptionsByTopic operation.
@see #listSubscriptionsByTopicAsync(ListSubscriptionsByTopicRequest) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"ListSubscriptionsByTopic",
"operation",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java#L520-L524 |
19,997 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java | AbstractAmazonSNSAsync.listSubscriptionsByTopicAsync | @Override
public java.util.concurrent.Future<ListSubscriptionsByTopicResult> listSubscriptionsByTopicAsync(String topicArn,
com.amazonaws.handlers.AsyncHandler<ListSubscriptionsByTopicRequest, ListSubscriptionsByTopicResult> asyncHandler) {
return listSubscriptionsByTopicAsync(new ListSubscript... | java | @Override
public java.util.concurrent.Future<ListSubscriptionsByTopicResult> listSubscriptionsByTopicAsync(String topicArn,
com.amazonaws.handlers.AsyncHandler<ListSubscriptionsByTopicRequest, ListSubscriptionsByTopicResult> asyncHandler) {
return listSubscriptionsByTopicAsync(new ListSubscript... | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"ListSubscriptionsByTopicResult",
">",
"listSubscriptionsByTopicAsync",
"(",
"String",
"topicArn",
",",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"List... | Simplified method form for invoking the ListSubscriptionsByTopic operation with an AsyncHandler.
@see #listSubscriptionsByTopicAsync(ListSubscriptionsByTopicRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"ListSubscriptionsByTopic",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java#L531-L536 |
19,998 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java | AbstractAmazonSNSAsync.listTopicsAsync | @Override
public java.util.concurrent.Future<ListTopicsResult> listTopicsAsync(String nextToken) {
return listTopicsAsync(new ListTopicsRequest().withNextToken(nextToken));
} | java | @Override
public java.util.concurrent.Future<ListTopicsResult> listTopicsAsync(String nextToken) {
return listTopicsAsync(new ListTopicsRequest().withNextToken(nextToken));
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"ListTopicsResult",
">",
"listTopicsAsync",
"(",
"String",
"nextToken",
")",
"{",
"return",
"listTopicsAsync",
"(",
"new",
"ListTopicsRequest",
"(",
")",
".",
"withNextToken",... | Simplified method form for invoking the ListTopics operation.
@see #listTopicsAsync(ListTopicsRequest) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"ListTopics",
"operation",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java#L614-L618 |
19,999 | aws/aws-sdk-java | aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java | AbstractAmazonSNSAsync.publishAsync | @Override
public java.util.concurrent.Future<PublishResult> publishAsync(String topicArn, String message,
com.amazonaws.handlers.AsyncHandler<PublishRequest, PublishResult> asyncHandler) {
return publishAsync(new PublishRequest().withTopicArn(topicArn).withMessage(message), asyncHandler);
} | java | @Override
public java.util.concurrent.Future<PublishResult> publishAsync(String topicArn, String message,
com.amazonaws.handlers.AsyncHandler<PublishRequest, PublishResult> asyncHandler) {
return publishAsync(new PublishRequest().withTopicArn(topicArn).withMessage(message), asyncHandler);
} | [
"@",
"Override",
"public",
"java",
".",
"util",
".",
"concurrent",
".",
"Future",
"<",
"PublishResult",
">",
"publishAsync",
"(",
"String",
"topicArn",
",",
"String",
"message",
",",
"com",
".",
"amazonaws",
".",
"handlers",
".",
"AsyncHandler",
"<",
"Publis... | Simplified method form for invoking the Publish operation with an AsyncHandler.
@see #publishAsync(PublishRequest, com.amazonaws.handlers.AsyncHandler) | [
"Simplified",
"method",
"form",
"for",
"invoking",
"the",
"Publish",
"operation",
"with",
"an",
"AsyncHandler",
"."
] | aa38502458969b2d13a1c3665a56aba600e4dbd0 | https://github.com/aws/aws-sdk-java/blob/aa38502458969b2d13a1c3665a56aba600e4dbd0/aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/AbstractAmazonSNSAsync.java#L674-L679 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.