diff --git a/CHANGELOG.md b/CHANGELOG.md
index 34fb50212208..d13f31cf97d2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,16 @@
+# __1.11.556__ __2019-05-20__
+## __AWS Elemental MediaPackage VOD__
+ - ### Features
+ - AWS Elemental MediaPackage now supports Video-on-Demand (VOD) workflows. These new features allow you to easily deliver a vast library of source video Assets stored in your own S3 buckets using a small set of simple to set up Packaging Configurations and Packaging Groups.
+
+## __AWSMarketplace Metering__
+ - ### Features
+ - Documentation updates for meteringmarketplace
+
+## __Managed Streaming for Kafka__
+ - ### Features
+ - Updated APIs for the Managed Streaming for Kafka service that let customers create clusters with custom Kafka configuration.
+
# __1.11.555__ __2019-05-17__
## __Amazon AppStream__
- ### Features
diff --git a/README.md b/README.md
index 882c66f4f7cb..c47c18af0a88 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,7 @@ dependencies.
com.amazonaws
aws-java-sdk-bom
- 1.11.555
+ 1.11.556
pom
import
diff --git a/aws-java-sdk-acm/pom.xml b/aws-java-sdk-acm/pom.xml
index 586a42eec68f..914012217dc6 100644
--- a/aws-java-sdk-acm/pom.xml
+++ b/aws-java-sdk-acm/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-acm
diff --git a/aws-java-sdk-acmpca/pom.xml b/aws-java-sdk-acmpca/pom.xml
index 1acbfc42a9ce..d83929104b75 100644
--- a/aws-java-sdk-acmpca/pom.xml
+++ b/aws-java-sdk-acmpca/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-acmpca
diff --git a/aws-java-sdk-alexaforbusiness/pom.xml b/aws-java-sdk-alexaforbusiness/pom.xml
index 3c3818823e3d..d8cbe1e5ee98 100644
--- a/aws-java-sdk-alexaforbusiness/pom.xml
+++ b/aws-java-sdk-alexaforbusiness/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-alexaforbusiness
diff --git a/aws-java-sdk-amplify/pom.xml b/aws-java-sdk-amplify/pom.xml
index 75c517063b05..580cb8821cb2 100644
--- a/aws-java-sdk-amplify/pom.xml
+++ b/aws-java-sdk-amplify/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-amplify
diff --git a/aws-java-sdk-api-gateway/pom.xml b/aws-java-sdk-api-gateway/pom.xml
index 0a7422693ef3..834d6dfa828f 100644
--- a/aws-java-sdk-api-gateway/pom.xml
+++ b/aws-java-sdk-api-gateway/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-api-gateway
diff --git a/aws-java-sdk-apigatewaymanagementapi/pom.xml b/aws-java-sdk-apigatewaymanagementapi/pom.xml
index 3282686331b0..375d5a61fef4 100644
--- a/aws-java-sdk-apigatewaymanagementapi/pom.xml
+++ b/aws-java-sdk-apigatewaymanagementapi/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-apigatewaymanagementapi
diff --git a/aws-java-sdk-apigatewayv2/pom.xml b/aws-java-sdk-apigatewayv2/pom.xml
index e018cd7af6c2..52bd7ed70690 100644
--- a/aws-java-sdk-apigatewayv2/pom.xml
+++ b/aws-java-sdk-apigatewayv2/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-apigatewayv2
diff --git a/aws-java-sdk-applicationautoscaling/pom.xml b/aws-java-sdk-applicationautoscaling/pom.xml
index 2d1b1b2c868f..a72b72003f36 100644
--- a/aws-java-sdk-applicationautoscaling/pom.xml
+++ b/aws-java-sdk-applicationautoscaling/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-applicationautoscaling
diff --git a/aws-java-sdk-appmesh/pom.xml b/aws-java-sdk-appmesh/pom.xml
index 1ee16cd27fc8..1b6b8383cda8 100644
--- a/aws-java-sdk-appmesh/pom.xml
+++ b/aws-java-sdk-appmesh/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-appmesh
diff --git a/aws-java-sdk-appstream/pom.xml b/aws-java-sdk-appstream/pom.xml
index 8b041e036bc0..25f12869feef 100644
--- a/aws-java-sdk-appstream/pom.xml
+++ b/aws-java-sdk-appstream/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-appstream
diff --git a/aws-java-sdk-appsync/pom.xml b/aws-java-sdk-appsync/pom.xml
index d74dc8000327..00a045ecd599 100644
--- a/aws-java-sdk-appsync/pom.xml
+++ b/aws-java-sdk-appsync/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-appsync
diff --git a/aws-java-sdk-athena/pom.xml b/aws-java-sdk-athena/pom.xml
index 9df803980d59..6bb5e096944b 100644
--- a/aws-java-sdk-athena/pom.xml
+++ b/aws-java-sdk-athena/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-athena
diff --git a/aws-java-sdk-autoscaling/pom.xml b/aws-java-sdk-autoscaling/pom.xml
index c9cd8baac9c8..29e4e530ce61 100644
--- a/aws-java-sdk-autoscaling/pom.xml
+++ b/aws-java-sdk-autoscaling/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-autoscaling
diff --git a/aws-java-sdk-autoscalingplans/pom.xml b/aws-java-sdk-autoscalingplans/pom.xml
index b36c72c8d1a6..90ef4d027d03 100644
--- a/aws-java-sdk-autoscalingplans/pom.xml
+++ b/aws-java-sdk-autoscalingplans/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-autoscalingplans
diff --git a/aws-java-sdk-backup/pom.xml b/aws-java-sdk-backup/pom.xml
index 25034ad3d976..ac80861d03cf 100644
--- a/aws-java-sdk-backup/pom.xml
+++ b/aws-java-sdk-backup/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-backup
diff --git a/aws-java-sdk-batch/pom.xml b/aws-java-sdk-batch/pom.xml
index 8cb04817facf..59a614bdd6c8 100644
--- a/aws-java-sdk-batch/pom.xml
+++ b/aws-java-sdk-batch/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-batch
diff --git a/aws-java-sdk-bom/pom.xml b/aws-java-sdk-bom/pom.xml
index 09591f10d971..b6a8bbc263e8 100644
--- a/aws-java-sdk-bom/pom.xml
+++ b/aws-java-sdk-bom/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-bom
@@ -16,6 +16,12 @@
+
+ aws-java-sdk-mediapackagevod
+ com.amazonaws
+ false
+ ${awsjavasdk.version}
+
aws-java-sdk-managedblockchain
com.amazonaws
diff --git a/aws-java-sdk-budgets/pom.xml b/aws-java-sdk-budgets/pom.xml
index 58a25fdf9bee..76b9daf7a881 100644
--- a/aws-java-sdk-budgets/pom.xml
+++ b/aws-java-sdk-budgets/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-budgets
diff --git a/aws-java-sdk-bundle/pom.xml b/aws-java-sdk-bundle/pom.xml
index 9cf737689611..dbc092c47a52 100644
--- a/aws-java-sdk-bundle/pom.xml
+++ b/aws-java-sdk-bundle/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-bundle
@@ -24,7 +24,7 @@
aws-java-sdk
com.amazonaws
false
- 1.11.556-SNAPSHOT
+ 1.11.556
diff --git a/aws-java-sdk-chime/pom.xml b/aws-java-sdk-chime/pom.xml
index 880a5f111da0..f5ef71c32f97 100644
--- a/aws-java-sdk-chime/pom.xml
+++ b/aws-java-sdk-chime/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-chime
diff --git a/aws-java-sdk-cloud9/pom.xml b/aws-java-sdk-cloud9/pom.xml
index 58246024412c..e54ef4ac5be9 100644
--- a/aws-java-sdk-cloud9/pom.xml
+++ b/aws-java-sdk-cloud9/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-cloud9
diff --git a/aws-java-sdk-clouddirectory/pom.xml b/aws-java-sdk-clouddirectory/pom.xml
index a4ec290df1e6..0a3103521492 100644
--- a/aws-java-sdk-clouddirectory/pom.xml
+++ b/aws-java-sdk-clouddirectory/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-clouddirectory
diff --git a/aws-java-sdk-cloudformation/pom.xml b/aws-java-sdk-cloudformation/pom.xml
index 085739313f78..ec8d777e0be0 100644
--- a/aws-java-sdk-cloudformation/pom.xml
+++ b/aws-java-sdk-cloudformation/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-cloudformation
diff --git a/aws-java-sdk-cloudfront/pom.xml b/aws-java-sdk-cloudfront/pom.xml
index 5343046d3032..571670d79596 100644
--- a/aws-java-sdk-cloudfront/pom.xml
+++ b/aws-java-sdk-cloudfront/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-cloudfront
diff --git a/aws-java-sdk-cloudhsm/pom.xml b/aws-java-sdk-cloudhsm/pom.xml
index af0d9837aa9c..a410c9dec0f5 100644
--- a/aws-java-sdk-cloudhsm/pom.xml
+++ b/aws-java-sdk-cloudhsm/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-cloudhsm
diff --git a/aws-java-sdk-cloudhsmv2/pom.xml b/aws-java-sdk-cloudhsmv2/pom.xml
index a92527d8e8e9..67b828c82b67 100644
--- a/aws-java-sdk-cloudhsmv2/pom.xml
+++ b/aws-java-sdk-cloudhsmv2/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-cloudhsmv2
diff --git a/aws-java-sdk-cloudsearch/pom.xml b/aws-java-sdk-cloudsearch/pom.xml
index aa4feac76867..0887cef6b0a5 100644
--- a/aws-java-sdk-cloudsearch/pom.xml
+++ b/aws-java-sdk-cloudsearch/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-cloudsearch
diff --git a/aws-java-sdk-cloudtrail/pom.xml b/aws-java-sdk-cloudtrail/pom.xml
index 14eef4d9a23b..ece30ed8bf9b 100644
--- a/aws-java-sdk-cloudtrail/pom.xml
+++ b/aws-java-sdk-cloudtrail/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-cloudtrail
diff --git a/aws-java-sdk-cloudwatch/pom.xml b/aws-java-sdk-cloudwatch/pom.xml
index 437c1c4a7928..dea8f71552a3 100644
--- a/aws-java-sdk-cloudwatch/pom.xml
+++ b/aws-java-sdk-cloudwatch/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-cloudwatch
diff --git a/aws-java-sdk-cloudwatchmetrics/pom.xml b/aws-java-sdk-cloudwatchmetrics/pom.xml
index a805711121e2..1f41cb5be0be 100644
--- a/aws-java-sdk-cloudwatchmetrics/pom.xml
+++ b/aws-java-sdk-cloudwatchmetrics/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-cloudwatchmetrics
diff --git a/aws-java-sdk-code-generator/pom.xml b/aws-java-sdk-code-generator/pom.xml
index dbd294257e53..431c6ee61749 100644
--- a/aws-java-sdk-code-generator/pom.xml
+++ b/aws-java-sdk-code-generator/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-code-generator
diff --git a/aws-java-sdk-codebuild/pom.xml b/aws-java-sdk-codebuild/pom.xml
index a7159e8b130f..b49eeae9b012 100644
--- a/aws-java-sdk-codebuild/pom.xml
+++ b/aws-java-sdk-codebuild/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-codebuild
diff --git a/aws-java-sdk-codecommit/pom.xml b/aws-java-sdk-codecommit/pom.xml
index d930416ecb12..1700506fd652 100644
--- a/aws-java-sdk-codecommit/pom.xml
+++ b/aws-java-sdk-codecommit/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-codecommit
diff --git a/aws-java-sdk-codedeploy/pom.xml b/aws-java-sdk-codedeploy/pom.xml
index 0daa9868af8c..4a343f86972e 100644
--- a/aws-java-sdk-codedeploy/pom.xml
+++ b/aws-java-sdk-codedeploy/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-codedeploy
diff --git a/aws-java-sdk-codegen-maven-plugin/pom.xml b/aws-java-sdk-codegen-maven-plugin/pom.xml
index d755642cd889..8c70bcc81491 100644
--- a/aws-java-sdk-codegen-maven-plugin/pom.xml
+++ b/aws-java-sdk-codegen-maven-plugin/pom.xml
@@ -6,7 +6,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-codegen-maven-plugin
diff --git a/aws-java-sdk-codepipeline/pom.xml b/aws-java-sdk-codepipeline/pom.xml
index 6419caec0fee..f8d2934a17c5 100644
--- a/aws-java-sdk-codepipeline/pom.xml
+++ b/aws-java-sdk-codepipeline/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-codepipeline
diff --git a/aws-java-sdk-codestar/pom.xml b/aws-java-sdk-codestar/pom.xml
index a86d1148294b..d8d514e8b118 100644
--- a/aws-java-sdk-codestar/pom.xml
+++ b/aws-java-sdk-codestar/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-codestar
diff --git a/aws-java-sdk-cognitoidentity/pom.xml b/aws-java-sdk-cognitoidentity/pom.xml
index e0245872882a..5a2f3597d68f 100644
--- a/aws-java-sdk-cognitoidentity/pom.xml
+++ b/aws-java-sdk-cognitoidentity/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-cognitoidentity
diff --git a/aws-java-sdk-cognitoidp/pom.xml b/aws-java-sdk-cognitoidp/pom.xml
index ae749fef18b7..18aeaeb95ae8 100644
--- a/aws-java-sdk-cognitoidp/pom.xml
+++ b/aws-java-sdk-cognitoidp/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-cognitoidp
diff --git a/aws-java-sdk-cognitosync/pom.xml b/aws-java-sdk-cognitosync/pom.xml
index 500fc6ae6fc3..713734b270ad 100644
--- a/aws-java-sdk-cognitosync/pom.xml
+++ b/aws-java-sdk-cognitosync/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-cognitosync
diff --git a/aws-java-sdk-comprehend/pom.xml b/aws-java-sdk-comprehend/pom.xml
index 04f2ee4f5b90..8973cc3f36d0 100644
--- a/aws-java-sdk-comprehend/pom.xml
+++ b/aws-java-sdk-comprehend/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-comprehend
diff --git a/aws-java-sdk-comprehendmedical/pom.xml b/aws-java-sdk-comprehendmedical/pom.xml
index 267fac3c76be..103a3d08d4d9 100644
--- a/aws-java-sdk-comprehendmedical/pom.xml
+++ b/aws-java-sdk-comprehendmedical/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-comprehendmedical
diff --git a/aws-java-sdk-config/pom.xml b/aws-java-sdk-config/pom.xml
index bda3df3341b5..94a49b1bd147 100644
--- a/aws-java-sdk-config/pom.xml
+++ b/aws-java-sdk-config/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-config
diff --git a/aws-java-sdk-connect/pom.xml b/aws-java-sdk-connect/pom.xml
index bcdfc9039de4..00ae022cb1b7 100644
--- a/aws-java-sdk-connect/pom.xml
+++ b/aws-java-sdk-connect/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-connect
diff --git a/aws-java-sdk-core/pom.xml b/aws-java-sdk-core/pom.xml
index 587bd0043f9f..d2e6ab66de02 100644
--- a/aws-java-sdk-core/pom.xml
+++ b/aws-java-sdk-core/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-core
diff --git a/aws-java-sdk-core/src/main/resources/com/amazonaws/partitions/endpoints.json b/aws-java-sdk-core/src/main/resources/com/amazonaws/partitions/endpoints.json
index 2f18ee58191a..f75d10bb6d79 100644
--- a/aws-java-sdk-core/src/main/resources/com/amazonaws/partitions/endpoints.json
+++ b/aws-java-sdk-core/src/main/resources/com/amazonaws/partitions/endpoints.json
@@ -490,6 +490,7 @@
"endpoints" : {
"ap-northeast-1" : { },
"ap-southeast-1" : { },
+ "eu-central-1" : { },
"eu-west-1" : { },
"us-east-1" : { },
"us-east-2" : { },
diff --git a/aws-java-sdk-core/src/main/resources/com/amazonaws/sdk/versionInfo.properties b/aws-java-sdk-core/src/main/resources/com/amazonaws/sdk/versionInfo.properties
index 6f4a9ae011b7..0551530f8d5a 100644
--- a/aws-java-sdk-core/src/main/resources/com/amazonaws/sdk/versionInfo.properties
+++ b/aws-java-sdk-core/src/main/resources/com/amazonaws/sdk/versionInfo.properties
@@ -1,4 +1,4 @@
-#Fri May 17 19:48:50 UTC 2019
+#Mon May 20 20:25:13 UTC 2019
platform=java
-version=1.11.555
-internalVersion=5816258857
+version=1.11.556
+internalVersion=5816497709
diff --git a/aws-java-sdk-costandusagereport/pom.xml b/aws-java-sdk-costandusagereport/pom.xml
index d2a767d64eaf..fa54890bfda9 100644
--- a/aws-java-sdk-costandusagereport/pom.xml
+++ b/aws-java-sdk-costandusagereport/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-costandusagereport
diff --git a/aws-java-sdk-costexplorer/pom.xml b/aws-java-sdk-costexplorer/pom.xml
index f18f351832cf..3d811bc7149c 100644
--- a/aws-java-sdk-costexplorer/pom.xml
+++ b/aws-java-sdk-costexplorer/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-costexplorer
diff --git a/aws-java-sdk-datapipeline/pom.xml b/aws-java-sdk-datapipeline/pom.xml
index 0ab6a563ba9f..466ad2d1a4cf 100644
--- a/aws-java-sdk-datapipeline/pom.xml
+++ b/aws-java-sdk-datapipeline/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-datapipeline
diff --git a/aws-java-sdk-datasync/pom.xml b/aws-java-sdk-datasync/pom.xml
index 8a1d79f75572..3c219bcbfe8a 100644
--- a/aws-java-sdk-datasync/pom.xml
+++ b/aws-java-sdk-datasync/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-datasync
diff --git a/aws-java-sdk-dax/pom.xml b/aws-java-sdk-dax/pom.xml
index 214449f67fda..ab35ecc4fb4f 100644
--- a/aws-java-sdk-dax/pom.xml
+++ b/aws-java-sdk-dax/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-dax
diff --git a/aws-java-sdk-devicefarm/pom.xml b/aws-java-sdk-devicefarm/pom.xml
index 55387188c5ab..c8c717ef5ade 100644
--- a/aws-java-sdk-devicefarm/pom.xml
+++ b/aws-java-sdk-devicefarm/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-devicefarm
diff --git a/aws-java-sdk-directconnect/pom.xml b/aws-java-sdk-directconnect/pom.xml
index bb79be480005..3ba4070969f6 100644
--- a/aws-java-sdk-directconnect/pom.xml
+++ b/aws-java-sdk-directconnect/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-directconnect
diff --git a/aws-java-sdk-directory/pom.xml b/aws-java-sdk-directory/pom.xml
index f48d667abf77..edef58bc40f6 100644
--- a/aws-java-sdk-directory/pom.xml
+++ b/aws-java-sdk-directory/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-directory
diff --git a/aws-java-sdk-discovery/pom.xml b/aws-java-sdk-discovery/pom.xml
index a64c0fe23d97..c01437521e29 100644
--- a/aws-java-sdk-discovery/pom.xml
+++ b/aws-java-sdk-discovery/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-discovery
diff --git a/aws-java-sdk-dlm/pom.xml b/aws-java-sdk-dlm/pom.xml
index baabc97c3583..8cc89e5fc0e3 100644
--- a/aws-java-sdk-dlm/pom.xml
+++ b/aws-java-sdk-dlm/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-dlm
diff --git a/aws-java-sdk-dms/pom.xml b/aws-java-sdk-dms/pom.xml
index 9487e1b5d029..9d7ac56ef176 100644
--- a/aws-java-sdk-dms/pom.xml
+++ b/aws-java-sdk-dms/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-dms
diff --git a/aws-java-sdk-docdb/pom.xml b/aws-java-sdk-docdb/pom.xml
index 153ea380a754..2f0793af9355 100644
--- a/aws-java-sdk-docdb/pom.xml
+++ b/aws-java-sdk-docdb/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-docdb
diff --git a/aws-java-sdk-dynamodb/pom.xml b/aws-java-sdk-dynamodb/pom.xml
index 656bf2d7aef5..ab8e0e55ad24 100644
--- a/aws-java-sdk-dynamodb/pom.xml
+++ b/aws-java-sdk-dynamodb/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-dynamodb
diff --git a/aws-java-sdk-ec2/pom.xml b/aws-java-sdk-ec2/pom.xml
index f7f21c2690dd..e14dccae8d7d 100644
--- a/aws-java-sdk-ec2/pom.xml
+++ b/aws-java-sdk-ec2/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-ec2
diff --git a/aws-java-sdk-ecr/pom.xml b/aws-java-sdk-ecr/pom.xml
index 1a80a78f20cd..e2143515c5c6 100644
--- a/aws-java-sdk-ecr/pom.xml
+++ b/aws-java-sdk-ecr/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-ecr
diff --git a/aws-java-sdk-ecs/pom.xml b/aws-java-sdk-ecs/pom.xml
index 5fa1b57dd881..2238e5506b8f 100644
--- a/aws-java-sdk-ecs/pom.xml
+++ b/aws-java-sdk-ecs/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-ecs
diff --git a/aws-java-sdk-efs/pom.xml b/aws-java-sdk-efs/pom.xml
index 3c1aaed4a918..6e40d155cc92 100644
--- a/aws-java-sdk-efs/pom.xml
+++ b/aws-java-sdk-efs/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-efs
diff --git a/aws-java-sdk-eks/pom.xml b/aws-java-sdk-eks/pom.xml
index 2306d02de812..6969c1875047 100644
--- a/aws-java-sdk-eks/pom.xml
+++ b/aws-java-sdk-eks/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-eks
diff --git a/aws-java-sdk-elasticache/pom.xml b/aws-java-sdk-elasticache/pom.xml
index 5e92061b2098..9adf8a2064a5 100644
--- a/aws-java-sdk-elasticache/pom.xml
+++ b/aws-java-sdk-elasticache/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-elasticache
diff --git a/aws-java-sdk-elasticbeanstalk/pom.xml b/aws-java-sdk-elasticbeanstalk/pom.xml
index 0019822ab322..d5de3af87ff6 100644
--- a/aws-java-sdk-elasticbeanstalk/pom.xml
+++ b/aws-java-sdk-elasticbeanstalk/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-elasticbeanstalk
diff --git a/aws-java-sdk-elasticloadbalancing/pom.xml b/aws-java-sdk-elasticloadbalancing/pom.xml
index 246acf6d477a..d5a03c9ea322 100644
--- a/aws-java-sdk-elasticloadbalancing/pom.xml
+++ b/aws-java-sdk-elasticloadbalancing/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-elasticloadbalancing
diff --git a/aws-java-sdk-elasticloadbalancingv2/pom.xml b/aws-java-sdk-elasticloadbalancingv2/pom.xml
index 4127ef3b0c80..401500d00038 100644
--- a/aws-java-sdk-elasticloadbalancingv2/pom.xml
+++ b/aws-java-sdk-elasticloadbalancingv2/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-elasticloadbalancingv2
diff --git a/aws-java-sdk-elasticsearch/pom.xml b/aws-java-sdk-elasticsearch/pom.xml
index 2f9710ec1752..3d1def8ae964 100644
--- a/aws-java-sdk-elasticsearch/pom.xml
+++ b/aws-java-sdk-elasticsearch/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-elasticsearch
diff --git a/aws-java-sdk-elastictranscoder/pom.xml b/aws-java-sdk-elastictranscoder/pom.xml
index bc4c76cffddc..1718ea273aaa 100644
--- a/aws-java-sdk-elastictranscoder/pom.xml
+++ b/aws-java-sdk-elastictranscoder/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-elastictranscoder
diff --git a/aws-java-sdk-emr/pom.xml b/aws-java-sdk-emr/pom.xml
index 09107f503cf9..e7f28a4293f3 100644
--- a/aws-java-sdk-emr/pom.xml
+++ b/aws-java-sdk-emr/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-emr
diff --git a/aws-java-sdk-events/pom.xml b/aws-java-sdk-events/pom.xml
index 1b4af0e7e6dd..5abb05503040 100644
--- a/aws-java-sdk-events/pom.xml
+++ b/aws-java-sdk-events/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-events
diff --git a/aws-java-sdk-fms/pom.xml b/aws-java-sdk-fms/pom.xml
index a1ead549bfdb..73ec0d44505f 100644
--- a/aws-java-sdk-fms/pom.xml
+++ b/aws-java-sdk-fms/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-fms
diff --git a/aws-java-sdk-fsx/pom.xml b/aws-java-sdk-fsx/pom.xml
index a7f04fe90194..9c9aa4b585e0 100644
--- a/aws-java-sdk-fsx/pom.xml
+++ b/aws-java-sdk-fsx/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-fsx
diff --git a/aws-java-sdk-gamelift/pom.xml b/aws-java-sdk-gamelift/pom.xml
index 7ffd41a36ddb..398cabcc62d4 100644
--- a/aws-java-sdk-gamelift/pom.xml
+++ b/aws-java-sdk-gamelift/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-gamelift
diff --git a/aws-java-sdk-glacier/pom.xml b/aws-java-sdk-glacier/pom.xml
index 947091d1d159..f23f26688743 100644
--- a/aws-java-sdk-glacier/pom.xml
+++ b/aws-java-sdk-glacier/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-glacier
diff --git a/aws-java-sdk-globalaccelerator/pom.xml b/aws-java-sdk-globalaccelerator/pom.xml
index 9949b399ef41..da665fcc5d88 100644
--- a/aws-java-sdk-globalaccelerator/pom.xml
+++ b/aws-java-sdk-globalaccelerator/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-globalaccelerator
diff --git a/aws-java-sdk-glue/pom.xml b/aws-java-sdk-glue/pom.xml
index ce1b228b68cf..2fd7d6c5f0f3 100644
--- a/aws-java-sdk-glue/pom.xml
+++ b/aws-java-sdk-glue/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-glue
diff --git a/aws-java-sdk-greengrass/pom.xml b/aws-java-sdk-greengrass/pom.xml
index f8b155d5df1c..c8562a90902b 100644
--- a/aws-java-sdk-greengrass/pom.xml
+++ b/aws-java-sdk-greengrass/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-greengrass
diff --git a/aws-java-sdk-guardduty/pom.xml b/aws-java-sdk-guardduty/pom.xml
index 0982c7ae16ff..043de2643151 100644
--- a/aws-java-sdk-guardduty/pom.xml
+++ b/aws-java-sdk-guardduty/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-guardduty
diff --git a/aws-java-sdk-health/pom.xml b/aws-java-sdk-health/pom.xml
index 24df72e6e468..69ab1c1823bf 100644
--- a/aws-java-sdk-health/pom.xml
+++ b/aws-java-sdk-health/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-health
diff --git a/aws-java-sdk-iam/pom.xml b/aws-java-sdk-iam/pom.xml
index feb4edaaf86c..57465400a5a0 100644
--- a/aws-java-sdk-iam/pom.xml
+++ b/aws-java-sdk-iam/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-iam
diff --git a/aws-java-sdk-importexport/pom.xml b/aws-java-sdk-importexport/pom.xml
index 1385c3a7dda6..21ab7d0dfeea 100644
--- a/aws-java-sdk-importexport/pom.xml
+++ b/aws-java-sdk-importexport/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-importexport
diff --git a/aws-java-sdk-inspector/pom.xml b/aws-java-sdk-inspector/pom.xml
index cc179bf76226..542226e8d5e0 100644
--- a/aws-java-sdk-inspector/pom.xml
+++ b/aws-java-sdk-inspector/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-inspector
diff --git a/aws-java-sdk-iot/pom.xml b/aws-java-sdk-iot/pom.xml
index 248276edcfb0..163766a6ac13 100644
--- a/aws-java-sdk-iot/pom.xml
+++ b/aws-java-sdk-iot/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-iot
diff --git a/aws-java-sdk-iot1clickdevices/pom.xml b/aws-java-sdk-iot1clickdevices/pom.xml
index 5be8d79e46ad..b5f5099bcf2c 100644
--- a/aws-java-sdk-iot1clickdevices/pom.xml
+++ b/aws-java-sdk-iot1clickdevices/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-iot1clickdevices
diff --git a/aws-java-sdk-iot1clickprojects/pom.xml b/aws-java-sdk-iot1clickprojects/pom.xml
index fcf488dbbe0e..960953e1dfe3 100644
--- a/aws-java-sdk-iot1clickprojects/pom.xml
+++ b/aws-java-sdk-iot1clickprojects/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-iot1clickprojects
diff --git a/aws-java-sdk-iotanalytics/pom.xml b/aws-java-sdk-iotanalytics/pom.xml
index d6a1037c89aa..d8b4e1777e30 100644
--- a/aws-java-sdk-iotanalytics/pom.xml
+++ b/aws-java-sdk-iotanalytics/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-iotanalytics
diff --git a/aws-java-sdk-iotjobsdataplane/pom.xml b/aws-java-sdk-iotjobsdataplane/pom.xml
index 926d36734538..8c79935d6956 100644
--- a/aws-java-sdk-iotjobsdataplane/pom.xml
+++ b/aws-java-sdk-iotjobsdataplane/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-iotjobsdataplane
diff --git a/aws-java-sdk-kafka/pom.xml b/aws-java-sdk-kafka/pom.xml
index 39f6e838b59d..c49ada55474f 100644
--- a/aws-java-sdk-kafka/pom.xml
+++ b/aws-java-sdk-kafka/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-kafka
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AWSKafka.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AWSKafka.java
index d04f796e8422..5b5cacbd819c 100644
--- a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AWSKafka.java
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AWSKafka.java
@@ -68,6 +68,33 @@ public interface AWSKafka {
*/
CreateClusterResult createCluster(CreateClusterRequest createClusterRequest);
+ /**
+ *
+ * Creates a new MSK configuration.
+ *
+ *
+ * @param createConfigurationRequest
+ * @return Result of the CreateConfiguration operation returned by the service.
+ * @throws BadRequestException
+ * Because of incorrect input, the request isn't valid. Correct the input, then retry the request.
+ * @throws InternalServerErrorException
+ * There was an unexpected internal server error. Retrying your request might resolve the issue.
+ * @throws UnauthorizedException
+ * The request is not authorized. The provided credentials couldn't be validated.
+ * @throws ForbiddenException
+ * Access forbidden. Check your credentials and then retry your request.
+ * @throws ServiceUnavailableException
+ * 503 response
+ * @throws TooManyRequestsException
+ * 429 response
+ * @throws ConflictException
+ * This configuration name already exists. Retry your request using another name.
+ * @sample AWSKafka.CreateConfiguration
+ * @see AWS API
+ * Documentation
+ */
+ CreateConfigurationResult createConfiguration(CreateConfigurationRequest createConfigurationRequest);
+
/**
*
* Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request.
@@ -112,6 +139,56 @@ public interface AWSKafka {
*/
DescribeClusterResult describeCluster(DescribeClusterRequest describeClusterRequest);
+ /**
+ *
+ * Returns a description of this MSK configuration.
+ *
+ *
+ * @param describeConfigurationRequest
+ * @return Result of the DescribeConfiguration operation returned by the service.
+ * @throws BadRequestException
+ * Because of incorrect input, the request isn't valid. Correct the input, then retry the request.
+ * @throws UnauthorizedException
+ * The request is not authorized. The provided credentials couldn't be validated.
+ * @throws InternalServerErrorException
+ * There was an unexpected internal server error. Retrying your request might resolve the issue.
+ * @throws ForbiddenException
+ * Access forbidden. Check your credentials and then retry your request.
+ * @throws NotFoundException
+ * The resource could not be found due to incorrect input. Correct the input, then retry the request.
+ * @throws ServiceUnavailableException
+ * 503 response
+ * @sample AWSKafka.DescribeConfiguration
+ * @see AWS
+ * API Documentation
+ */
+ DescribeConfigurationResult describeConfiguration(DescribeConfigurationRequest describeConfigurationRequest);
+
+ /**
+ *
+ * Returns a description of this revision of the configuration.
+ *
+ *
+ * @param describeConfigurationRevisionRequest
+ * @return Result of the DescribeConfigurationRevision operation returned by the service.
+ * @throws BadRequestException
+ * Because of incorrect input, the request isn't valid. Correct the input, then retry the request.
+ * @throws UnauthorizedException
+ * The request is not authorized. The provided credentials couldn't be validated.
+ * @throws InternalServerErrorException
+ * There was an unexpected internal server error. Retrying your request might resolve the issue.
+ * @throws ForbiddenException
+ * Access forbidden. Check your credentials and then retry your request.
+ * @throws NotFoundException
+ * The resource could not be found due to incorrect input. Correct the input, then retry the request.
+ * @throws ServiceUnavailableException
+ * 503 response
+ * @sample AWSKafka.DescribeConfigurationRevision
+ * @see AWS API Documentation
+ */
+ DescribeConfigurationRevisionResult describeConfigurationRevision(DescribeConfigurationRevisionRequest describeConfigurationRevisionRequest);
+
/**
*
* A list of brokers that a client application can use to bootstrap.
@@ -156,6 +233,29 @@ public interface AWSKafka {
*/
ListClustersResult listClusters(ListClustersRequest listClustersRequest);
+ /**
+ *
+ * Returns a list of all the MSK configurations in this Region for this account.
+ *
+ *
+ * @param listConfigurationsRequest
+ * @return Result of the ListConfigurations operation returned by the service.
+ * @throws ServiceUnavailableException
+ * 503 response
+ * @throws BadRequestException
+ * Because of incorrect input, the request isn't valid. Correct the input, then retry the request.
+ * @throws UnauthorizedException
+ * The request is not authorized. The provided credentials couldn't be validated.
+ * @throws InternalServerErrorException
+ * There was an unexpected internal server error. Retrying your request might resolve the issue.
+ * @throws ForbiddenException
+ * Access forbidden. Check your credentials and then retry your request.
+ * @sample AWSKafka.ListConfigurations
+ * @see AWS API
+ * Documentation
+ */
+ ListConfigurationsResult listConfigurations(ListConfigurationsRequest listConfigurationsRequest);
+
/**
*
* Returns a list of the broker nodes in the cluster.
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AWSKafkaAsync.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AWSKafkaAsync.java
index 1cdb1b0ee036..45848ed9d233 100644
--- a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AWSKafkaAsync.java
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AWSKafkaAsync.java
@@ -63,6 +63,37 @@ public interface AWSKafkaAsync extends AWSKafka {
java.util.concurrent.Future createClusterAsync(CreateClusterRequest createClusterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
+ /**
+ *
+ * Creates a new MSK configuration.
+ *
+ *
+ * @param createConfigurationRequest
+ * @return A Java Future containing the result of the CreateConfiguration operation returned by the service.
+ * @sample AWSKafkaAsync.CreateConfiguration
+ * @see AWS API
+ * Documentation
+ */
+ java.util.concurrent.Future createConfigurationAsync(CreateConfigurationRequest createConfigurationRequest);
+
+ /**
+ *
+ * Creates a new MSK configuration.
+ *
+ *
+ * @param createConfigurationRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the CreateConfiguration operation returned by the service.
+ * @sample AWSKafkaAsyncHandler.CreateConfiguration
+ * @see AWS API
+ * Documentation
+ */
+ java.util.concurrent.Future createConfigurationAsync(CreateConfigurationRequest createConfigurationRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
/**
*
* Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request.
@@ -125,6 +156,72 @@ java.util.concurrent.Future deleteClusterAsync(DeleteCluste
java.util.concurrent.Future describeClusterAsync(DescribeClusterRequest describeClusterRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
+ /**
+ *
+ * Returns a description of this MSK configuration.
+ *
+ *
+ * @param describeConfigurationRequest
+ * @return A Java Future containing the result of the DescribeConfiguration operation returned by the service.
+ * @sample AWSKafkaAsync.DescribeConfiguration
+ * @see AWS
+ * API Documentation
+ */
+ java.util.concurrent.Future describeConfigurationAsync(DescribeConfigurationRequest describeConfigurationRequest);
+
+ /**
+ *
+ * Returns a description of this MSK configuration.
+ *
+ *
+ * @param describeConfigurationRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the DescribeConfiguration operation returned by the service.
+ * @sample AWSKafkaAsyncHandler.DescribeConfiguration
+ * @see AWS
+ * API Documentation
+ */
+ java.util.concurrent.Future describeConfigurationAsync(DescribeConfigurationRequest describeConfigurationRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
+ /**
+ *
+ * Returns a description of this revision of the configuration.
+ *
+ *
+ * @param describeConfigurationRevisionRequest
+ * @return A Java Future containing the result of the DescribeConfigurationRevision operation returned by the
+ * service.
+ * @sample AWSKafkaAsync.DescribeConfigurationRevision
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future describeConfigurationRevisionAsync(
+ DescribeConfigurationRevisionRequest describeConfigurationRevisionRequest);
+
+ /**
+ *
+ * Returns a description of this revision of the configuration.
+ *
+ *
+ * @param describeConfigurationRevisionRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the DescribeConfigurationRevision operation returned by the
+ * service.
+ * @sample AWSKafkaAsyncHandler.DescribeConfigurationRevision
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future describeConfigurationRevisionAsync(
+ DescribeConfigurationRevisionRequest describeConfigurationRevisionRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
/**
*
* A list of brokers that a client application can use to bootstrap.
@@ -187,6 +284,37 @@ java.util.concurrent.Future getBootstrapBrokersAsync(
java.util.concurrent.Future listClustersAsync(ListClustersRequest listClustersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
+ /**
+ *
+ * Returns a list of all the MSK configurations in this Region for this account.
+ *
+ *
+ * @param listConfigurationsRequest
+ * @return A Java Future containing the result of the ListConfigurations operation returned by the service.
+ * @sample AWSKafkaAsync.ListConfigurations
+ * @see AWS API
+ * Documentation
+ */
+ java.util.concurrent.Future listConfigurationsAsync(ListConfigurationsRequest listConfigurationsRequest);
+
+ /**
+ *
+ * Returns a list of all the MSK configurations in this Region for this account.
+ *
+ *
+ * @param listConfigurationsRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the ListConfigurations operation returned by the service.
+ * @sample AWSKafkaAsyncHandler.ListConfigurations
+ * @see AWS API
+ * Documentation
+ */
+ java.util.concurrent.Future listConfigurationsAsync(ListConfigurationsRequest listConfigurationsRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
/**
*
* Returns a list of the broker nodes in the cluster.
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AWSKafkaAsyncClient.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AWSKafkaAsyncClient.java
index 0fba6375b31c..d3aed90eb78c 100644
--- a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AWSKafkaAsyncClient.java
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AWSKafkaAsyncClient.java
@@ -94,6 +94,39 @@ public CreateClusterResult call() throws Exception {
});
}
+ @Override
+ public java.util.concurrent.Future createConfigurationAsync(CreateConfigurationRequest request) {
+
+ return createConfigurationAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future createConfigurationAsync(final CreateConfigurationRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final CreateConfigurationRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public CreateConfigurationResult call() throws Exception {
+ CreateConfigurationResult result = null;
+
+ try {
+ result = executeCreateConfiguration(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
@Override
public java.util.concurrent.Future deleteClusterAsync(DeleteClusterRequest request) {
@@ -160,6 +193,73 @@ public DescribeClusterResult call() throws Exception {
});
}
+ @Override
+ public java.util.concurrent.Future describeConfigurationAsync(DescribeConfigurationRequest request) {
+
+ return describeConfigurationAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future describeConfigurationAsync(final DescribeConfigurationRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final DescribeConfigurationRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public DescribeConfigurationResult call() throws Exception {
+ DescribeConfigurationResult result = null;
+
+ try {
+ result = executeDescribeConfiguration(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
+ @Override
+ public java.util.concurrent.Future describeConfigurationRevisionAsync(DescribeConfigurationRevisionRequest request) {
+
+ return describeConfigurationRevisionAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future describeConfigurationRevisionAsync(
+ final DescribeConfigurationRevisionRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final DescribeConfigurationRevisionRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public DescribeConfigurationRevisionResult call() throws Exception {
+ DescribeConfigurationRevisionResult result = null;
+
+ try {
+ result = executeDescribeConfigurationRevision(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
@Override
public java.util.concurrent.Future getBootstrapBrokersAsync(GetBootstrapBrokersRequest request) {
@@ -226,6 +326,39 @@ public ListClustersResult call() throws Exception {
});
}
+ @Override
+ public java.util.concurrent.Future listConfigurationsAsync(ListConfigurationsRequest request) {
+
+ return listConfigurationsAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future listConfigurationsAsync(final ListConfigurationsRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final ListConfigurationsRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public ListConfigurationsResult call() throws Exception {
+ ListConfigurationsResult result = null;
+
+ try {
+ result = executeListConfigurations(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
@Override
public java.util.concurrent.Future listNodesAsync(ListNodesRequest request) {
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AWSKafkaClient.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AWSKafkaClient.java
index 5ea79e8839b1..254180c9f396 100644
--- a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AWSKafkaClient.java
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AWSKafkaClient.java
@@ -215,6 +215,72 @@ final CreateClusterResult executeCreateCluster(CreateClusterRequest createCluste
}
}
+ /**
+ *
+ * Creates a new MSK configuration.
+ *
+ *
+ * @param createConfigurationRequest
+ * @return Result of the CreateConfiguration operation returned by the service.
+ * @throws BadRequestException
+ * Because of incorrect input, the request isn't valid. Correct the input, then retry the request.
+ * @throws InternalServerErrorException
+ * There was an unexpected internal server error. Retrying your request might resolve the issue.
+ * @throws UnauthorizedException
+ * The request is not authorized. The provided credentials couldn't be validated.
+ * @throws ForbiddenException
+ * Access forbidden. Check your credentials and then retry your request.
+ * @throws ServiceUnavailableException
+ * 503 response
+ * @throws TooManyRequestsException
+ * 429 response
+ * @throws ConflictException
+ * This configuration name already exists. Retry your request using another name.
+ * @sample AWSKafka.CreateConfiguration
+ * @see AWS API
+ * Documentation
+ */
+ @Override
+ public CreateConfigurationResult createConfiguration(CreateConfigurationRequest request) {
+ request = beforeClientExecution(request);
+ return executeCreateConfiguration(request);
+ }
+
+ @SdkInternalApi
+ final CreateConfigurationResult executeCreateConfiguration(CreateConfigurationRequest createConfigurationRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(createConfigurationRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new CreateConfigurationRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(createConfigurationRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Kafka");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "CreateConfiguration");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new CreateConfigurationResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
/**
*
* Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request.
@@ -337,6 +403,137 @@ final DescribeClusterResult executeDescribeCluster(DescribeClusterRequest descri
}
}
+ /**
+ *
+ * Returns a description of this MSK configuration.
+ *
+ *
+ * @param describeConfigurationRequest
+ * @return Result of the DescribeConfiguration operation returned by the service.
+ * @throws BadRequestException
+ * Because of incorrect input, the request isn't valid. Correct the input, then retry the request.
+ * @throws UnauthorizedException
+ * The request is not authorized. The provided credentials couldn't be validated.
+ * @throws InternalServerErrorException
+ * There was an unexpected internal server error. Retrying your request might resolve the issue.
+ * @throws ForbiddenException
+ * Access forbidden. Check your credentials and then retry your request.
+ * @throws NotFoundException
+ * The resource could not be found due to incorrect input. Correct the input, then retry the request.
+ * @throws ServiceUnavailableException
+ * 503 response
+ * @sample AWSKafka.DescribeConfiguration
+ * @see AWS
+ * API Documentation
+ */
+ @Override
+ public DescribeConfigurationResult describeConfiguration(DescribeConfigurationRequest request) {
+ request = beforeClientExecution(request);
+ return executeDescribeConfiguration(request);
+ }
+
+ @SdkInternalApi
+ final DescribeConfigurationResult executeDescribeConfiguration(DescribeConfigurationRequest describeConfigurationRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(describeConfigurationRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new DescribeConfigurationRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(describeConfigurationRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Kafka");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DescribeConfiguration");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory
+ .createResponseHandler(new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
+ new DescribeConfigurationResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
+ /**
+ *
+ * Returns a description of this revision of the configuration.
+ *
+ *
+ * @param describeConfigurationRevisionRequest
+ * @return Result of the DescribeConfigurationRevision operation returned by the service.
+ * @throws BadRequestException
+ * Because of incorrect input, the request isn't valid. Correct the input, then retry the request.
+ * @throws UnauthorizedException
+ * The request is not authorized. The provided credentials couldn't be validated.
+ * @throws InternalServerErrorException
+ * There was an unexpected internal server error. Retrying your request might resolve the issue.
+ * @throws ForbiddenException
+ * Access forbidden. Check your credentials and then retry your request.
+ * @throws NotFoundException
+ * The resource could not be found due to incorrect input. Correct the input, then retry the request.
+ * @throws ServiceUnavailableException
+ * 503 response
+ * @sample AWSKafka.DescribeConfigurationRevision
+ * @see AWS API Documentation
+ */
+ @Override
+ public DescribeConfigurationRevisionResult describeConfigurationRevision(DescribeConfigurationRevisionRequest request) {
+ request = beforeClientExecution(request);
+ return executeDescribeConfigurationRevision(request);
+ }
+
+ @SdkInternalApi
+ final DescribeConfigurationRevisionResult executeDescribeConfigurationRevision(DescribeConfigurationRevisionRequest describeConfigurationRevisionRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(describeConfigurationRevisionRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new DescribeConfigurationRevisionRequestProtocolMarshaller(protocolFactory).marshall(super
+ .beforeMarshalling(describeConfigurationRevisionRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Kafka");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DescribeConfigurationRevision");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
+ new DescribeConfigurationRevisionResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
/**
*
* A list of brokers that a client application can use to bootstrap.
@@ -459,6 +656,68 @@ final ListClustersResult executeListClusters(ListClustersRequest listClustersReq
}
}
+ /**
+ *
+ * Returns a list of all the MSK configurations in this Region for this account.
+ *
+ *
+ * @param listConfigurationsRequest
+ * @return Result of the ListConfigurations operation returned by the service.
+ * @throws ServiceUnavailableException
+ * 503 response
+ * @throws BadRequestException
+ * Because of incorrect input, the request isn't valid. Correct the input, then retry the request.
+ * @throws UnauthorizedException
+ * The request is not authorized. The provided credentials couldn't be validated.
+ * @throws InternalServerErrorException
+ * There was an unexpected internal server error. Retrying your request might resolve the issue.
+ * @throws ForbiddenException
+ * Access forbidden. Check your credentials and then retry your request.
+ * @sample AWSKafka.ListConfigurations
+ * @see AWS API
+ * Documentation
+ */
+ @Override
+ public ListConfigurationsResult listConfigurations(ListConfigurationsRequest request) {
+ request = beforeClientExecution(request);
+ return executeListConfigurations(request);
+ }
+
+ @SdkInternalApi
+ final ListConfigurationsResult executeListConfigurations(ListConfigurationsRequest listConfigurationsRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(listConfigurationsRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new ListConfigurationsRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listConfigurationsRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "Kafka");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListConfigurations");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListConfigurationsResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
/**
*
* Returns a list of the broker nodes in the cluster.
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AbstractAWSKafka.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AbstractAWSKafka.java
index 6cc7c3d637ba..e3e4d14c5952 100644
--- a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AbstractAWSKafka.java
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AbstractAWSKafka.java
@@ -32,6 +32,11 @@ public CreateClusterResult createCluster(CreateClusterRequest request) {
throw new java.lang.UnsupportedOperationException();
}
+ @Override
+ public CreateConfigurationResult createConfiguration(CreateConfigurationRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
@Override
public DeleteClusterResult deleteCluster(DeleteClusterRequest request) {
throw new java.lang.UnsupportedOperationException();
@@ -42,6 +47,16 @@ public DescribeClusterResult describeCluster(DescribeClusterRequest request) {
throw new java.lang.UnsupportedOperationException();
}
+ @Override
+ public DescribeConfigurationResult describeConfiguration(DescribeConfigurationRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public DescribeConfigurationRevisionResult describeConfigurationRevision(DescribeConfigurationRevisionRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
@Override
public GetBootstrapBrokersResult getBootstrapBrokers(GetBootstrapBrokersRequest request) {
throw new java.lang.UnsupportedOperationException();
@@ -52,6 +67,11 @@ public ListClustersResult listClusters(ListClustersRequest request) {
throw new java.lang.UnsupportedOperationException();
}
+ @Override
+ public ListConfigurationsResult listConfigurations(ListConfigurationsRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
@Override
public ListNodesResult listNodes(ListNodesRequest request) {
throw new java.lang.UnsupportedOperationException();
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AbstractAWSKafkaAsync.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AbstractAWSKafkaAsync.java
index fca25e515ad4..d2ed4a9946ce 100644
--- a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AbstractAWSKafkaAsync.java
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/AbstractAWSKafkaAsync.java
@@ -39,6 +39,19 @@ public java.util.concurrent.Future createClusterAsync(Creat
throw new java.lang.UnsupportedOperationException();
}
+ @Override
+ public java.util.concurrent.Future createConfigurationAsync(CreateConfigurationRequest request) {
+
+ return createConfigurationAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future createConfigurationAsync(CreateConfigurationRequest request,
+ com.amazonaws.handlers.AsyncHandler asyncHandler) {
+
+ throw new java.lang.UnsupportedOperationException();
+ }
+
@Override
public java.util.concurrent.Future deleteClusterAsync(DeleteClusterRequest request) {
@@ -65,6 +78,32 @@ public java.util.concurrent.Future describeClusterAsync(D
throw new java.lang.UnsupportedOperationException();
}
+ @Override
+ public java.util.concurrent.Future describeConfigurationAsync(DescribeConfigurationRequest request) {
+
+ return describeConfigurationAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future describeConfigurationAsync(DescribeConfigurationRequest request,
+ com.amazonaws.handlers.AsyncHandler asyncHandler) {
+
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public java.util.concurrent.Future describeConfigurationRevisionAsync(DescribeConfigurationRevisionRequest request) {
+
+ return describeConfigurationRevisionAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future describeConfigurationRevisionAsync(DescribeConfigurationRevisionRequest request,
+ com.amazonaws.handlers.AsyncHandler asyncHandler) {
+
+ throw new java.lang.UnsupportedOperationException();
+ }
+
@Override
public java.util.concurrent.Future getBootstrapBrokersAsync(GetBootstrapBrokersRequest request) {
@@ -91,6 +130,19 @@ public java.util.concurrent.Future listClustersAsync(ListClu
throw new java.lang.UnsupportedOperationException();
}
+ @Override
+ public java.util.concurrent.Future listConfigurationsAsync(ListConfigurationsRequest request) {
+
+ return listConfigurationsAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future listConfigurationsAsync(ListConfigurationsRequest request,
+ com.amazonaws.handlers.AsyncHandler asyncHandler) {
+
+ throw new java.lang.UnsupportedOperationException();
+ }
+
@Override
public java.util.concurrent.Future listNodesAsync(ListNodesRequest request) {
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/BrokerSoftwareInfo.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/BrokerSoftwareInfo.java
index 5ba75e4f1a53..87d08b93d949 100644
--- a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/BrokerSoftwareInfo.java
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/BrokerSoftwareInfo.java
@@ -39,7 +39,7 @@ public class BrokerSoftwareInfo implements Serializable, Cloneable, StructuredPo
* The revision of the configuration to use.
*
*/
- private String configurationRevision;
+ private Long configurationRevision;
/**
*
* The version of Apache Kafka.
@@ -96,7 +96,7 @@ public BrokerSoftwareInfo withConfigurationArn(String configurationArn) {
* The revision of the configuration to use.
*/
- public void setConfigurationRevision(String configurationRevision) {
+ public void setConfigurationRevision(Long configurationRevision) {
this.configurationRevision = configurationRevision;
}
@@ -108,7 +108,7 @@ public void setConfigurationRevision(String configurationRevision) {
* @return The revision of the configuration to use.
*/
- public String getConfigurationRevision() {
+ public Long getConfigurationRevision() {
return this.configurationRevision;
}
@@ -122,7 +122,7 @@ public String getConfigurationRevision() {
* @return Returns a reference to this object so that method calls can be chained together.
*/
- public BrokerSoftwareInfo withConfigurationRevision(String configurationRevision) {
+ public BrokerSoftwareInfo withConfigurationRevision(Long configurationRevision) {
setConfigurationRevision(configurationRevision);
return this;
}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/Configuration.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/Configuration.java
new file mode 100644
index 000000000000..f3ee13cdb8e2
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/Configuration.java
@@ -0,0 +1,449 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ *
+ * Represents an MSK Configuration.
+ *
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class Configuration implements Serializable, Cloneable, StructuredPojo {
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the configuration.
+ *
+ */
+ private String arn;
+ /**
+ *
+ * The time when the configuration was created.
+ *
+ */
+ private java.util.Date creationTime;
+ /**
+ *
+ * The description of the configuration.
+ *
+ */
+ private String description;
+ /**
+ *
+ * An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this
+ * configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this
+ * array.
+ *
+ */
+ private java.util.List kafkaVersions;
+ /**
+ *
+ * Latest revision of the configuration.
+ *
+ */
+ private ConfigurationRevision latestRevision;
+ /**
+ *
+ * The name of the configuration.
+ *
+ */
+ private String name;
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the configuration.
+ *
+ *
+ * @param arn
+ * The Amazon Resource Name (ARN) of the configuration.
+ */
+
+ public void setArn(String arn) {
+ this.arn = arn;
+ }
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the configuration.
+ *
+ *
+ * @return The Amazon Resource Name (ARN) of the configuration.
+ */
+
+ public String getArn() {
+ return this.arn;
+ }
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the configuration.
+ *
+ *
+ * @param arn
+ * The Amazon Resource Name (ARN) of the configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public Configuration withArn(String arn) {
+ setArn(arn);
+ return this;
+ }
+
+ /**
+ *
+ * The time when the configuration was created.
+ *
+ *
+ * @param creationTime
+ * The time when the configuration was created.
+ */
+
+ public void setCreationTime(java.util.Date creationTime) {
+ this.creationTime = creationTime;
+ }
+
+ /**
+ *
+ * The time when the configuration was created.
+ *
+ *
+ * @return The time when the configuration was created.
+ */
+
+ public java.util.Date getCreationTime() {
+ return this.creationTime;
+ }
+
+ /**
+ *
+ * The time when the configuration was created.
+ *
+ *
+ * @param creationTime
+ * The time when the configuration was created.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public Configuration withCreationTime(java.util.Date creationTime) {
+ setCreationTime(creationTime);
+ return this;
+ }
+
+ /**
+ *
+ * The description of the configuration.
+ *
+ *
+ * @param description
+ * The description of the configuration.
+ */
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ /**
+ *
+ * The description of the configuration.
+ *
+ *
+ * @return The description of the configuration.
+ */
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ /**
+ *
+ * The description of the configuration.
+ *
+ *
+ * @param description
+ * The description of the configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public Configuration withDescription(String description) {
+ setDescription(description);
+ return this;
+ }
+
+ /**
+ *
+ * An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this
+ * configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this
+ * array.
+ *
+ *
+ * @return An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this
+ * configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in
+ * this array.
+ */
+
+ public java.util.List getKafkaVersions() {
+ return kafkaVersions;
+ }
+
+ /**
+ *
+ * An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this
+ * configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this
+ * array.
+ *
+ *
+ * @param kafkaVersions
+ * An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this
+ * configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in
+ * this array.
+ */
+
+ public void setKafkaVersions(java.util.Collection kafkaVersions) {
+ if (kafkaVersions == null) {
+ this.kafkaVersions = null;
+ return;
+ }
+
+ this.kafkaVersions = new java.util.ArrayList(kafkaVersions);
+ }
+
+ /**
+ *
+ * An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this
+ * configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this
+ * array.
+ *
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setKafkaVersions(java.util.Collection)} or {@link #withKafkaVersions(java.util.Collection)} if you want
+ * to override the existing values.
+ *
+ *
+ * @param kafkaVersions
+ * An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this
+ * configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in
+ * this array.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public Configuration withKafkaVersions(String... kafkaVersions) {
+ if (this.kafkaVersions == null) {
+ setKafkaVersions(new java.util.ArrayList(kafkaVersions.length));
+ }
+ for (String ele : kafkaVersions) {
+ this.kafkaVersions.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ *
+ * An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this
+ * configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this
+ * array.
+ *
+ *
+ * @param kafkaVersions
+ * An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this
+ * configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in
+ * this array.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public Configuration withKafkaVersions(java.util.Collection kafkaVersions) {
+ setKafkaVersions(kafkaVersions);
+ return this;
+ }
+
+ /**
+ *
+ * Latest revision of the configuration.
+ *
+ *
+ * @param latestRevision
+ * Latest revision of the configuration.
+ */
+
+ public void setLatestRevision(ConfigurationRevision latestRevision) {
+ this.latestRevision = latestRevision;
+ }
+
+ /**
+ *
+ * Latest revision of the configuration.
+ *
+ *
+ * @return Latest revision of the configuration.
+ */
+
+ public ConfigurationRevision getLatestRevision() {
+ return this.latestRevision;
+ }
+
+ /**
+ *
+ * Latest revision of the configuration.
+ *
+ *
+ * @param latestRevision
+ * Latest revision of the configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public Configuration withLatestRevision(ConfigurationRevision latestRevision) {
+ setLatestRevision(latestRevision);
+ return this;
+ }
+
+ /**
+ *
+ * The name of the configuration.
+ *
+ *
+ * @param name
+ * The name of the configuration.
+ */
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ *
+ * The name of the configuration.
+ *
+ *
+ * @return The name of the configuration.
+ */
+
+ public String getName() {
+ return this.name;
+ }
+
+ /**
+ *
+ * The name of the configuration.
+ *
+ *
+ * @param name
+ * The name of the configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public Configuration withName(String name) {
+ setName(name);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getArn() != null)
+ sb.append("Arn: ").append(getArn()).append(",");
+ if (getCreationTime() != null)
+ sb.append("CreationTime: ").append(getCreationTime()).append(",");
+ if (getDescription() != null)
+ sb.append("Description: ").append(getDescription()).append(",");
+ if (getKafkaVersions() != null)
+ sb.append("KafkaVersions: ").append(getKafkaVersions()).append(",");
+ if (getLatestRevision() != null)
+ sb.append("LatestRevision: ").append(getLatestRevision()).append(",");
+ if (getName() != null)
+ sb.append("Name: ").append(getName());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof Configuration == false)
+ return false;
+ Configuration other = (Configuration) obj;
+ if (other.getArn() == null ^ this.getArn() == null)
+ return false;
+ if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
+ return false;
+ if (other.getCreationTime() == null ^ this.getCreationTime() == null)
+ return false;
+ if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false)
+ return false;
+ if (other.getDescription() == null ^ this.getDescription() == null)
+ return false;
+ if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false)
+ return false;
+ if (other.getKafkaVersions() == null ^ this.getKafkaVersions() == null)
+ return false;
+ if (other.getKafkaVersions() != null && other.getKafkaVersions().equals(this.getKafkaVersions()) == false)
+ return false;
+ if (other.getLatestRevision() == null ^ this.getLatestRevision() == null)
+ return false;
+ if (other.getLatestRevision() != null && other.getLatestRevision().equals(this.getLatestRevision()) == false)
+ return false;
+ if (other.getName() == null ^ this.getName() == null)
+ return false;
+ if (other.getName() != null && other.getName().equals(this.getName()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
+ hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode());
+ hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
+ hashCode = prime * hashCode + ((getKafkaVersions() == null) ? 0 : getKafkaVersions().hashCode());
+ hashCode = prime * hashCode + ((getLatestRevision() == null) ? 0 : getLatestRevision().hashCode());
+ hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public Configuration clone() {
+ try {
+ return (Configuration) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.kafka.model.transform.ConfigurationMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ConfigurationInfo.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ConfigurationInfo.java
new file mode 100644
index 000000000000..c7363a55b5c1
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ConfigurationInfo.java
@@ -0,0 +1,189 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ *
+ * Specifies the Kafka configuration to use for the brokers.
+ *
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ConfigurationInfo implements Serializable, Cloneable, StructuredPojo {
+
+ /**
+ *
+ * ARN of the configuration to use.
+ *
+ */
+ private String arn;
+ /**
+ *
+ * The revision of the configuration to use.
+ *
+ */
+ private Long revision;
+
+ /**
+ *
+ * ARN of the configuration to use.
+ *
+ *
+ * @param arn
+ * ARN of the configuration to use.
+ */
+
+ public void setArn(String arn) {
+ this.arn = arn;
+ }
+
+ /**
+ *
+ * ARN of the configuration to use.
+ *
+ *
+ * @return ARN of the configuration to use.
+ */
+
+ public String getArn() {
+ return this.arn;
+ }
+
+ /**
+ *
+ * ARN of the configuration to use.
+ *
+ *
+ * @param arn
+ * ARN of the configuration to use.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ConfigurationInfo withArn(String arn) {
+ setArn(arn);
+ return this;
+ }
+
+ /**
+ *
+ * The revision of the configuration to use.
+ *
+ *
+ * @param revision
+ * The revision of the configuration to use.
+ */
+
+ public void setRevision(Long revision) {
+ this.revision = revision;
+ }
+
+ /**
+ *
+ * The revision of the configuration to use.
+ *
+ *
+ * @return The revision of the configuration to use.
+ */
+
+ public Long getRevision() {
+ return this.revision;
+ }
+
+ /**
+ *
+ * The revision of the configuration to use.
+ *
+ *
+ * @param revision
+ * The revision of the configuration to use.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ConfigurationInfo withRevision(Long revision) {
+ setRevision(revision);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getArn() != null)
+ sb.append("Arn: ").append(getArn()).append(",");
+ if (getRevision() != null)
+ sb.append("Revision: ").append(getRevision());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof ConfigurationInfo == false)
+ return false;
+ ConfigurationInfo other = (ConfigurationInfo) obj;
+ if (other.getArn() == null ^ this.getArn() == null)
+ return false;
+ if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
+ return false;
+ if (other.getRevision() == null ^ this.getRevision() == null)
+ return false;
+ if (other.getRevision() != null && other.getRevision().equals(this.getRevision()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
+ hashCode = prime * hashCode + ((getRevision() == null) ? 0 : getRevision().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public ConfigurationInfo clone() {
+ try {
+ return (ConfigurationInfo) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.kafka.model.transform.ConfigurationInfoMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ConfigurationRevision.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ConfigurationRevision.java
new file mode 100644
index 000000000000..a0c0f8a5d03b
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ConfigurationRevision.java
@@ -0,0 +1,242 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ *
+ * Describes a configuration revision.
+ *
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ConfigurationRevision implements Serializable, Cloneable, StructuredPojo {
+
+ /**
+ *
+ * The time when the configuration revision was created.
+ *
+ */
+ private java.util.Date creationTime;
+ /**
+ *
+ * The description of the configuration revision.
+ *
+ */
+ private String description;
+ /**
+ *
+ * The revision number.
+ *
+ */
+ private Long revision;
+
+ /**
+ *
+ * The time when the configuration revision was created.
+ *
+ *
+ * @param creationTime
+ * The time when the configuration revision was created.
+ */
+
+ public void setCreationTime(java.util.Date creationTime) {
+ this.creationTime = creationTime;
+ }
+
+ /**
+ *
+ * The time when the configuration revision was created.
+ *
+ *
+ * @return The time when the configuration revision was created.
+ */
+
+ public java.util.Date getCreationTime() {
+ return this.creationTime;
+ }
+
+ /**
+ *
+ * The time when the configuration revision was created.
+ *
+ *
+ * @param creationTime
+ * The time when the configuration revision was created.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ConfigurationRevision withCreationTime(java.util.Date creationTime) {
+ setCreationTime(creationTime);
+ return this;
+ }
+
+ /**
+ *
+ * The description of the configuration revision.
+ *
+ *
+ * @param description
+ * The description of the configuration revision.
+ */
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ /**
+ *
+ * The description of the configuration revision.
+ *
+ *
+ * @return The description of the configuration revision.
+ */
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ /**
+ *
+ * The description of the configuration revision.
+ *
+ *
+ * @param description
+ * The description of the configuration revision.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ConfigurationRevision withDescription(String description) {
+ setDescription(description);
+ return this;
+ }
+
+ /**
+ *
+ * The revision number.
+ *
+ *
+ * @param revision
+ * The revision number.
+ */
+
+ public void setRevision(Long revision) {
+ this.revision = revision;
+ }
+
+ /**
+ *
+ * The revision number.
+ *
+ *
+ * @return The revision number.
+ */
+
+ public Long getRevision() {
+ return this.revision;
+ }
+
+ /**
+ *
+ * The revision number.
+ *
+ *
+ * @param revision
+ * The revision number.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ConfigurationRevision withRevision(Long revision) {
+ setRevision(revision);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getCreationTime() != null)
+ sb.append("CreationTime: ").append(getCreationTime()).append(",");
+ if (getDescription() != null)
+ sb.append("Description: ").append(getDescription()).append(",");
+ if (getRevision() != null)
+ sb.append("Revision: ").append(getRevision());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof ConfigurationRevision == false)
+ return false;
+ ConfigurationRevision other = (ConfigurationRevision) obj;
+ if (other.getCreationTime() == null ^ this.getCreationTime() == null)
+ return false;
+ if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false)
+ return false;
+ if (other.getDescription() == null ^ this.getDescription() == null)
+ return false;
+ if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false)
+ return false;
+ if (other.getRevision() == null ^ this.getRevision() == null)
+ return false;
+ if (other.getRevision() != null && other.getRevision().equals(this.getRevision()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode());
+ hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
+ hashCode = prime * hashCode + ((getRevision() == null) ? 0 : getRevision().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public ConfigurationRevision clone() {
+ try {
+ return (ConfigurationRevision) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.kafka.model.transform.ConfigurationRevisionMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/CreateClusterRequest.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/CreateClusterRequest.java
index fe60fdd81fc3..04368ab23f9a 100644
--- a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/CreateClusterRequest.java
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/CreateClusterRequest.java
@@ -37,6 +37,12 @@ public class CreateClusterRequest extends com.amazonaws.AmazonWebServiceRequest
*
*/
private String clusterName;
+ /**
+ *
+ * Comprises of the Configuration to be used on Kafka brokers in a cluster.
+ *
+ */
+ private ConfigurationInfo configurationInfo;
/**
*
* Includes all encryption-related information.
@@ -143,6 +149,46 @@ public CreateClusterRequest withClusterName(String clusterName) {
return this;
}
+ /**
+ *
+ * Comprises of the Configuration to be used on Kafka brokers in a cluster.
+ *
+ *
+ * @param configurationInfo
+ * Comprises of the Configuration to be used on Kafka brokers in a cluster.
+ */
+
+ public void setConfigurationInfo(ConfigurationInfo configurationInfo) {
+ this.configurationInfo = configurationInfo;
+ }
+
+ /**
+ *
+ * Comprises of the Configuration to be used on Kafka brokers in a cluster.
+ *
+ *
+ * @return Comprises of the Configuration to be used on Kafka brokers in a cluster.
+ */
+
+ public ConfigurationInfo getConfigurationInfo() {
+ return this.configurationInfo;
+ }
+
+ /**
+ *
+ * Comprises of the Configuration to be used on Kafka brokers in a cluster.
+ *
+ *
+ * @param configurationInfo
+ * Comprises of the Configuration to be used on Kafka brokers in a cluster.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateClusterRequest withConfigurationInfo(ConfigurationInfo configurationInfo) {
+ setConfigurationInfo(configurationInfo);
+ return this;
+ }
+
/**
*
* Includes all encryption-related information.
@@ -346,6 +392,8 @@ public String toString() {
sb.append("BrokerNodeGroupInfo: ").append(getBrokerNodeGroupInfo()).append(",");
if (getClusterName() != null)
sb.append("ClusterName: ").append(getClusterName()).append(",");
+ if (getConfigurationInfo() != null)
+ sb.append("ConfigurationInfo: ").append(getConfigurationInfo()).append(",");
if (getEncryptionInfo() != null)
sb.append("EncryptionInfo: ").append(getEncryptionInfo()).append(",");
if (getEnhancedMonitoring() != null)
@@ -376,6 +424,10 @@ public boolean equals(Object obj) {
return false;
if (other.getClusterName() != null && other.getClusterName().equals(this.getClusterName()) == false)
return false;
+ if (other.getConfigurationInfo() == null ^ this.getConfigurationInfo() == null)
+ return false;
+ if (other.getConfigurationInfo() != null && other.getConfigurationInfo().equals(this.getConfigurationInfo()) == false)
+ return false;
if (other.getEncryptionInfo() == null ^ this.getEncryptionInfo() == null)
return false;
if (other.getEncryptionInfo() != null && other.getEncryptionInfo().equals(this.getEncryptionInfo()) == false)
@@ -402,6 +454,7 @@ public int hashCode() {
hashCode = prime * hashCode + ((getBrokerNodeGroupInfo() == null) ? 0 : getBrokerNodeGroupInfo().hashCode());
hashCode = prime * hashCode + ((getClusterName() == null) ? 0 : getClusterName().hashCode());
+ hashCode = prime * hashCode + ((getConfigurationInfo() == null) ? 0 : getConfigurationInfo().hashCode());
hashCode = prime * hashCode + ((getEncryptionInfo() == null) ? 0 : getEncryptionInfo().hashCode());
hashCode = prime * hashCode + ((getEnhancedMonitoring() == null) ? 0 : getEnhancedMonitoring().hashCode());
hashCode = prime * hashCode + ((getKafkaVersion() == null) ? 0 : getKafkaVersion().hashCode());
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/CreateConfigurationRequest.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/CreateConfigurationRequest.java
new file mode 100644
index 000000000000..6ebd0024206f
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/CreateConfigurationRequest.java
@@ -0,0 +1,354 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class CreateConfigurationRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ /**
+ *
+ * The description of the configuration.
+ *
+ */
+ private String description;
+ /**
+ *
+ * The versions of Apache Kafka with which you can use this MSK configuration.
+ *
+ */
+ private java.util.List kafkaVersions;
+ /**
+ *
+ * The name of the configuration.
+ *
+ */
+ private String name;
+ /**
+ *
+ * Contents of the server.properties file. When using the API, you must ensure that the contents of the file are
+ * base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties
+ * can be in plaintext.
+ *
+ */
+ private java.nio.ByteBuffer serverProperties;
+
+ /**
+ *
+ * The description of the configuration.
+ *
+ *
+ * @param description
+ * The description of the configuration.
+ */
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ /**
+ *
+ * The description of the configuration.
+ *
+ *
+ * @return The description of the configuration.
+ */
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ /**
+ *
+ * The description of the configuration.
+ *
+ *
+ * @param description
+ * The description of the configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateConfigurationRequest withDescription(String description) {
+ setDescription(description);
+ return this;
+ }
+
+ /**
+ *
+ * The versions of Apache Kafka with which you can use this MSK configuration.
+ *
+ *
+ * @return The versions of Apache Kafka with which you can use this MSK configuration.
+ */
+
+ public java.util.List getKafkaVersions() {
+ return kafkaVersions;
+ }
+
+ /**
+ *
+ * The versions of Apache Kafka with which you can use this MSK configuration.
+ *
+ *
+ * @param kafkaVersions
+ * The versions of Apache Kafka with which you can use this MSK configuration.
+ */
+
+ public void setKafkaVersions(java.util.Collection kafkaVersions) {
+ if (kafkaVersions == null) {
+ this.kafkaVersions = null;
+ return;
+ }
+
+ this.kafkaVersions = new java.util.ArrayList(kafkaVersions);
+ }
+
+ /**
+ *
+ * The versions of Apache Kafka with which you can use this MSK configuration.
+ *
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setKafkaVersions(java.util.Collection)} or {@link #withKafkaVersions(java.util.Collection)} if you want
+ * to override the existing values.
+ *
+ *
+ * @param kafkaVersions
+ * The versions of Apache Kafka with which you can use this MSK configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateConfigurationRequest withKafkaVersions(String... kafkaVersions) {
+ if (this.kafkaVersions == null) {
+ setKafkaVersions(new java.util.ArrayList(kafkaVersions.length));
+ }
+ for (String ele : kafkaVersions) {
+ this.kafkaVersions.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ *
+ * The versions of Apache Kafka with which you can use this MSK configuration.
+ *
+ *
+ * @param kafkaVersions
+ * The versions of Apache Kafka with which you can use this MSK configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateConfigurationRequest withKafkaVersions(java.util.Collection kafkaVersions) {
+ setKafkaVersions(kafkaVersions);
+ return this;
+ }
+
+ /**
+ *
+ * The name of the configuration.
+ *
+ *
+ * @param name
+ * The name of the configuration.
+ */
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ *
+ * The name of the configuration.
+ *
+ *
+ * @return The name of the configuration.
+ */
+
+ public String getName() {
+ return this.name;
+ }
+
+ /**
+ *
+ * The name of the configuration.
+ *
+ *
+ * @param name
+ * The name of the configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateConfigurationRequest withName(String name) {
+ setName(name);
+ return this;
+ }
+
+ /**
+ *
+ * Contents of the server.properties file. When using the API, you must ensure that the contents of the file are
+ * base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties
+ * can be in plaintext.
+ *
+ *
+ * The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service.
+ * Users of the SDK should not perform Base64 encoding on this field.
+ *
+ *
+ * Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will
+ * be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or
+ * ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future
+ * major version of the SDK.
+ *
+ *
+ * @param serverProperties
+ * Contents of the server.properties file. When using the API, you must ensure that the contents of the file
+ * are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of
+ * server.properties can be in plaintext.
+ */
+
+ public void setServerProperties(java.nio.ByteBuffer serverProperties) {
+ this.serverProperties = serverProperties;
+ }
+
+ /**
+ *
+ * Contents of the server.properties file. When using the API, you must ensure that the contents of the file are
+ * base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties
+ * can be in plaintext.
+ *
+ *
+ * {@code ByteBuffer}s are stateful. Calling their {@code get} methods changes their {@code position}. We recommend
+ * using {@link java.nio.ByteBuffer#asReadOnlyBuffer()} to create a read-only view of the buffer with an independent
+ * {@code position}, and calling {@code get} methods on this rather than directly on the returned {@code ByteBuffer}.
+ * Doing so will ensure that anyone else using the {@code ByteBuffer} will not be affected by changes to the
+ * {@code position}.
+ *
+ *
+ * @return Contents of the server.properties file. When using the API, you must ensure that the contents of the file
+ * are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of
+ * server.properties can be in plaintext.
+ */
+
+ public java.nio.ByteBuffer getServerProperties() {
+ return this.serverProperties;
+ }
+
+ /**
+ *
+ * Contents of the server.properties file. When using the API, you must ensure that the contents of the file are
+ * base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties
+ * can be in plaintext.
+ *
+ *
+ * The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service.
+ * Users of the SDK should not perform Base64 encoding on this field.
+ *
+ *
+ * Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will
+ * be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or
+ * ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future
+ * major version of the SDK.
+ *
+ *
+ * @param serverProperties
+ * Contents of the server.properties file. When using the API, you must ensure that the contents of the file
+ * are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of
+ * server.properties can be in plaintext.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateConfigurationRequest withServerProperties(java.nio.ByteBuffer serverProperties) {
+ setServerProperties(serverProperties);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getDescription() != null)
+ sb.append("Description: ").append(getDescription()).append(",");
+ if (getKafkaVersions() != null)
+ sb.append("KafkaVersions: ").append(getKafkaVersions()).append(",");
+ if (getName() != null)
+ sb.append("Name: ").append(getName()).append(",");
+ if (getServerProperties() != null)
+ sb.append("ServerProperties: ").append(getServerProperties());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof CreateConfigurationRequest == false)
+ return false;
+ CreateConfigurationRequest other = (CreateConfigurationRequest) obj;
+ if (other.getDescription() == null ^ this.getDescription() == null)
+ return false;
+ if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false)
+ return false;
+ if (other.getKafkaVersions() == null ^ this.getKafkaVersions() == null)
+ return false;
+ if (other.getKafkaVersions() != null && other.getKafkaVersions().equals(this.getKafkaVersions()) == false)
+ return false;
+ if (other.getName() == null ^ this.getName() == null)
+ return false;
+ if (other.getName() != null && other.getName().equals(this.getName()) == false)
+ return false;
+ if (other.getServerProperties() == null ^ this.getServerProperties() == null)
+ return false;
+ if (other.getServerProperties() != null && other.getServerProperties().equals(this.getServerProperties()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
+ hashCode = prime * hashCode + ((getKafkaVersions() == null) ? 0 : getKafkaVersions().hashCode());
+ hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode());
+ hashCode = prime * hashCode + ((getServerProperties() == null) ? 0 : getServerProperties().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public CreateConfigurationRequest clone() {
+ return (CreateConfigurationRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/CreateConfigurationResult.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/CreateConfigurationResult.java
new file mode 100644
index 000000000000..ccd680e37485
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/CreateConfigurationResult.java
@@ -0,0 +1,285 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class CreateConfigurationResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the configuration.
+ *
+ */
+ private String arn;
+ /**
+ *
+ * The time when the configuration was created.
+ *
+ */
+ private java.util.Date creationTime;
+ /**
+ *
+ * Latest revision of the configuration.
+ *
+ */
+ private ConfigurationRevision latestRevision;
+ /**
+ *
+ * The name of the configuration.
+ *
+ */
+ private String name;
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the configuration.
+ *
+ *
+ * @param arn
+ * The Amazon Resource Name (ARN) of the configuration.
+ */
+
+ public void setArn(String arn) {
+ this.arn = arn;
+ }
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the configuration.
+ *
+ *
+ * @return The Amazon Resource Name (ARN) of the configuration.
+ */
+
+ public String getArn() {
+ return this.arn;
+ }
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the configuration.
+ *
+ *
+ * @param arn
+ * The Amazon Resource Name (ARN) of the configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateConfigurationResult withArn(String arn) {
+ setArn(arn);
+ return this;
+ }
+
+ /**
+ *
+ * The time when the configuration was created.
+ *
+ *
+ * @param creationTime
+ * The time when the configuration was created.
+ */
+
+ public void setCreationTime(java.util.Date creationTime) {
+ this.creationTime = creationTime;
+ }
+
+ /**
+ *
+ * The time when the configuration was created.
+ *
+ *
+ * @return The time when the configuration was created.
+ */
+
+ public java.util.Date getCreationTime() {
+ return this.creationTime;
+ }
+
+ /**
+ *
+ * The time when the configuration was created.
+ *
+ *
+ * @param creationTime
+ * The time when the configuration was created.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateConfigurationResult withCreationTime(java.util.Date creationTime) {
+ setCreationTime(creationTime);
+ return this;
+ }
+
+ /**
+ *
+ * Latest revision of the configuration.
+ *
+ *
+ * @param latestRevision
+ * Latest revision of the configuration.
+ */
+
+ public void setLatestRevision(ConfigurationRevision latestRevision) {
+ this.latestRevision = latestRevision;
+ }
+
+ /**
+ *
+ * Latest revision of the configuration.
+ *
+ *
+ * @return Latest revision of the configuration.
+ */
+
+ public ConfigurationRevision getLatestRevision() {
+ return this.latestRevision;
+ }
+
+ /**
+ *
+ * Latest revision of the configuration.
+ *
+ *
+ * @param latestRevision
+ * Latest revision of the configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateConfigurationResult withLatestRevision(ConfigurationRevision latestRevision) {
+ setLatestRevision(latestRevision);
+ return this;
+ }
+
+ /**
+ *
+ * The name of the configuration.
+ *
+ *
+ * @param name
+ * The name of the configuration.
+ */
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ *
+ * The name of the configuration.
+ *
+ *
+ * @return The name of the configuration.
+ */
+
+ public String getName() {
+ return this.name;
+ }
+
+ /**
+ *
+ * The name of the configuration.
+ *
+ *
+ * @param name
+ * The name of the configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateConfigurationResult withName(String name) {
+ setName(name);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getArn() != null)
+ sb.append("Arn: ").append(getArn()).append(",");
+ if (getCreationTime() != null)
+ sb.append("CreationTime: ").append(getCreationTime()).append(",");
+ if (getLatestRevision() != null)
+ sb.append("LatestRevision: ").append(getLatestRevision()).append(",");
+ if (getName() != null)
+ sb.append("Name: ").append(getName());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof CreateConfigurationResult == false)
+ return false;
+ CreateConfigurationResult other = (CreateConfigurationResult) obj;
+ if (other.getArn() == null ^ this.getArn() == null)
+ return false;
+ if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
+ return false;
+ if (other.getCreationTime() == null ^ this.getCreationTime() == null)
+ return false;
+ if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false)
+ return false;
+ if (other.getLatestRevision() == null ^ this.getLatestRevision() == null)
+ return false;
+ if (other.getLatestRevision() != null && other.getLatestRevision().equals(this.getLatestRevision()) == false)
+ return false;
+ if (other.getName() == null ^ this.getName() == null)
+ return false;
+ if (other.getName() != null && other.getName().equals(this.getName()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
+ hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode());
+ hashCode = prime * hashCode + ((getLatestRevision() == null) ? 0 : getLatestRevision().hashCode());
+ hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public CreateConfigurationResult clone() {
+ try {
+ return (CreateConfigurationResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/DescribeConfigurationRequest.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/DescribeConfigurationRequest.java
new file mode 100644
index 000000000000..26d97365fcbc
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/DescribeConfigurationRequest.java
@@ -0,0 +1,124 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DescribeConfigurationRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
+ *
+ */
+ private String arn;
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
+ *
+ *
+ * @param arn
+ * The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
+ */
+
+ public void setArn(String arn) {
+ this.arn = arn;
+ }
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
+ *
+ *
+ * @return The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
+ */
+
+ public String getArn() {
+ return this.arn;
+ }
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
+ *
+ *
+ * @param arn
+ * The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeConfigurationRequest withArn(String arn) {
+ setArn(arn);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getArn() != null)
+ sb.append("Arn: ").append(getArn());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DescribeConfigurationRequest == false)
+ return false;
+ DescribeConfigurationRequest other = (DescribeConfigurationRequest) obj;
+ if (other.getArn() == null ^ this.getArn() == null)
+ return false;
+ if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DescribeConfigurationRequest clone() {
+ return (DescribeConfigurationRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/DescribeConfigurationResult.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/DescribeConfigurationResult.java
new file mode 100644
index 000000000000..5926f6e65a27
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/DescribeConfigurationResult.java
@@ -0,0 +1,421 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DescribeConfigurationResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the configuration.
+ *
+ */
+ private String arn;
+ /**
+ *
+ * The time when the configuration was created.
+ *
+ */
+ private java.util.Date creationTime;
+ /**
+ *
+ * The description of the configuration.
+ *
+ */
+ private String description;
+ /**
+ *
+ * The versions of Apache Kafka with which you can use this MSK configuration.
+ *
+ */
+ private java.util.List kafkaVersions;
+ /**
+ *
+ * Latest revision of the configuration.
+ *
+ */
+ private ConfigurationRevision latestRevision;
+ /**
+ *
+ * The name of the configuration.
+ *
+ */
+ private String name;
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the configuration.
+ *
+ *
+ * @param arn
+ * The Amazon Resource Name (ARN) of the configuration.
+ */
+
+ public void setArn(String arn) {
+ this.arn = arn;
+ }
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the configuration.
+ *
+ *
+ * @return The Amazon Resource Name (ARN) of the configuration.
+ */
+
+ public String getArn() {
+ return this.arn;
+ }
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the configuration.
+ *
+ *
+ * @param arn
+ * The Amazon Resource Name (ARN) of the configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeConfigurationResult withArn(String arn) {
+ setArn(arn);
+ return this;
+ }
+
+ /**
+ *
+ * The time when the configuration was created.
+ *
+ *
+ * @param creationTime
+ * The time when the configuration was created.
+ */
+
+ public void setCreationTime(java.util.Date creationTime) {
+ this.creationTime = creationTime;
+ }
+
+ /**
+ *
+ * The time when the configuration was created.
+ *
+ *
+ * @return The time when the configuration was created.
+ */
+
+ public java.util.Date getCreationTime() {
+ return this.creationTime;
+ }
+
+ /**
+ *
+ * The time when the configuration was created.
+ *
+ *
+ * @param creationTime
+ * The time when the configuration was created.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeConfigurationResult withCreationTime(java.util.Date creationTime) {
+ setCreationTime(creationTime);
+ return this;
+ }
+
+ /**
+ *
+ * The description of the configuration.
+ *
+ *
+ * @param description
+ * The description of the configuration.
+ */
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ /**
+ *
+ * The description of the configuration.
+ *
+ *
+ * @return The description of the configuration.
+ */
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ /**
+ *
+ * The description of the configuration.
+ *
+ *
+ * @param description
+ * The description of the configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeConfigurationResult withDescription(String description) {
+ setDescription(description);
+ return this;
+ }
+
+ /**
+ *
+ * The versions of Apache Kafka with which you can use this MSK configuration.
+ *
+ *
+ * @return The versions of Apache Kafka with which you can use this MSK configuration.
+ */
+
+ public java.util.List getKafkaVersions() {
+ return kafkaVersions;
+ }
+
+ /**
+ *
+ * The versions of Apache Kafka with which you can use this MSK configuration.
+ *
+ *
+ * @param kafkaVersions
+ * The versions of Apache Kafka with which you can use this MSK configuration.
+ */
+
+ public void setKafkaVersions(java.util.Collection kafkaVersions) {
+ if (kafkaVersions == null) {
+ this.kafkaVersions = null;
+ return;
+ }
+
+ this.kafkaVersions = new java.util.ArrayList(kafkaVersions);
+ }
+
+ /**
+ *
+ * The versions of Apache Kafka with which you can use this MSK configuration.
+ *
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setKafkaVersions(java.util.Collection)} or {@link #withKafkaVersions(java.util.Collection)} if you want
+ * to override the existing values.
+ *
+ *
+ * @param kafkaVersions
+ * The versions of Apache Kafka with which you can use this MSK configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeConfigurationResult withKafkaVersions(String... kafkaVersions) {
+ if (this.kafkaVersions == null) {
+ setKafkaVersions(new java.util.ArrayList(kafkaVersions.length));
+ }
+ for (String ele : kafkaVersions) {
+ this.kafkaVersions.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ *
+ * The versions of Apache Kafka with which you can use this MSK configuration.
+ *
+ *
+ * @param kafkaVersions
+ * The versions of Apache Kafka with which you can use this MSK configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeConfigurationResult withKafkaVersions(java.util.Collection kafkaVersions) {
+ setKafkaVersions(kafkaVersions);
+ return this;
+ }
+
+ /**
+ *
+ * Latest revision of the configuration.
+ *
+ *
+ * @param latestRevision
+ * Latest revision of the configuration.
+ */
+
+ public void setLatestRevision(ConfigurationRevision latestRevision) {
+ this.latestRevision = latestRevision;
+ }
+
+ /**
+ *
+ * Latest revision of the configuration.
+ *
+ *
+ * @return Latest revision of the configuration.
+ */
+
+ public ConfigurationRevision getLatestRevision() {
+ return this.latestRevision;
+ }
+
+ /**
+ *
+ * Latest revision of the configuration.
+ *
+ *
+ * @param latestRevision
+ * Latest revision of the configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeConfigurationResult withLatestRevision(ConfigurationRevision latestRevision) {
+ setLatestRevision(latestRevision);
+ return this;
+ }
+
+ /**
+ *
+ * The name of the configuration.
+ *
+ *
+ * @param name
+ * The name of the configuration.
+ */
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ /**
+ *
+ * The name of the configuration.
+ *
+ *
+ * @return The name of the configuration.
+ */
+
+ public String getName() {
+ return this.name;
+ }
+
+ /**
+ *
+ * The name of the configuration.
+ *
+ *
+ * @param name
+ * The name of the configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeConfigurationResult withName(String name) {
+ setName(name);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getArn() != null)
+ sb.append("Arn: ").append(getArn()).append(",");
+ if (getCreationTime() != null)
+ sb.append("CreationTime: ").append(getCreationTime()).append(",");
+ if (getDescription() != null)
+ sb.append("Description: ").append(getDescription()).append(",");
+ if (getKafkaVersions() != null)
+ sb.append("KafkaVersions: ").append(getKafkaVersions()).append(",");
+ if (getLatestRevision() != null)
+ sb.append("LatestRevision: ").append(getLatestRevision()).append(",");
+ if (getName() != null)
+ sb.append("Name: ").append(getName());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DescribeConfigurationResult == false)
+ return false;
+ DescribeConfigurationResult other = (DescribeConfigurationResult) obj;
+ if (other.getArn() == null ^ this.getArn() == null)
+ return false;
+ if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
+ return false;
+ if (other.getCreationTime() == null ^ this.getCreationTime() == null)
+ return false;
+ if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false)
+ return false;
+ if (other.getDescription() == null ^ this.getDescription() == null)
+ return false;
+ if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false)
+ return false;
+ if (other.getKafkaVersions() == null ^ this.getKafkaVersions() == null)
+ return false;
+ if (other.getKafkaVersions() != null && other.getKafkaVersions().equals(this.getKafkaVersions()) == false)
+ return false;
+ if (other.getLatestRevision() == null ^ this.getLatestRevision() == null)
+ return false;
+ if (other.getLatestRevision() != null && other.getLatestRevision().equals(this.getLatestRevision()) == false)
+ return false;
+ if (other.getName() == null ^ this.getName() == null)
+ return false;
+ if (other.getName() != null && other.getName().equals(this.getName()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
+ hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode());
+ hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
+ hashCode = prime * hashCode + ((getKafkaVersions() == null) ? 0 : getKafkaVersions().hashCode());
+ hashCode = prime * hashCode + ((getLatestRevision() == null) ? 0 : getLatestRevision().hashCode());
+ hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DescribeConfigurationResult clone() {
+ try {
+ return (DescribeConfigurationResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/DescribeConfigurationRevisionRequest.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/DescribeConfigurationRevisionRequest.java
new file mode 100644
index 000000000000..ac6f8bf60c3b
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/DescribeConfigurationRevisionRequest.java
@@ -0,0 +1,177 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DescribeConfigurationRevisionRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
+ *
+ */
+ private String arn;
+ /**
+ *
+ * A string that uniquely identifies a revision of an MSK configuration.
+ *
+ */
+ private Long revision;
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
+ *
+ *
+ * @param arn
+ * The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
+ */
+
+ public void setArn(String arn) {
+ this.arn = arn;
+ }
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
+ *
+ *
+ * @return The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
+ */
+
+ public String getArn() {
+ return this.arn;
+ }
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
+ *
+ *
+ * @param arn
+ * The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeConfigurationRevisionRequest withArn(String arn) {
+ setArn(arn);
+ return this;
+ }
+
+ /**
+ *
+ * A string that uniquely identifies a revision of an MSK configuration.
+ *
+ *
+ * @param revision
+ * A string that uniquely identifies a revision of an MSK configuration.
+ */
+
+ public void setRevision(Long revision) {
+ this.revision = revision;
+ }
+
+ /**
+ *
+ * A string that uniquely identifies a revision of an MSK configuration.
+ *
+ *
+ * @return A string that uniquely identifies a revision of an MSK configuration.
+ */
+
+ public Long getRevision() {
+ return this.revision;
+ }
+
+ /**
+ *
+ * A string that uniquely identifies a revision of an MSK configuration.
+ *
+ *
+ * @param revision
+ * A string that uniquely identifies a revision of an MSK configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeConfigurationRevisionRequest withRevision(Long revision) {
+ setRevision(revision);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getArn() != null)
+ sb.append("Arn: ").append(getArn()).append(",");
+ if (getRevision() != null)
+ sb.append("Revision: ").append(getRevision());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DescribeConfigurationRevisionRequest == false)
+ return false;
+ DescribeConfigurationRevisionRequest other = (DescribeConfigurationRevisionRequest) obj;
+ if (other.getArn() == null ^ this.getArn() == null)
+ return false;
+ if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
+ return false;
+ if (other.getRevision() == null ^ this.getRevision() == null)
+ return false;
+ if (other.getRevision() != null && other.getRevision().equals(this.getRevision()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
+ hashCode = prime * hashCode + ((getRevision() == null) ? 0 : getRevision().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DescribeConfigurationRevisionRequest clone() {
+ return (DescribeConfigurationRevisionRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/DescribeConfigurationRevisionResult.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/DescribeConfigurationRevisionResult.java
new file mode 100644
index 000000000000..4d1f56680807
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/DescribeConfigurationRevisionResult.java
@@ -0,0 +1,380 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DescribeConfigurationRevisionResult extends com.amazonaws.AmazonWebServiceResult implements Serializable,
+ Cloneable {
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the configuration.
+ *
+ */
+ private String arn;
+ /**
+ *
+ * The time when the configuration was created.
+ *
+ */
+ private java.util.Date creationTime;
+ /**
+ *
+ * The description of the configuration.
+ *
+ */
+ private String description;
+ /**
+ *
+ * The revision number.
+ *
+ */
+ private Long revision;
+ /**
+ *
+ * Contents of the server.properties file. When using the API, you must ensure that the contents of the file are
+ * base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties
+ * can be in plaintext.
+ *
+ */
+ private java.nio.ByteBuffer serverProperties;
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the configuration.
+ *
+ *
+ * @param arn
+ * The Amazon Resource Name (ARN) of the configuration.
+ */
+
+ public void setArn(String arn) {
+ this.arn = arn;
+ }
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the configuration.
+ *
+ *
+ * @return The Amazon Resource Name (ARN) of the configuration.
+ */
+
+ public String getArn() {
+ return this.arn;
+ }
+
+ /**
+ *
+ * The Amazon Resource Name (ARN) of the configuration.
+ *
+ *
+ * @param arn
+ * The Amazon Resource Name (ARN) of the configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeConfigurationRevisionResult withArn(String arn) {
+ setArn(arn);
+ return this;
+ }
+
+ /**
+ *
+ * The time when the configuration was created.
+ *
+ *
+ * @param creationTime
+ * The time when the configuration was created.
+ */
+
+ public void setCreationTime(java.util.Date creationTime) {
+ this.creationTime = creationTime;
+ }
+
+ /**
+ *
+ * The time when the configuration was created.
+ *
+ *
+ * @return The time when the configuration was created.
+ */
+
+ public java.util.Date getCreationTime() {
+ return this.creationTime;
+ }
+
+ /**
+ *
+ * The time when the configuration was created.
+ *
+ *
+ * @param creationTime
+ * The time when the configuration was created.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeConfigurationRevisionResult withCreationTime(java.util.Date creationTime) {
+ setCreationTime(creationTime);
+ return this;
+ }
+
+ /**
+ *
+ * The description of the configuration.
+ *
+ *
+ * @param description
+ * The description of the configuration.
+ */
+
+ public void setDescription(String description) {
+ this.description = description;
+ }
+
+ /**
+ *
+ * The description of the configuration.
+ *
+ *
+ * @return The description of the configuration.
+ */
+
+ public String getDescription() {
+ return this.description;
+ }
+
+ /**
+ *
+ * The description of the configuration.
+ *
+ *
+ * @param description
+ * The description of the configuration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeConfigurationRevisionResult withDescription(String description) {
+ setDescription(description);
+ return this;
+ }
+
+ /**
+ *
+ * The revision number.
+ *
+ *
+ * @param revision
+ * The revision number.
+ */
+
+ public void setRevision(Long revision) {
+ this.revision = revision;
+ }
+
+ /**
+ *
+ * The revision number.
+ *
+ *
+ * @return The revision number.
+ */
+
+ public Long getRevision() {
+ return this.revision;
+ }
+
+ /**
+ *
+ * The revision number.
+ *
+ *
+ * @param revision
+ * The revision number.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeConfigurationRevisionResult withRevision(Long revision) {
+ setRevision(revision);
+ return this;
+ }
+
+ /**
+ *
+ * Contents of the server.properties file. When using the API, you must ensure that the contents of the file are
+ * base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties
+ * can be in plaintext.
+ *
+ *
+ * The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service.
+ * Users of the SDK should not perform Base64 encoding on this field.
+ *
+ *
+ * Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will
+ * be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or
+ * ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future
+ * major version of the SDK.
+ *
+ *
+ * @param serverProperties
+ * Contents of the server.properties file. When using the API, you must ensure that the contents of the file
+ * are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of
+ * server.properties can be in plaintext.
+ */
+
+ public void setServerProperties(java.nio.ByteBuffer serverProperties) {
+ this.serverProperties = serverProperties;
+ }
+
+ /**
+ *
+ * Contents of the server.properties file. When using the API, you must ensure that the contents of the file are
+ * base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties
+ * can be in plaintext.
+ *
+ *
+ * {@code ByteBuffer}s are stateful. Calling their {@code get} methods changes their {@code position}. We recommend
+ * using {@link java.nio.ByteBuffer#asReadOnlyBuffer()} to create a read-only view of the buffer with an independent
+ * {@code position}, and calling {@code get} methods on this rather than directly on the returned {@code ByteBuffer}.
+ * Doing so will ensure that anyone else using the {@code ByteBuffer} will not be affected by changes to the
+ * {@code position}.
+ *
+ *
+ * @return Contents of the server.properties file. When using the API, you must ensure that the contents of the file
+ * are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of
+ * server.properties can be in plaintext.
+ */
+
+ public java.nio.ByteBuffer getServerProperties() {
+ return this.serverProperties;
+ }
+
+ /**
+ *
+ * Contents of the server.properties file. When using the API, you must ensure that the contents of the file are
+ * base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties
+ * can be in plaintext.
+ *
+ *
+ * The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service.
+ * Users of the SDK should not perform Base64 encoding on this field.
+ *
+ *
+ * Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will
+ * be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or
+ * ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future
+ * major version of the SDK.
+ *
+ *
+ * @param serverProperties
+ * Contents of the server.properties file. When using the API, you must ensure that the contents of the file
+ * are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of
+ * server.properties can be in plaintext.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeConfigurationRevisionResult withServerProperties(java.nio.ByteBuffer serverProperties) {
+ setServerProperties(serverProperties);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getArn() != null)
+ sb.append("Arn: ").append(getArn()).append(",");
+ if (getCreationTime() != null)
+ sb.append("CreationTime: ").append(getCreationTime()).append(",");
+ if (getDescription() != null)
+ sb.append("Description: ").append(getDescription()).append(",");
+ if (getRevision() != null)
+ sb.append("Revision: ").append(getRevision()).append(",");
+ if (getServerProperties() != null)
+ sb.append("ServerProperties: ").append(getServerProperties());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DescribeConfigurationRevisionResult == false)
+ return false;
+ DescribeConfigurationRevisionResult other = (DescribeConfigurationRevisionResult) obj;
+ if (other.getArn() == null ^ this.getArn() == null)
+ return false;
+ if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
+ return false;
+ if (other.getCreationTime() == null ^ this.getCreationTime() == null)
+ return false;
+ if (other.getCreationTime() != null && other.getCreationTime().equals(this.getCreationTime()) == false)
+ return false;
+ if (other.getDescription() == null ^ this.getDescription() == null)
+ return false;
+ if (other.getDescription() != null && other.getDescription().equals(this.getDescription()) == false)
+ return false;
+ if (other.getRevision() == null ^ this.getRevision() == null)
+ return false;
+ if (other.getRevision() != null && other.getRevision().equals(this.getRevision()) == false)
+ return false;
+ if (other.getServerProperties() == null ^ this.getServerProperties() == null)
+ return false;
+ if (other.getServerProperties() != null && other.getServerProperties().equals(this.getServerProperties()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
+ hashCode = prime * hashCode + ((getCreationTime() == null) ? 0 : getCreationTime().hashCode());
+ hashCode = prime * hashCode + ((getDescription() == null) ? 0 : getDescription().hashCode());
+ hashCode = prime * hashCode + ((getRevision() == null) ? 0 : getRevision().hashCode());
+ hashCode = prime * hashCode + ((getServerProperties() == null) ? 0 : getServerProperties().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DescribeConfigurationRevisionResult clone() {
+ try {
+ return (DescribeConfigurationRevisionResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ListConfigurationsRequest.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ListConfigurationsRequest.java
new file mode 100644
index 000000000000..1e343d7c5bb9
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ListConfigurationsRequest.java
@@ -0,0 +1,191 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ListConfigurationsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ /**
+ *
+ * The maximum number of results to return in the response. If there are more results, the response includes a
+ * NextToken parameter.
+ *
+ */
+ private String maxResults;
+ /**
+ *
+ * The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the
+ * response. To get the next batch, provide this token in your next request.
+ *
+ */
+ private String nextToken;
+
+ /**
+ *
+ * The maximum number of results to return in the response. If there are more results, the response includes a
+ * NextToken parameter.
+ *
+ *
+ * @param maxResults
+ * The maximum number of results to return in the response. If there are more results, the response includes
+ * a NextToken parameter.
+ */
+
+ public void setMaxResults(String maxResults) {
+ this.maxResults = maxResults;
+ }
+
+ /**
+ *
+ * The maximum number of results to return in the response. If there are more results, the response includes a
+ * NextToken parameter.
+ *
+ *
+ * @return The maximum number of results to return in the response. If there are more results, the response includes
+ * a NextToken parameter.
+ */
+
+ public String getMaxResults() {
+ return this.maxResults;
+ }
+
+ /**
+ *
+ * The maximum number of results to return in the response. If there are more results, the response includes a
+ * NextToken parameter.
+ *
+ *
+ * @param maxResults
+ * The maximum number of results to return in the response. If there are more results, the response includes
+ * a NextToken parameter.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListConfigurationsRequest withMaxResults(String maxResults) {
+ setMaxResults(maxResults);
+ return this;
+ }
+
+ /**
+ *
+ * The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the
+ * response. To get the next batch, provide this token in your next request.
+ *
+ *
+ * @param nextToken
+ * The paginated results marker. When the result of the operation is truncated, the call returns NextToken in
+ * the response. To get the next batch, provide this token in your next request.
+ */
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ /**
+ *
+ * The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the
+ * response. To get the next batch, provide this token in your next request.
+ *
+ *
+ * @return The paginated results marker. When the result of the operation is truncated, the call returns NextToken
+ * in the response. To get the next batch, provide this token in your next request.
+ */
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ /**
+ *
+ * The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the
+ * response. To get the next batch, provide this token in your next request.
+ *
+ *
+ * @param nextToken
+ * The paginated results marker. When the result of the operation is truncated, the call returns NextToken in
+ * the response. To get the next batch, provide this token in your next request.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListConfigurationsRequest withNextToken(String nextToken) {
+ setNextToken(nextToken);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getMaxResults() != null)
+ sb.append("MaxResults: ").append(getMaxResults()).append(",");
+ if (getNextToken() != null)
+ sb.append("NextToken: ").append(getNextToken());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof ListConfigurationsRequest == false)
+ return false;
+ ListConfigurationsRequest other = (ListConfigurationsRequest) obj;
+ if (other.getMaxResults() == null ^ this.getMaxResults() == null)
+ return false;
+ if (other.getMaxResults() != null && other.getMaxResults().equals(this.getMaxResults()) == false)
+ return false;
+ if (other.getNextToken() == null ^ this.getNextToken() == null)
+ return false;
+ if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode());
+ hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public ListConfigurationsRequest clone() {
+ return (ListConfigurationsRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ListConfigurationsResult.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ListConfigurationsResult.java
new file mode 100644
index 000000000000..e31d16cf4891
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ListConfigurationsResult.java
@@ -0,0 +1,219 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ListConfigurationsResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ /**
+ *
+ * An array of MSK configurations.
+ *
+ */
+ private java.util.List configurations;
+ /**
+ *
+ * The paginated results marker. When the result of a ListConfigurations operation is truncated, the call returns
+ * NextToken in the response. To get another batch of configurations, provide this token in your next request.
+ *
+ */
+ private String nextToken;
+
+ /**
+ *
+ * An array of MSK configurations.
+ *
+ *
+ * @return An array of MSK configurations.
+ */
+
+ public java.util.List getConfigurations() {
+ return configurations;
+ }
+
+ /**
+ *
+ * An array of MSK configurations.
+ *
+ *
+ * @param configurations
+ * An array of MSK configurations.
+ */
+
+ public void setConfigurations(java.util.Collection configurations) {
+ if (configurations == null) {
+ this.configurations = null;
+ return;
+ }
+
+ this.configurations = new java.util.ArrayList(configurations);
+ }
+
+ /**
+ *
+ * An array of MSK configurations.
+ *
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setConfigurations(java.util.Collection)} or {@link #withConfigurations(java.util.Collection)} if you want
+ * to override the existing values.
+ *
+ *
+ * @param configurations
+ * An array of MSK configurations.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListConfigurationsResult withConfigurations(Configuration... configurations) {
+ if (this.configurations == null) {
+ setConfigurations(new java.util.ArrayList(configurations.length));
+ }
+ for (Configuration ele : configurations) {
+ this.configurations.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ *
+ * An array of MSK configurations.
+ *
+ *
+ * @param configurations
+ * An array of MSK configurations.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListConfigurationsResult withConfigurations(java.util.Collection configurations) {
+ setConfigurations(configurations);
+ return this;
+ }
+
+ /**
+ *
+ * The paginated results marker. When the result of a ListConfigurations operation is truncated, the call returns
+ * NextToken in the response. To get another batch of configurations, provide this token in your next request.
+ *
+ *
+ * @param nextToken
+ * The paginated results marker. When the result of a ListConfigurations operation is truncated, the call
+ * returns NextToken in the response. To get another batch of configurations, provide this token in your next
+ * request.
+ */
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ /**
+ *
+ * The paginated results marker. When the result of a ListConfigurations operation is truncated, the call returns
+ * NextToken in the response. To get another batch of configurations, provide this token in your next request.
+ *
+ *
+ * @return The paginated results marker. When the result of a ListConfigurations operation is truncated, the call
+ * returns NextToken in the response. To get another batch of configurations, provide this token in your
+ * next request.
+ */
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ /**
+ *
+ * The paginated results marker. When the result of a ListConfigurations operation is truncated, the call returns
+ * NextToken in the response. To get another batch of configurations, provide this token in your next request.
+ *
+ *
+ * @param nextToken
+ * The paginated results marker. When the result of a ListConfigurations operation is truncated, the call
+ * returns NextToken in the response. To get another batch of configurations, provide this token in your next
+ * request.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListConfigurationsResult withNextToken(String nextToken) {
+ setNextToken(nextToken);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getConfigurations() != null)
+ sb.append("Configurations: ").append(getConfigurations()).append(",");
+ if (getNextToken() != null)
+ sb.append("NextToken: ").append(getNextToken());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof ListConfigurationsResult == false)
+ return false;
+ ListConfigurationsResult other = (ListConfigurationsResult) obj;
+ if (other.getConfigurations() == null ^ this.getConfigurations() == null)
+ return false;
+ if (other.getConfigurations() != null && other.getConfigurations().equals(this.getConfigurations()) == false)
+ return false;
+ if (other.getNextToken() == null ^ this.getNextToken() == null)
+ return false;
+ if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getConfigurations() == null) ? 0 : getConfigurations().hashCode());
+ hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public ListConfigurationsResult clone() {
+ try {
+ return (ListConfigurationsResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/BrokerSoftwareInfoJsonUnmarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/BrokerSoftwareInfoJsonUnmarshaller.java
index e95f2c928ee7..22d0b826786b 100644
--- a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/BrokerSoftwareInfoJsonUnmarshaller.java
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/BrokerSoftwareInfoJsonUnmarshaller.java
@@ -54,7 +54,7 @@ public BrokerSoftwareInfo unmarshall(JsonUnmarshallerContext context) throws Exc
}
if (context.testExpression("configurationRevision", targetDepth)) {
context.nextToken();
- brokerSoftwareInfo.setConfigurationRevision(context.getUnmarshaller(String.class).unmarshall(context));
+ brokerSoftwareInfo.setConfigurationRevision(context.getUnmarshaller(Long.class).unmarshall(context));
}
if (context.testExpression("kafkaVersion", targetDepth)) {
context.nextToken();
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/BrokerSoftwareInfoMarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/BrokerSoftwareInfoMarshaller.java
index 5b86ecaa9453..10de27487fe1 100644
--- a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/BrokerSoftwareInfoMarshaller.java
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/BrokerSoftwareInfoMarshaller.java
@@ -29,7 +29,7 @@ public class BrokerSoftwareInfoMarshaller {
private static final MarshallingInfo CONFIGURATIONARN_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("configurationArn").build();
- private static final MarshallingInfo CONFIGURATIONREVISION_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
+ private static final MarshallingInfo CONFIGURATIONREVISION_BINDING = MarshallingInfo.builder(MarshallingType.LONG)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("configurationRevision").build();
private static final MarshallingInfo KAFKAVERSION_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("kafkaVersion").build();
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationInfoJsonUnmarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationInfoJsonUnmarshaller.java
new file mode 100644
index 000000000000..d376c67036dc
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationInfoJsonUnmarshaller.java
@@ -0,0 +1,78 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import java.math.*;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.services.kafka.model.*;
+import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
+import com.amazonaws.transform.*;
+
+import com.fasterxml.jackson.core.JsonToken;
+import static com.fasterxml.jackson.core.JsonToken.*;
+
+/**
+ * ConfigurationInfo JSON Unmarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ConfigurationInfoJsonUnmarshaller implements Unmarshaller {
+
+ public ConfigurationInfo unmarshall(JsonUnmarshallerContext context) throws Exception {
+ ConfigurationInfo configurationInfo = new ConfigurationInfo();
+
+ int originalDepth = context.getCurrentDepth();
+ String currentParentElement = context.getCurrentParentElement();
+ int targetDepth = originalDepth + 1;
+
+ JsonToken token = context.getCurrentToken();
+ if (token == null)
+ token = context.nextToken();
+ if (token == VALUE_NULL) {
+ return null;
+ }
+
+ while (true) {
+ if (token == null)
+ break;
+
+ if (token == FIELD_NAME || token == START_OBJECT) {
+ if (context.testExpression("arn", targetDepth)) {
+ context.nextToken();
+ configurationInfo.setArn(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ if (context.testExpression("revision", targetDepth)) {
+ context.nextToken();
+ configurationInfo.setRevision(context.getUnmarshaller(Long.class).unmarshall(context));
+ }
+ } else if (token == END_ARRAY || token == END_OBJECT) {
+ if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) {
+ if (context.getCurrentDepth() <= originalDepth)
+ break;
+ }
+ }
+ token = context.nextToken();
+ }
+
+ return configurationInfo;
+ }
+
+ private static ConfigurationInfoJsonUnmarshaller instance;
+
+ public static ConfigurationInfoJsonUnmarshaller getInstance() {
+ if (instance == null)
+ instance = new ConfigurationInfoJsonUnmarshaller();
+ return instance;
+ }
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationInfoMarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationInfoMarshaller.java
new file mode 100644
index 000000000000..da675d6ff547
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationInfoMarshaller.java
@@ -0,0 +1,58 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.services.kafka.model.*;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * ConfigurationInfoMarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class ConfigurationInfoMarshaller {
+
+ private static final MarshallingInfo ARN_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PAYLOAD)
+ .marshallLocationName("arn").build();
+ private static final MarshallingInfo REVISION_BINDING = MarshallingInfo.builder(MarshallingType.LONG).marshallLocation(MarshallLocation.PAYLOAD)
+ .marshallLocationName("revision").build();
+
+ private static final ConfigurationInfoMarshaller instance = new ConfigurationInfoMarshaller();
+
+ public static ConfigurationInfoMarshaller getInstance() {
+ return instance;
+ }
+
+ /**
+ * Marshall the given parameter object.
+ */
+ public void marshall(ConfigurationInfo configurationInfo, ProtocolMarshaller protocolMarshaller) {
+
+ if (configurationInfo == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ protocolMarshaller.marshall(configurationInfo.getArn(), ARN_BINDING);
+ protocolMarshaller.marshall(configurationInfo.getRevision(), REVISION_BINDING);
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationJsonUnmarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationJsonUnmarshaller.java
new file mode 100644
index 000000000000..87081e13583a
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationJsonUnmarshaller.java
@@ -0,0 +1,94 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import java.math.*;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.services.kafka.model.*;
+import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
+import com.amazonaws.transform.*;
+
+import com.fasterxml.jackson.core.JsonToken;
+import static com.fasterxml.jackson.core.JsonToken.*;
+
+/**
+ * Configuration JSON Unmarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ConfigurationJsonUnmarshaller implements Unmarshaller {
+
+ public Configuration unmarshall(JsonUnmarshallerContext context) throws Exception {
+ Configuration configuration = new Configuration();
+
+ int originalDepth = context.getCurrentDepth();
+ String currentParentElement = context.getCurrentParentElement();
+ int targetDepth = originalDepth + 1;
+
+ JsonToken token = context.getCurrentToken();
+ if (token == null)
+ token = context.nextToken();
+ if (token == VALUE_NULL) {
+ return null;
+ }
+
+ while (true) {
+ if (token == null)
+ break;
+
+ if (token == FIELD_NAME || token == START_OBJECT) {
+ if (context.testExpression("arn", targetDepth)) {
+ context.nextToken();
+ configuration.setArn(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ if (context.testExpression("creationTime", targetDepth)) {
+ context.nextToken();
+ configuration.setCreationTime(DateJsonUnmarshallerFactory.getInstance("iso8601").unmarshall(context));
+ }
+ if (context.testExpression("description", targetDepth)) {
+ context.nextToken();
+ configuration.setDescription(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ if (context.testExpression("kafkaVersions", targetDepth)) {
+ context.nextToken();
+ configuration.setKafkaVersions(new ListUnmarshaller(context.getUnmarshaller(String.class)).unmarshall(context));
+ }
+ if (context.testExpression("latestRevision", targetDepth)) {
+ context.nextToken();
+ configuration.setLatestRevision(ConfigurationRevisionJsonUnmarshaller.getInstance().unmarshall(context));
+ }
+ if (context.testExpression("name", targetDepth)) {
+ context.nextToken();
+ configuration.setName(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ } else if (token == END_ARRAY || token == END_OBJECT) {
+ if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) {
+ if (context.getCurrentDepth() <= originalDepth)
+ break;
+ }
+ }
+ token = context.nextToken();
+ }
+
+ return configuration;
+ }
+
+ private static ConfigurationJsonUnmarshaller instance;
+
+ public static ConfigurationJsonUnmarshaller getInstance() {
+ if (instance == null)
+ instance = new ConfigurationJsonUnmarshaller();
+ return instance;
+ }
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationMarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationMarshaller.java
new file mode 100644
index 000000000000..7a20d9add8c8
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationMarshaller.java
@@ -0,0 +1,71 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import java.util.List;
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.services.kafka.model.*;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * ConfigurationMarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class ConfigurationMarshaller {
+
+ private static final MarshallingInfo ARN_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PAYLOAD)
+ .marshallLocationName("arn").build();
+ private static final MarshallingInfo CREATIONTIME_BINDING = MarshallingInfo.builder(MarshallingType.DATE)
+ .marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("creationTime").timestampFormat("iso8601").build();
+ private static final MarshallingInfo DESCRIPTION_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
+ .marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("description").build();
+ private static final MarshallingInfo KAFKAVERSIONS_BINDING = MarshallingInfo.builder(MarshallingType.LIST).marshallLocation(MarshallLocation.PAYLOAD)
+ .marshallLocationName("kafkaVersions").build();
+ private static final MarshallingInfo LATESTREVISION_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
+ .marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("latestRevision").build();
+ private static final MarshallingInfo NAME_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PAYLOAD)
+ .marshallLocationName("name").build();
+
+ private static final ConfigurationMarshaller instance = new ConfigurationMarshaller();
+
+ public static ConfigurationMarshaller getInstance() {
+ return instance;
+ }
+
+ /**
+ * Marshall the given parameter object.
+ */
+ public void marshall(Configuration configuration, ProtocolMarshaller protocolMarshaller) {
+
+ if (configuration == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ protocolMarshaller.marshall(configuration.getArn(), ARN_BINDING);
+ protocolMarshaller.marshall(configuration.getCreationTime(), CREATIONTIME_BINDING);
+ protocolMarshaller.marshall(configuration.getDescription(), DESCRIPTION_BINDING);
+ protocolMarshaller.marshall(configuration.getKafkaVersions(), KAFKAVERSIONS_BINDING);
+ protocolMarshaller.marshall(configuration.getLatestRevision(), LATESTREVISION_BINDING);
+ protocolMarshaller.marshall(configuration.getName(), NAME_BINDING);
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationRevisionJsonUnmarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationRevisionJsonUnmarshaller.java
new file mode 100644
index 000000000000..01725a6edcff
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationRevisionJsonUnmarshaller.java
@@ -0,0 +1,82 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import java.math.*;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.services.kafka.model.*;
+import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
+import com.amazonaws.transform.*;
+
+import com.fasterxml.jackson.core.JsonToken;
+import static com.fasterxml.jackson.core.JsonToken.*;
+
+/**
+ * ConfigurationRevision JSON Unmarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ConfigurationRevisionJsonUnmarshaller implements Unmarshaller {
+
+ public ConfigurationRevision unmarshall(JsonUnmarshallerContext context) throws Exception {
+ ConfigurationRevision configurationRevision = new ConfigurationRevision();
+
+ int originalDepth = context.getCurrentDepth();
+ String currentParentElement = context.getCurrentParentElement();
+ int targetDepth = originalDepth + 1;
+
+ JsonToken token = context.getCurrentToken();
+ if (token == null)
+ token = context.nextToken();
+ if (token == VALUE_NULL) {
+ return null;
+ }
+
+ while (true) {
+ if (token == null)
+ break;
+
+ if (token == FIELD_NAME || token == START_OBJECT) {
+ if (context.testExpression("creationTime", targetDepth)) {
+ context.nextToken();
+ configurationRevision.setCreationTime(DateJsonUnmarshallerFactory.getInstance("iso8601").unmarshall(context));
+ }
+ if (context.testExpression("description", targetDepth)) {
+ context.nextToken();
+ configurationRevision.setDescription(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ if (context.testExpression("revision", targetDepth)) {
+ context.nextToken();
+ configurationRevision.setRevision(context.getUnmarshaller(Long.class).unmarshall(context));
+ }
+ } else if (token == END_ARRAY || token == END_OBJECT) {
+ if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) {
+ if (context.getCurrentDepth() <= originalDepth)
+ break;
+ }
+ }
+ token = context.nextToken();
+ }
+
+ return configurationRevision;
+ }
+
+ private static ConfigurationRevisionJsonUnmarshaller instance;
+
+ public static ConfigurationRevisionJsonUnmarshaller getInstance() {
+ if (instance == null)
+ instance = new ConfigurationRevisionJsonUnmarshaller();
+ return instance;
+ }
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationRevisionMarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationRevisionMarshaller.java
new file mode 100644
index 000000000000..d299e49ca9ce
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ConfigurationRevisionMarshaller.java
@@ -0,0 +1,61 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.services.kafka.model.*;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * ConfigurationRevisionMarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class ConfigurationRevisionMarshaller {
+
+ private static final MarshallingInfo CREATIONTIME_BINDING = MarshallingInfo.builder(MarshallingType.DATE)
+ .marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("creationTime").timestampFormat("iso8601").build();
+ private static final MarshallingInfo DESCRIPTION_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
+ .marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("description").build();
+ private static final MarshallingInfo REVISION_BINDING = MarshallingInfo.builder(MarshallingType.LONG).marshallLocation(MarshallLocation.PAYLOAD)
+ .marshallLocationName("revision").build();
+
+ private static final ConfigurationRevisionMarshaller instance = new ConfigurationRevisionMarshaller();
+
+ public static ConfigurationRevisionMarshaller getInstance() {
+ return instance;
+ }
+
+ /**
+ * Marshall the given parameter object.
+ */
+ public void marshall(ConfigurationRevision configurationRevision, ProtocolMarshaller protocolMarshaller) {
+
+ if (configurationRevision == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ protocolMarshaller.marshall(configurationRevision.getCreationTime(), CREATIONTIME_BINDING);
+ protocolMarshaller.marshall(configurationRevision.getDescription(), DESCRIPTION_BINDING);
+ protocolMarshaller.marshall(configurationRevision.getRevision(), REVISION_BINDING);
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/CreateClusterRequestMarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/CreateClusterRequestMarshaller.java
index ec85340c845f..8570f3780b98 100644
--- a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/CreateClusterRequestMarshaller.java
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/CreateClusterRequestMarshaller.java
@@ -31,6 +31,8 @@ public class CreateClusterRequestMarshaller {
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("brokerNodeGroupInfo").build();
private static final MarshallingInfo CLUSTERNAME_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("clusterName").build();
+ private static final MarshallingInfo CONFIGURATIONINFO_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
+ .marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("configurationInfo").build();
private static final MarshallingInfo ENCRYPTIONINFO_BINDING = MarshallingInfo.builder(MarshallingType.STRUCTURED)
.marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("encryptionInfo").build();
private static final MarshallingInfo ENHANCEDMONITORING_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
@@ -58,6 +60,7 @@ public void marshall(CreateClusterRequest createClusterRequest, ProtocolMarshall
try {
protocolMarshaller.marshall(createClusterRequest.getBrokerNodeGroupInfo(), BROKERNODEGROUPINFO_BINDING);
protocolMarshaller.marshall(createClusterRequest.getClusterName(), CLUSTERNAME_BINDING);
+ protocolMarshaller.marshall(createClusterRequest.getConfigurationInfo(), CONFIGURATIONINFO_BINDING);
protocolMarshaller.marshall(createClusterRequest.getEncryptionInfo(), ENCRYPTIONINFO_BINDING);
protocolMarshaller.marshall(createClusterRequest.getEnhancedMonitoring(), ENHANCEDMONITORING_BINDING);
protocolMarshaller.marshall(createClusterRequest.getKafkaVersion(), KAFKAVERSION_BINDING);
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/CreateConfigurationRequestMarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/CreateConfigurationRequestMarshaller.java
new file mode 100644
index 000000000000..f17e82f47e7b
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/CreateConfigurationRequestMarshaller.java
@@ -0,0 +1,65 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import java.util.List;
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.services.kafka.model.*;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * CreateConfigurationRequestMarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class CreateConfigurationRequestMarshaller {
+
+ private static final MarshallingInfo DESCRIPTION_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
+ .marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("description").build();
+ private static final MarshallingInfo KAFKAVERSIONS_BINDING = MarshallingInfo.builder(MarshallingType.LIST).marshallLocation(MarshallLocation.PAYLOAD)
+ .marshallLocationName("kafkaVersions").build();
+ private static final MarshallingInfo NAME_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PAYLOAD)
+ .marshallLocationName("name").build();
+ private static final MarshallingInfo SERVERPROPERTIES_BINDING = MarshallingInfo.builder(MarshallingType.BYTE_BUFFER)
+ .marshallLocation(MarshallLocation.PAYLOAD).marshallLocationName("serverProperties").build();
+
+ private static final CreateConfigurationRequestMarshaller instance = new CreateConfigurationRequestMarshaller();
+
+ public static CreateConfigurationRequestMarshaller getInstance() {
+ return instance;
+ }
+
+ /**
+ * Marshall the given parameter object.
+ */
+ public void marshall(CreateConfigurationRequest createConfigurationRequest, ProtocolMarshaller protocolMarshaller) {
+
+ if (createConfigurationRequest == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ protocolMarshaller.marshall(createConfigurationRequest.getDescription(), DESCRIPTION_BINDING);
+ protocolMarshaller.marshall(createConfigurationRequest.getKafkaVersions(), KAFKAVERSIONS_BINDING);
+ protocolMarshaller.marshall(createConfigurationRequest.getName(), NAME_BINDING);
+ protocolMarshaller.marshall(createConfigurationRequest.getServerProperties(), SERVERPROPERTIES_BINDING);
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/CreateConfigurationRequestProtocolMarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/CreateConfigurationRequestProtocolMarshaller.java
new file mode 100644
index 000000000000..4e83f064eb49
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/CreateConfigurationRequestProtocolMarshaller.java
@@ -0,0 +1,62 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.Request;
+
+import com.amazonaws.http.HttpMethodName;
+import com.amazonaws.services.kafka.model.*;
+import com.amazonaws.transform.Marshaller;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.protocol.Protocol;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * CreateConfigurationRequest Marshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class CreateConfigurationRequestProtocolMarshaller implements Marshaller, CreateConfigurationRequest> {
+
+ private static final OperationInfo SDK_OPERATION_BINDING = OperationInfo.builder().protocol(Protocol.REST_JSON).requestUri("/v1/configurations")
+ .httpMethodName(HttpMethodName.POST).hasExplicitPayloadMember(false).hasPayloadMembers(true).serviceName("AWSKafka").build();
+
+ private final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory;
+
+ public CreateConfigurationRequestProtocolMarshaller(com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory) {
+ this.protocolFactory = protocolFactory;
+ }
+
+ public Request marshall(CreateConfigurationRequest createConfigurationRequest) {
+
+ if (createConfigurationRequest == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ final ProtocolRequestMarshaller protocolMarshaller = protocolFactory.createProtocolMarshaller(SDK_OPERATION_BINDING,
+ createConfigurationRequest);
+
+ protocolMarshaller.startMarshalling();
+ CreateConfigurationRequestMarshaller.getInstance().marshall(createConfigurationRequest, protocolMarshaller);
+ return protocolMarshaller.finishMarshalling();
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/CreateConfigurationResultJsonUnmarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/CreateConfigurationResultJsonUnmarshaller.java
new file mode 100644
index 000000000000..890841c68f7c
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/CreateConfigurationResultJsonUnmarshaller.java
@@ -0,0 +1,86 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import java.math.*;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.services.kafka.model.*;
+import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
+import com.amazonaws.transform.*;
+
+import com.fasterxml.jackson.core.JsonToken;
+import static com.fasterxml.jackson.core.JsonToken.*;
+
+/**
+ * CreateConfigurationResult JSON Unmarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class CreateConfigurationResultJsonUnmarshaller implements Unmarshaller {
+
+ public CreateConfigurationResult unmarshall(JsonUnmarshallerContext context) throws Exception {
+ CreateConfigurationResult createConfigurationResult = new CreateConfigurationResult();
+
+ int originalDepth = context.getCurrentDepth();
+ String currentParentElement = context.getCurrentParentElement();
+ int targetDepth = originalDepth + 1;
+
+ JsonToken token = context.getCurrentToken();
+ if (token == null)
+ token = context.nextToken();
+ if (token == VALUE_NULL) {
+ return createConfigurationResult;
+ }
+
+ while (true) {
+ if (token == null)
+ break;
+
+ if (token == FIELD_NAME || token == START_OBJECT) {
+ if (context.testExpression("arn", targetDepth)) {
+ context.nextToken();
+ createConfigurationResult.setArn(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ if (context.testExpression("creationTime", targetDepth)) {
+ context.nextToken();
+ createConfigurationResult.setCreationTime(DateJsonUnmarshallerFactory.getInstance("iso8601").unmarshall(context));
+ }
+ if (context.testExpression("latestRevision", targetDepth)) {
+ context.nextToken();
+ createConfigurationResult.setLatestRevision(ConfigurationRevisionJsonUnmarshaller.getInstance().unmarshall(context));
+ }
+ if (context.testExpression("name", targetDepth)) {
+ context.nextToken();
+ createConfigurationResult.setName(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ } else if (token == END_ARRAY || token == END_OBJECT) {
+ if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) {
+ if (context.getCurrentDepth() <= originalDepth)
+ break;
+ }
+ }
+ token = context.nextToken();
+ }
+
+ return createConfigurationResult;
+ }
+
+ private static CreateConfigurationResultJsonUnmarshaller instance;
+
+ public static CreateConfigurationResultJsonUnmarshaller getInstance() {
+ if (instance == null)
+ instance = new CreateConfigurationResultJsonUnmarshaller();
+ return instance;
+ }
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationRequestMarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationRequestMarshaller.java
new file mode 100644
index 000000000000..9044fd8e7acd
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationRequestMarshaller.java
@@ -0,0 +1,55 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.services.kafka.model.*;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * DescribeConfigurationRequestMarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class DescribeConfigurationRequestMarshaller {
+
+ private static final MarshallingInfo ARN_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PATH)
+ .marshallLocationName("arn").build();
+
+ private static final DescribeConfigurationRequestMarshaller instance = new DescribeConfigurationRequestMarshaller();
+
+ public static DescribeConfigurationRequestMarshaller getInstance() {
+ return instance;
+ }
+
+ /**
+ * Marshall the given parameter object.
+ */
+ public void marshall(DescribeConfigurationRequest describeConfigurationRequest, ProtocolMarshaller protocolMarshaller) {
+
+ if (describeConfigurationRequest == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ protocolMarshaller.marshall(describeConfigurationRequest.getArn(), ARN_BINDING);
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationRequestProtocolMarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationRequestProtocolMarshaller.java
new file mode 100644
index 000000000000..7c862eea1be4
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationRequestProtocolMarshaller.java
@@ -0,0 +1,62 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.Request;
+
+import com.amazonaws.http.HttpMethodName;
+import com.amazonaws.services.kafka.model.*;
+import com.amazonaws.transform.Marshaller;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.protocol.Protocol;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * DescribeConfigurationRequest Marshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class DescribeConfigurationRequestProtocolMarshaller implements Marshaller, DescribeConfigurationRequest> {
+
+ private static final OperationInfo SDK_OPERATION_BINDING = OperationInfo.builder().protocol(Protocol.REST_JSON).requestUri("/v1/configurations/{arn}")
+ .httpMethodName(HttpMethodName.GET).hasExplicitPayloadMember(false).hasPayloadMembers(false).serviceName("AWSKafka").build();
+
+ private final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory;
+
+ public DescribeConfigurationRequestProtocolMarshaller(com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory) {
+ this.protocolFactory = protocolFactory;
+ }
+
+ public Request marshall(DescribeConfigurationRequest describeConfigurationRequest) {
+
+ if (describeConfigurationRequest == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ final ProtocolRequestMarshaller protocolMarshaller = protocolFactory.createProtocolMarshaller(SDK_OPERATION_BINDING,
+ describeConfigurationRequest);
+
+ protocolMarshaller.startMarshalling();
+ DescribeConfigurationRequestMarshaller.getInstance().marshall(describeConfigurationRequest, protocolMarshaller);
+ return protocolMarshaller.finishMarshalling();
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationResultJsonUnmarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationResultJsonUnmarshaller.java
new file mode 100644
index 000000000000..8cdd689496b3
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationResultJsonUnmarshaller.java
@@ -0,0 +1,94 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import java.math.*;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.services.kafka.model.*;
+import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
+import com.amazonaws.transform.*;
+
+import com.fasterxml.jackson.core.JsonToken;
+import static com.fasterxml.jackson.core.JsonToken.*;
+
+/**
+ * DescribeConfigurationResult JSON Unmarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DescribeConfigurationResultJsonUnmarshaller implements Unmarshaller {
+
+ public DescribeConfigurationResult unmarshall(JsonUnmarshallerContext context) throws Exception {
+ DescribeConfigurationResult describeConfigurationResult = new DescribeConfigurationResult();
+
+ int originalDepth = context.getCurrentDepth();
+ String currentParentElement = context.getCurrentParentElement();
+ int targetDepth = originalDepth + 1;
+
+ JsonToken token = context.getCurrentToken();
+ if (token == null)
+ token = context.nextToken();
+ if (token == VALUE_NULL) {
+ return describeConfigurationResult;
+ }
+
+ while (true) {
+ if (token == null)
+ break;
+
+ if (token == FIELD_NAME || token == START_OBJECT) {
+ if (context.testExpression("arn", targetDepth)) {
+ context.nextToken();
+ describeConfigurationResult.setArn(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ if (context.testExpression("creationTime", targetDepth)) {
+ context.nextToken();
+ describeConfigurationResult.setCreationTime(DateJsonUnmarshallerFactory.getInstance("iso8601").unmarshall(context));
+ }
+ if (context.testExpression("description", targetDepth)) {
+ context.nextToken();
+ describeConfigurationResult.setDescription(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ if (context.testExpression("kafkaVersions", targetDepth)) {
+ context.nextToken();
+ describeConfigurationResult.setKafkaVersions(new ListUnmarshaller(context.getUnmarshaller(String.class)).unmarshall(context));
+ }
+ if (context.testExpression("latestRevision", targetDepth)) {
+ context.nextToken();
+ describeConfigurationResult.setLatestRevision(ConfigurationRevisionJsonUnmarshaller.getInstance().unmarshall(context));
+ }
+ if (context.testExpression("name", targetDepth)) {
+ context.nextToken();
+ describeConfigurationResult.setName(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ } else if (token == END_ARRAY || token == END_OBJECT) {
+ if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) {
+ if (context.getCurrentDepth() <= originalDepth)
+ break;
+ }
+ }
+ token = context.nextToken();
+ }
+
+ return describeConfigurationResult;
+ }
+
+ private static DescribeConfigurationResultJsonUnmarshaller instance;
+
+ public static DescribeConfigurationResultJsonUnmarshaller getInstance() {
+ if (instance == null)
+ instance = new DescribeConfigurationResultJsonUnmarshaller();
+ return instance;
+ }
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationRevisionRequestMarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationRevisionRequestMarshaller.java
new file mode 100644
index 000000000000..594cc84da6b1
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationRevisionRequestMarshaller.java
@@ -0,0 +1,58 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.services.kafka.model.*;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * DescribeConfigurationRevisionRequestMarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class DescribeConfigurationRevisionRequestMarshaller {
+
+ private static final MarshallingInfo ARN_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PATH)
+ .marshallLocationName("arn").build();
+ private static final MarshallingInfo REVISION_BINDING = MarshallingInfo.builder(MarshallingType.LONG).marshallLocation(MarshallLocation.PATH)
+ .marshallLocationName("revision").build();
+
+ private static final DescribeConfigurationRevisionRequestMarshaller instance = new DescribeConfigurationRevisionRequestMarshaller();
+
+ public static DescribeConfigurationRevisionRequestMarshaller getInstance() {
+ return instance;
+ }
+
+ /**
+ * Marshall the given parameter object.
+ */
+ public void marshall(DescribeConfigurationRevisionRequest describeConfigurationRevisionRequest, ProtocolMarshaller protocolMarshaller) {
+
+ if (describeConfigurationRevisionRequest == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ protocolMarshaller.marshall(describeConfigurationRevisionRequest.getArn(), ARN_BINDING);
+ protocolMarshaller.marshall(describeConfigurationRevisionRequest.getRevision(), REVISION_BINDING);
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationRevisionRequestProtocolMarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationRevisionRequestProtocolMarshaller.java
new file mode 100644
index 000000000000..b7447fc611eb
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationRevisionRequestProtocolMarshaller.java
@@ -0,0 +1,64 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.Request;
+
+import com.amazonaws.http.HttpMethodName;
+import com.amazonaws.services.kafka.model.*;
+import com.amazonaws.transform.Marshaller;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.protocol.Protocol;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * DescribeConfigurationRevisionRequest Marshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class DescribeConfigurationRevisionRequestProtocolMarshaller implements
+ Marshaller, DescribeConfigurationRevisionRequest> {
+
+ private static final OperationInfo SDK_OPERATION_BINDING = OperationInfo.builder().protocol(Protocol.REST_JSON)
+ .requestUri("/v1/configurations/{arn}/revisions/{revision}").httpMethodName(HttpMethodName.GET).hasExplicitPayloadMember(false)
+ .hasPayloadMembers(false).serviceName("AWSKafka").build();
+
+ private final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory;
+
+ public DescribeConfigurationRevisionRequestProtocolMarshaller(com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory) {
+ this.protocolFactory = protocolFactory;
+ }
+
+ public Request marshall(DescribeConfigurationRevisionRequest describeConfigurationRevisionRequest) {
+
+ if (describeConfigurationRevisionRequest == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ final ProtocolRequestMarshaller protocolMarshaller = protocolFactory.createProtocolMarshaller(
+ SDK_OPERATION_BINDING, describeConfigurationRevisionRequest);
+
+ protocolMarshaller.startMarshalling();
+ DescribeConfigurationRevisionRequestMarshaller.getInstance().marshall(describeConfigurationRevisionRequest, protocolMarshaller);
+ return protocolMarshaller.finishMarshalling();
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationRevisionResultJsonUnmarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationRevisionResultJsonUnmarshaller.java
new file mode 100644
index 000000000000..cb669cde6d5f
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/DescribeConfigurationRevisionResultJsonUnmarshaller.java
@@ -0,0 +1,90 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import java.math.*;
+import java.nio.ByteBuffer;
+import javax.annotation.Generated;
+
+import com.amazonaws.services.kafka.model.*;
+import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
+import com.amazonaws.transform.*;
+
+import com.fasterxml.jackson.core.JsonToken;
+import static com.fasterxml.jackson.core.JsonToken.*;
+
+/**
+ * DescribeConfigurationRevisionResult JSON Unmarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DescribeConfigurationRevisionResultJsonUnmarshaller implements Unmarshaller {
+
+ public DescribeConfigurationRevisionResult unmarshall(JsonUnmarshallerContext context) throws Exception {
+ DescribeConfigurationRevisionResult describeConfigurationRevisionResult = new DescribeConfigurationRevisionResult();
+
+ int originalDepth = context.getCurrentDepth();
+ String currentParentElement = context.getCurrentParentElement();
+ int targetDepth = originalDepth + 1;
+
+ JsonToken token = context.getCurrentToken();
+ if (token == null)
+ token = context.nextToken();
+ if (token == VALUE_NULL) {
+ return describeConfigurationRevisionResult;
+ }
+
+ while (true) {
+ if (token == null)
+ break;
+
+ if (token == FIELD_NAME || token == START_OBJECT) {
+ if (context.testExpression("arn", targetDepth)) {
+ context.nextToken();
+ describeConfigurationRevisionResult.setArn(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ if (context.testExpression("creationTime", targetDepth)) {
+ context.nextToken();
+ describeConfigurationRevisionResult.setCreationTime(DateJsonUnmarshallerFactory.getInstance("iso8601").unmarshall(context));
+ }
+ if (context.testExpression("description", targetDepth)) {
+ context.nextToken();
+ describeConfigurationRevisionResult.setDescription(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ if (context.testExpression("revision", targetDepth)) {
+ context.nextToken();
+ describeConfigurationRevisionResult.setRevision(context.getUnmarshaller(Long.class).unmarshall(context));
+ }
+ if (context.testExpression("serverProperties", targetDepth)) {
+ context.nextToken();
+ describeConfigurationRevisionResult.setServerProperties(context.getUnmarshaller(java.nio.ByteBuffer.class).unmarshall(context));
+ }
+ } else if (token == END_ARRAY || token == END_OBJECT) {
+ if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) {
+ if (context.getCurrentDepth() <= originalDepth)
+ break;
+ }
+ }
+ token = context.nextToken();
+ }
+
+ return describeConfigurationRevisionResult;
+ }
+
+ private static DescribeConfigurationRevisionResultJsonUnmarshaller instance;
+
+ public static DescribeConfigurationRevisionResultJsonUnmarshaller getInstance() {
+ if (instance == null)
+ instance = new DescribeConfigurationRevisionResultJsonUnmarshaller();
+ return instance;
+ }
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ListConfigurationsRequestMarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ListConfigurationsRequestMarshaller.java
new file mode 100644
index 000000000000..987de17c3d96
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ListConfigurationsRequestMarshaller.java
@@ -0,0 +1,58 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.services.kafka.model.*;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * ListConfigurationsRequestMarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class ListConfigurationsRequestMarshaller {
+
+ private static final MarshallingInfo MAXRESULTS_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
+ .marshallLocation(MarshallLocation.QUERY_PARAM).marshallLocationName("maxResults").build();
+ private static final MarshallingInfo NEXTTOKEN_BINDING = MarshallingInfo.builder(MarshallingType.STRING)
+ .marshallLocation(MarshallLocation.QUERY_PARAM).marshallLocationName("nextToken").build();
+
+ private static final ListConfigurationsRequestMarshaller instance = new ListConfigurationsRequestMarshaller();
+
+ public static ListConfigurationsRequestMarshaller getInstance() {
+ return instance;
+ }
+
+ /**
+ * Marshall the given parameter object.
+ */
+ public void marshall(ListConfigurationsRequest listConfigurationsRequest, ProtocolMarshaller protocolMarshaller) {
+
+ if (listConfigurationsRequest == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ protocolMarshaller.marshall(listConfigurationsRequest.getMaxResults(), MAXRESULTS_BINDING);
+ protocolMarshaller.marshall(listConfigurationsRequest.getNextToken(), NEXTTOKEN_BINDING);
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ListConfigurationsRequestProtocolMarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ListConfigurationsRequestProtocolMarshaller.java
new file mode 100644
index 000000000000..af656b4827c5
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ListConfigurationsRequestProtocolMarshaller.java
@@ -0,0 +1,62 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.Request;
+
+import com.amazonaws.http.HttpMethodName;
+import com.amazonaws.services.kafka.model.*;
+import com.amazonaws.transform.Marshaller;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.protocol.Protocol;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * ListConfigurationsRequest Marshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class ListConfigurationsRequestProtocolMarshaller implements Marshaller, ListConfigurationsRequest> {
+
+ private static final OperationInfo SDK_OPERATION_BINDING = OperationInfo.builder().protocol(Protocol.REST_JSON).requestUri("/v1/configurations")
+ .httpMethodName(HttpMethodName.GET).hasExplicitPayloadMember(false).hasPayloadMembers(false).serviceName("AWSKafka").build();
+
+ private final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory;
+
+ public ListConfigurationsRequestProtocolMarshaller(com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory) {
+ this.protocolFactory = protocolFactory;
+ }
+
+ public Request marshall(ListConfigurationsRequest listConfigurationsRequest) {
+
+ if (listConfigurationsRequest == null) {
+ throw new SdkClientException("Invalid argument passed to marshall(...)");
+ }
+
+ try {
+ final ProtocolRequestMarshaller protocolMarshaller = protocolFactory.createProtocolMarshaller(SDK_OPERATION_BINDING,
+ listConfigurationsRequest);
+
+ protocolMarshaller.startMarshalling();
+ ListConfigurationsRequestMarshaller.getInstance().marshall(listConfigurationsRequest, protocolMarshaller);
+ return protocolMarshaller.finishMarshalling();
+ } catch (Exception e) {
+ throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ListConfigurationsResultJsonUnmarshaller.java b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ListConfigurationsResultJsonUnmarshaller.java
new file mode 100644
index 000000000000..e9514c4e5ec7
--- /dev/null
+++ b/aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/transform/ListConfigurationsResultJsonUnmarshaller.java
@@ -0,0 +1,79 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.kafka.model.transform;
+
+import java.math.*;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.services.kafka.model.*;
+import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
+import com.amazonaws.transform.*;
+
+import com.fasterxml.jackson.core.JsonToken;
+import static com.fasterxml.jackson.core.JsonToken.*;
+
+/**
+ * ListConfigurationsResult JSON Unmarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ListConfigurationsResultJsonUnmarshaller implements Unmarshaller {
+
+ public ListConfigurationsResult unmarshall(JsonUnmarshallerContext context) throws Exception {
+ ListConfigurationsResult listConfigurationsResult = new ListConfigurationsResult();
+
+ int originalDepth = context.getCurrentDepth();
+ String currentParentElement = context.getCurrentParentElement();
+ int targetDepth = originalDepth + 1;
+
+ JsonToken token = context.getCurrentToken();
+ if (token == null)
+ token = context.nextToken();
+ if (token == VALUE_NULL) {
+ return listConfigurationsResult;
+ }
+
+ while (true) {
+ if (token == null)
+ break;
+
+ if (token == FIELD_NAME || token == START_OBJECT) {
+ if (context.testExpression("configurations", targetDepth)) {
+ context.nextToken();
+ listConfigurationsResult.setConfigurations(new ListUnmarshaller(ConfigurationJsonUnmarshaller.getInstance())
+ .unmarshall(context));
+ }
+ if (context.testExpression("nextToken", targetDepth)) {
+ context.nextToken();
+ listConfigurationsResult.setNextToken(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ } else if (token == END_ARRAY || token == END_OBJECT) {
+ if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) {
+ if (context.getCurrentDepth() <= originalDepth)
+ break;
+ }
+ }
+ token = context.nextToken();
+ }
+
+ return listConfigurationsResult;
+ }
+
+ private static ListConfigurationsResultJsonUnmarshaller instance;
+
+ public static ListConfigurationsResultJsonUnmarshaller getInstance() {
+ if (instance == null)
+ instance = new ListConfigurationsResultJsonUnmarshaller();
+ return instance;
+ }
+}
diff --git a/aws-java-sdk-kinesis/pom.xml b/aws-java-sdk-kinesis/pom.xml
index 55380cab3f4a..22d023076a7e 100644
--- a/aws-java-sdk-kinesis/pom.xml
+++ b/aws-java-sdk-kinesis/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-kinesis
diff --git a/aws-java-sdk-kinesisanalyticsv2/pom.xml b/aws-java-sdk-kinesisanalyticsv2/pom.xml
index 423b70695ef0..d001dabcc50f 100644
--- a/aws-java-sdk-kinesisanalyticsv2/pom.xml
+++ b/aws-java-sdk-kinesisanalyticsv2/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-kinesisanalyticsv2
diff --git a/aws-java-sdk-kinesisvideo/pom.xml b/aws-java-sdk-kinesisvideo/pom.xml
index c1e6e1da7c58..234f8951ac9e 100644
--- a/aws-java-sdk-kinesisvideo/pom.xml
+++ b/aws-java-sdk-kinesisvideo/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-kinesisvideo
diff --git a/aws-java-sdk-kms/pom.xml b/aws-java-sdk-kms/pom.xml
index a4995841fba3..f134a106e958 100644
--- a/aws-java-sdk-kms/pom.xml
+++ b/aws-java-sdk-kms/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-kms
diff --git a/aws-java-sdk-lambda/pom.xml b/aws-java-sdk-lambda/pom.xml
index 50ad9a4d7103..140457f739c5 100644
--- a/aws-java-sdk-lambda/pom.xml
+++ b/aws-java-sdk-lambda/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-lambda
diff --git a/aws-java-sdk-lex/pom.xml b/aws-java-sdk-lex/pom.xml
index 97509c1d8210..c4b225ede223 100644
--- a/aws-java-sdk-lex/pom.xml
+++ b/aws-java-sdk-lex/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-lex
diff --git a/aws-java-sdk-lexmodelbuilding/pom.xml b/aws-java-sdk-lexmodelbuilding/pom.xml
index 70afe475f5b2..d53764002926 100644
--- a/aws-java-sdk-lexmodelbuilding/pom.xml
+++ b/aws-java-sdk-lexmodelbuilding/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-lexmodelbuilding
diff --git a/aws-java-sdk-licensemanager/pom.xml b/aws-java-sdk-licensemanager/pom.xml
index 25f5faaa9089..0d4a12773807 100644
--- a/aws-java-sdk-licensemanager/pom.xml
+++ b/aws-java-sdk-licensemanager/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-licensemanager
diff --git a/aws-java-sdk-lightsail/pom.xml b/aws-java-sdk-lightsail/pom.xml
index beea5ddda997..2b1ee8e898eb 100644
--- a/aws-java-sdk-lightsail/pom.xml
+++ b/aws-java-sdk-lightsail/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-lightsail
diff --git a/aws-java-sdk-logs/pom.xml b/aws-java-sdk-logs/pom.xml
index 5a4aeb060634..4b8eebb3319c 100644
--- a/aws-java-sdk-logs/pom.xml
+++ b/aws-java-sdk-logs/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-logs
diff --git a/aws-java-sdk-machinelearning/pom.xml b/aws-java-sdk-machinelearning/pom.xml
index 7804c735a883..f923e8b96d3c 100644
--- a/aws-java-sdk-machinelearning/pom.xml
+++ b/aws-java-sdk-machinelearning/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-machinelearning
diff --git a/aws-java-sdk-macie/pom.xml b/aws-java-sdk-macie/pom.xml
index 029c558b662d..1a784ba06adf 100644
--- a/aws-java-sdk-macie/pom.xml
+++ b/aws-java-sdk-macie/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-macie
diff --git a/aws-java-sdk-managedblockchain/pom.xml b/aws-java-sdk-managedblockchain/pom.xml
index df3b7edbe533..acd99a3f6d2c 100644
--- a/aws-java-sdk-managedblockchain/pom.xml
+++ b/aws-java-sdk-managedblockchain/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-managedblockchain
diff --git a/aws-java-sdk-marketplacecommerceanalytics/pom.xml b/aws-java-sdk-marketplacecommerceanalytics/pom.xml
index 732caaed0b92..24369950aa1f 100644
--- a/aws-java-sdk-marketplacecommerceanalytics/pom.xml
+++ b/aws-java-sdk-marketplacecommerceanalytics/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-marketplacecommerceanalytics
diff --git a/aws-java-sdk-marketplaceentitlement/pom.xml b/aws-java-sdk-marketplaceentitlement/pom.xml
index 4bf2e3d4cadb..794b22e6564a 100644
--- a/aws-java-sdk-marketplaceentitlement/pom.xml
+++ b/aws-java-sdk-marketplaceentitlement/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-marketplaceentitlement
diff --git a/aws-java-sdk-marketplacemeteringservice/pom.xml b/aws-java-sdk-marketplacemeteringservice/pom.xml
index 44dfbabd9416..27622b6fa159 100644
--- a/aws-java-sdk-marketplacemeteringservice/pom.xml
+++ b/aws-java-sdk-marketplacemeteringservice/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-marketplacemeteringservice
diff --git a/aws-java-sdk-marketplacemeteringservice/src/main/java/com/amazonaws/services/marketplacemetering/model/MeterUsageRequest.java b/aws-java-sdk-marketplacemeteringservice/src/main/java/com/amazonaws/services/marketplacemetering/model/MeterUsageRequest.java
index 3999207ec716..3354c49989bc 100644
--- a/aws-java-sdk-marketplacemeteringservice/src/main/java/com/amazonaws/services/marketplacemetering/model/MeterUsageRequest.java
+++ b/aws-java-sdk-marketplacemeteringservice/src/main/java/com/amazonaws/services/marketplacemetering/model/MeterUsageRequest.java
@@ -34,7 +34,8 @@ public class MeterUsageRequest extends com.amazonaws.AmazonWebServiceRequest imp
private String productCode;
/**
*
- * Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored.
+ * Timestamp, in UTC, for which the usage is being reported. Your application can meter usage for up to one hour in
+ * the past. Make sure the timestamp value is not before the start of the software usage.
*
*/
private java.util.Date timestamp;
@@ -107,12 +108,13 @@ public MeterUsageRequest withProductCode(String productCode) {
/**
*
- * Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored.
+ * Timestamp, in UTC, for which the usage is being reported. Your application can meter usage for up to one hour in
+ * the past. Make sure the timestamp value is not before the start of the software usage.
*
*
* @param timestamp
- * Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be
- * ignored.
+ * Timestamp, in UTC, for which the usage is being reported. Your application can meter usage for up to one
+ * hour in the past. Make sure the timestamp value is not before the start of the software usage.
*/
public void setTimestamp(java.util.Date timestamp) {
@@ -121,11 +123,12 @@ public void setTimestamp(java.util.Date timestamp) {
/**
*
- * Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored.
+ * Timestamp, in UTC, for which the usage is being reported. Your application can meter usage for up to one hour in
+ * the past. Make sure the timestamp value is not before the start of the software usage.
*
*
- * @return Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be
- * ignored.
+ * @return Timestamp, in UTC, for which the usage is being reported. Your application can meter usage for up to one
+ * hour in the past. Make sure the timestamp value is not before the start of the software usage.
*/
public java.util.Date getTimestamp() {
@@ -134,12 +137,13 @@ public java.util.Date getTimestamp() {
/**
*
- * Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored.
+ * Timestamp, in UTC, for which the usage is being reported. Your application can meter usage for up to one hour in
+ * the past. Make sure the timestamp value is not before the start of the software usage.
*
*
* @param timestamp
- * Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be
- * ignored.
+ * Timestamp, in UTC, for which the usage is being reported. Your application can meter usage for up to one
+ * hour in the past. Make sure the timestamp value is not before the start of the software usage.
* @return Returns a reference to this object so that method calls can be chained together.
*/
diff --git a/aws-java-sdk-marketplacemeteringservice/src/main/java/com/amazonaws/services/marketplacemetering/model/UsageRecord.java b/aws-java-sdk-marketplacemeteringservice/src/main/java/com/amazonaws/services/marketplacemetering/model/UsageRecord.java
index 08927738f83b..d47119ad9d98 100644
--- a/aws-java-sdk-marketplacemeteringservice/src/main/java/com/amazonaws/services/marketplacemetering/model/UsageRecord.java
+++ b/aws-java-sdk-marketplacemeteringservice/src/main/java/com/amazonaws/services/marketplacemetering/model/UsageRecord.java
@@ -33,10 +33,11 @@ public class UsageRecord implements Serializable, Cloneable, StructuredPojo {
/**
*
- * Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored.
+ * Timestamp, in UTC, for which the usage is being reported.
*
*
- * Your application can meter usage for up to one hour in the past.
+ * Your application can meter usage for up to one hour in the past. Make sure the timestamp value is not before the
+ * start of the software usage.
*
*/
private java.util.Date timestamp;
@@ -64,17 +65,18 @@ public class UsageRecord implements Serializable, Cloneable, StructuredPojo {
/**
*
- * Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored.
+ * Timestamp, in UTC, for which the usage is being reported.
*
*
- * Your application can meter usage for up to one hour in the past.
+ * Your application can meter usage for up to one hour in the past. Make sure the timestamp value is not before the
+ * start of the software usage.
*
*
* @param timestamp
- * Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be
- * ignored.
+ * Timestamp, in UTC, for which the usage is being reported.
*
- * Your application can meter usage for up to one hour in the past.
+ * Your application can meter usage for up to one hour in the past. Make sure the timestamp value is not
+ * before the start of the software usage.
*/
public void setTimestamp(java.util.Date timestamp) {
@@ -83,16 +85,17 @@ public void setTimestamp(java.util.Date timestamp) {
/**
*
- * Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored.
+ * Timestamp, in UTC, for which the usage is being reported.
*
*
- * Your application can meter usage for up to one hour in the past.
+ * Your application can meter usage for up to one hour in the past. Make sure the timestamp value is not before the
+ * start of the software usage.
*
*
- * @return Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be
- * ignored.
+ * @return Timestamp, in UTC, for which the usage is being reported.
*
- * Your application can meter usage for up to one hour in the past.
+ * Your application can meter usage for up to one hour in the past. Make sure the timestamp value is not
+ * before the start of the software usage.
*/
public java.util.Date getTimestamp() {
@@ -101,17 +104,18 @@ public java.util.Date getTimestamp() {
/**
*
- * Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored.
+ * Timestamp, in UTC, for which the usage is being reported.
*
*
- * Your application can meter usage for up to one hour in the past.
+ * Your application can meter usage for up to one hour in the past. Make sure the timestamp value is not before the
+ * start of the software usage.
*
*
* @param timestamp
- * Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be
- * ignored.
+ * Timestamp, in UTC, for which the usage is being reported.
*
- * Your application can meter usage for up to one hour in the past.
+ * Your application can meter usage for up to one hour in the past. Make sure the timestamp value is not
+ * before the start of the software usage.
* @return Returns a reference to this object so that method calls can be chained together.
*/
diff --git a/aws-java-sdk-mechanicalturkrequester/pom.xml b/aws-java-sdk-mechanicalturkrequester/pom.xml
index f957841c165d..4274a6fb0b6c 100644
--- a/aws-java-sdk-mechanicalturkrequester/pom.xml
+++ b/aws-java-sdk-mechanicalturkrequester/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-mechanicalturkrequester
diff --git a/aws-java-sdk-mediaconnect/pom.xml b/aws-java-sdk-mediaconnect/pom.xml
index fb993277906b..4b5b5e0d198f 100644
--- a/aws-java-sdk-mediaconnect/pom.xml
+++ b/aws-java-sdk-mediaconnect/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-mediaconnect
diff --git a/aws-java-sdk-mediaconvert/pom.xml b/aws-java-sdk-mediaconvert/pom.xml
index 9f0acae2b8fd..21d3ded04b7b 100644
--- a/aws-java-sdk-mediaconvert/pom.xml
+++ b/aws-java-sdk-mediaconvert/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-mediaconvert
diff --git a/aws-java-sdk-medialive/pom.xml b/aws-java-sdk-medialive/pom.xml
index 635b68759ce9..c3be85ce59f3 100644
--- a/aws-java-sdk-medialive/pom.xml
+++ b/aws-java-sdk-medialive/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-medialive
diff --git a/aws-java-sdk-mediapackage/pom.xml b/aws-java-sdk-mediapackage/pom.xml
index 9deb8c66d8e5..4de1e9ce0320 100644
--- a/aws-java-sdk-mediapackage/pom.xml
+++ b/aws-java-sdk-mediapackage/pom.xml
@@ -5,7 +5,7 @@
com.amazonaws
aws-java-sdk-pom
- 1.11.556-SNAPSHOT
+ 1.11.556
com.amazonaws
aws-java-sdk-mediapackage
diff --git a/aws-java-sdk-mediapackagevod/build.properties b/aws-java-sdk-mediapackagevod/build.properties
new file mode 100644
index 000000000000..0ceaa2b36ba5
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/build.properties
@@ -0,0 +1,10 @@
+source.. = src/main/java,\
+ src/main/resources
+output.. = bin/
+
+bin.includes = LICENSE.txt,\
+ NOTICE.txt,\
+ META-INF/,\
+ .
+
+jre.compilation.profile = JavaSE-1.6
\ No newline at end of file
diff --git a/aws-java-sdk-mediapackagevod/pom.xml b/aws-java-sdk-mediapackagevod/pom.xml
new file mode 100644
index 000000000000..4cc0ad805d96
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/pom.xml
@@ -0,0 +1,97 @@
+
+
+ 4.0.0
+
+ com.amazonaws
+ aws-java-sdk-pom
+ 1.11.556
+
+ com.amazonaws
+ aws-java-sdk-mediapackagevod
+ AWS Java SDK for AWS Elemental MediaPackage VOD
+ The AWS Java SDK for AWS Elemental MediaPackage VOD module holds the client classes that are used for communicating with AWS Elemental MediaPackage VOD Service
+ https://aws.amazon.com/sdkforjava
+
+
+
+
+ aws-java-sdk-core
+ com.amazonaws
+ false
+ ${awsjavasdk.version}
+
+
+ aws-java-sdk-test-utils
+ com.amazonaws
+ false
+ test
+ ${awsjavasdk.version}
+
+
+ jmespath-java
+ com.amazonaws
+ false
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+
+
+
+
+
+
+
+
+ versiondiff
+
+
+
+ com.github.siom79.japicmp
+ japicmp-maven-plugin
+ 0.5.0
+
+
+ verify
+
+ cmp
+
+
+
+
+
+
+ com.amazonaws
+ aws-java-sdk-mediapackagevod
+ RELEASE
+
+
+
+
+ ${project.build.directory}/${project.artifactId}-${project.version}.jar
+
+
+
+ true
+ public
+ false
+ false
+ false
+
+
+
+
+
+
+
+
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVod.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVod.java
new file mode 100644
index 000000000000..b87051590f61
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVod.java
@@ -0,0 +1,344 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.*;
+import com.amazonaws.regions.*;
+
+import com.amazonaws.services.mediapackagevod.model.*;
+
+/**
+ * Interface for accessing MediaPackage Vod.
+ *
+ * Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
+ * {@link com.amazonaws.services.mediapackagevod.AbstractAWSMediaPackageVod} instead.
+ *
+ *
+ * AWS Elemental MediaPackage VOD
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public interface AWSMediaPackageVod {
+
+ /**
+ * The region metadata service name for computing region endpoints. You can use this value to retrieve metadata
+ * (such as supported regions) of the service.
+ *
+ * @see RegionUtils#getRegionsForService(String)
+ */
+ String ENDPOINT_PREFIX = "mediapackage-vod";
+
+ /**
+ * Creates a new MediaPackage VOD Asset resource.
+ *
+ * @param createAssetRequest
+ * A new MediaPackage VOD Asset configuration.
+ * @return Result of the CreateAsset operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.CreateAsset
+ * @see AWS
+ * API Documentation
+ */
+ CreateAssetResult createAsset(CreateAssetRequest createAssetRequest);
+
+ /**
+ * Creates a new MediaPackage VOD PackagingConfiguration resource.
+ *
+ * @param createPackagingConfigurationRequest
+ * A new MediaPackage VOD PackagingConfiguration resource configuration.
+ * @return Result of the CreatePackagingConfiguration operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.CreatePackagingConfiguration
+ * @see AWS API Documentation
+ */
+ CreatePackagingConfigurationResult createPackagingConfiguration(CreatePackagingConfigurationRequest createPackagingConfigurationRequest);
+
+ /**
+ * Creates a new MediaPackage VOD PackagingGroup resource.
+ *
+ * @param createPackagingGroupRequest
+ * A new MediaPackage VOD PackagingGroup resource configuration.
+ * @return Result of the CreatePackagingGroup operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.CreatePackagingGroup
+ * @see AWS API Documentation
+ */
+ CreatePackagingGroupResult createPackagingGroup(CreatePackagingGroupRequest createPackagingGroupRequest);
+
+ /**
+ * Deletes an existing MediaPackage VOD Asset resource.
+ *
+ * @param deleteAssetRequest
+ * @return Result of the DeleteAsset operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.DeleteAsset
+ * @see AWS
+ * API Documentation
+ */
+ DeleteAssetResult deleteAsset(DeleteAssetRequest deleteAssetRequest);
+
+ /**
+ * Deletes a MediaPackage VOD PackagingConfiguration resource.
+ *
+ * @param deletePackagingConfigurationRequest
+ * @return Result of the DeletePackagingConfiguration operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.DeletePackagingConfiguration
+ * @see AWS API Documentation
+ */
+ DeletePackagingConfigurationResult deletePackagingConfiguration(DeletePackagingConfigurationRequest deletePackagingConfigurationRequest);
+
+ /**
+ * Deletes a MediaPackage VOD PackagingGroup resource.
+ *
+ * @param deletePackagingGroupRequest
+ * @return Result of the DeletePackagingGroup operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.DeletePackagingGroup
+ * @see AWS API Documentation
+ */
+ DeletePackagingGroupResult deletePackagingGroup(DeletePackagingGroupRequest deletePackagingGroupRequest);
+
+ /**
+ * Returns a description of a MediaPackage VOD Asset resource.
+ *
+ * @param describeAssetRequest
+ * @return Result of the DescribeAsset operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.DescribeAsset
+ * @see AWS
+ * API Documentation
+ */
+ DescribeAssetResult describeAsset(DescribeAssetRequest describeAssetRequest);
+
+ /**
+ * Returns a description of a MediaPackage VOD PackagingConfiguration resource.
+ *
+ * @param describePackagingConfigurationRequest
+ * @return Result of the DescribePackagingConfiguration operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.DescribePackagingConfiguration
+ * @see AWS API Documentation
+ */
+ DescribePackagingConfigurationResult describePackagingConfiguration(DescribePackagingConfigurationRequest describePackagingConfigurationRequest);
+
+ /**
+ * Returns a description of a MediaPackage VOD PackagingGroup resource.
+ *
+ * @param describePackagingGroupRequest
+ * @return Result of the DescribePackagingGroup operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.DescribePackagingGroup
+ * @see AWS API Documentation
+ */
+ DescribePackagingGroupResult describePackagingGroup(DescribePackagingGroupRequest describePackagingGroupRequest);
+
+ /**
+ * Returns a collection of MediaPackage VOD Asset resources.
+ *
+ * @param listAssetsRequest
+ * @return Result of the ListAssets operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.ListAssets
+ * @see AWS
+ * API Documentation
+ */
+ ListAssetsResult listAssets(ListAssetsRequest listAssetsRequest);
+
+ /**
+ * Returns a collection of MediaPackage VOD PackagingConfiguration resources.
+ *
+ * @param listPackagingConfigurationsRequest
+ * @return Result of the ListPackagingConfigurations operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.ListPackagingConfigurations
+ * @see AWS API Documentation
+ */
+ ListPackagingConfigurationsResult listPackagingConfigurations(ListPackagingConfigurationsRequest listPackagingConfigurationsRequest);
+
+ /**
+ * Returns a collection of MediaPackage VOD PackagingGroup resources.
+ *
+ * @param listPackagingGroupsRequest
+ * @return Result of the ListPackagingGroups operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.ListPackagingGroups
+ * @see AWS API Documentation
+ */
+ ListPackagingGroupsResult listPackagingGroups(ListPackagingGroupsRequest listPackagingGroupsRequest);
+
+ /**
+ * Shuts down this client object, releasing any resources that might be held open. This is an optional method, and
+ * callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client
+ * has been shutdown, it should not be used to make any more requests.
+ */
+ void shutdown();
+
+ /**
+ * Returns additional metadata for a previously executed successful request, typically used for debugging issues
+ * where a service isn't acting as expected. This data isn't considered part of the result data returned by an
+ * operation, so it's available through this separate, diagnostic interface.
+ *
+ * Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic
+ * information for an executed request, you should use this method to retrieve it as soon as possible after
+ * executing a request.
+ *
+ * @param request
+ * The originally executed request.
+ *
+ * @return The response metadata for the specified request, or null if none is available.
+ */
+ ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request);
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVodAsync.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVodAsync.java
new file mode 100644
index 000000000000..43f5651dffea
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVodAsync.java
@@ -0,0 +1,377 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.services.mediapackagevod.model.*;
+
+/**
+ * Interface for accessing MediaPackage Vod asynchronously. Each asynchronous method will return a Java Future object
+ * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
+ * notification when an asynchronous operation completes.
+ *
+ * Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
+ * {@link com.amazonaws.services.mediapackagevod.AbstractAWSMediaPackageVodAsync} instead.
+ *
+ *
+ * AWS Elemental MediaPackage VOD
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public interface AWSMediaPackageVodAsync extends AWSMediaPackageVod {
+
+ /**
+ * Creates a new MediaPackage VOD Asset resource.
+ *
+ * @param createAssetRequest
+ * A new MediaPackage VOD Asset configuration.
+ * @return A Java Future containing the result of the CreateAsset operation returned by the service.
+ * @sample AWSMediaPackageVodAsync.CreateAsset
+ * @see AWS
+ * API Documentation
+ */
+ java.util.concurrent.Future createAssetAsync(CreateAssetRequest createAssetRequest);
+
+ /**
+ * Creates a new MediaPackage VOD Asset resource.
+ *
+ * @param createAssetRequest
+ * A new MediaPackage VOD Asset configuration.
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the CreateAsset operation returned by the service.
+ * @sample AWSMediaPackageVodAsyncHandler.CreateAsset
+ * @see AWS
+ * API Documentation
+ */
+ java.util.concurrent.Future createAssetAsync(CreateAssetRequest createAssetRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
+ /**
+ * Creates a new MediaPackage VOD PackagingConfiguration resource.
+ *
+ * @param createPackagingConfigurationRequest
+ * A new MediaPackage VOD PackagingConfiguration resource configuration.
+ * @return A Java Future containing the result of the CreatePackagingConfiguration operation returned by the
+ * service.
+ * @sample AWSMediaPackageVodAsync.CreatePackagingConfiguration
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future createPackagingConfigurationAsync(
+ CreatePackagingConfigurationRequest createPackagingConfigurationRequest);
+
+ /**
+ * Creates a new MediaPackage VOD PackagingConfiguration resource.
+ *
+ * @param createPackagingConfigurationRequest
+ * A new MediaPackage VOD PackagingConfiguration resource configuration.
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the CreatePackagingConfiguration operation returned by the
+ * service.
+ * @sample AWSMediaPackageVodAsyncHandler.CreatePackagingConfiguration
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future createPackagingConfigurationAsync(
+ CreatePackagingConfigurationRequest createPackagingConfigurationRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
+ /**
+ * Creates a new MediaPackage VOD PackagingGroup resource.
+ *
+ * @param createPackagingGroupRequest
+ * A new MediaPackage VOD PackagingGroup resource configuration.
+ * @return A Java Future containing the result of the CreatePackagingGroup operation returned by the service.
+ * @sample AWSMediaPackageVodAsync.CreatePackagingGroup
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future createPackagingGroupAsync(CreatePackagingGroupRequest createPackagingGroupRequest);
+
+ /**
+ * Creates a new MediaPackage VOD PackagingGroup resource.
+ *
+ * @param createPackagingGroupRequest
+ * A new MediaPackage VOD PackagingGroup resource configuration.
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the CreatePackagingGroup operation returned by the service.
+ * @sample AWSMediaPackageVodAsyncHandler.CreatePackagingGroup
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future createPackagingGroupAsync(CreatePackagingGroupRequest createPackagingGroupRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
+ /**
+ * Deletes an existing MediaPackage VOD Asset resource.
+ *
+ * @param deleteAssetRequest
+ * @return A Java Future containing the result of the DeleteAsset operation returned by the service.
+ * @sample AWSMediaPackageVodAsync.DeleteAsset
+ * @see AWS
+ * API Documentation
+ */
+ java.util.concurrent.Future deleteAssetAsync(DeleteAssetRequest deleteAssetRequest);
+
+ /**
+ * Deletes an existing MediaPackage VOD Asset resource.
+ *
+ * @param deleteAssetRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the DeleteAsset operation returned by the service.
+ * @sample AWSMediaPackageVodAsyncHandler.DeleteAsset
+ * @see AWS
+ * API Documentation
+ */
+ java.util.concurrent.Future deleteAssetAsync(DeleteAssetRequest deleteAssetRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
+ /**
+ * Deletes a MediaPackage VOD PackagingConfiguration resource.
+ *
+ * @param deletePackagingConfigurationRequest
+ * @return A Java Future containing the result of the DeletePackagingConfiguration operation returned by the
+ * service.
+ * @sample AWSMediaPackageVodAsync.DeletePackagingConfiguration
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future deletePackagingConfigurationAsync(
+ DeletePackagingConfigurationRequest deletePackagingConfigurationRequest);
+
+ /**
+ * Deletes a MediaPackage VOD PackagingConfiguration resource.
+ *
+ * @param deletePackagingConfigurationRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the DeletePackagingConfiguration operation returned by the
+ * service.
+ * @sample AWSMediaPackageVodAsyncHandler.DeletePackagingConfiguration
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future deletePackagingConfigurationAsync(
+ DeletePackagingConfigurationRequest deletePackagingConfigurationRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
+ /**
+ * Deletes a MediaPackage VOD PackagingGroup resource.
+ *
+ * @param deletePackagingGroupRequest
+ * @return A Java Future containing the result of the DeletePackagingGroup operation returned by the service.
+ * @sample AWSMediaPackageVodAsync.DeletePackagingGroup
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future deletePackagingGroupAsync(DeletePackagingGroupRequest deletePackagingGroupRequest);
+
+ /**
+ * Deletes a MediaPackage VOD PackagingGroup resource.
+ *
+ * @param deletePackagingGroupRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the DeletePackagingGroup operation returned by the service.
+ * @sample AWSMediaPackageVodAsyncHandler.DeletePackagingGroup
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future deletePackagingGroupAsync(DeletePackagingGroupRequest deletePackagingGroupRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
+ /**
+ * Returns a description of a MediaPackage VOD Asset resource.
+ *
+ * @param describeAssetRequest
+ * @return A Java Future containing the result of the DescribeAsset operation returned by the service.
+ * @sample AWSMediaPackageVodAsync.DescribeAsset
+ * @see AWS
+ * API Documentation
+ */
+ java.util.concurrent.Future describeAssetAsync(DescribeAssetRequest describeAssetRequest);
+
+ /**
+ * Returns a description of a MediaPackage VOD Asset resource.
+ *
+ * @param describeAssetRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the DescribeAsset operation returned by the service.
+ * @sample AWSMediaPackageVodAsyncHandler.DescribeAsset
+ * @see AWS
+ * API Documentation
+ */
+ java.util.concurrent.Future describeAssetAsync(DescribeAssetRequest describeAssetRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
+ /**
+ * Returns a description of a MediaPackage VOD PackagingConfiguration resource.
+ *
+ * @param describePackagingConfigurationRequest
+ * @return A Java Future containing the result of the DescribePackagingConfiguration operation returned by the
+ * service.
+ * @sample AWSMediaPackageVodAsync.DescribePackagingConfiguration
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future describePackagingConfigurationAsync(
+ DescribePackagingConfigurationRequest describePackagingConfigurationRequest);
+
+ /**
+ * Returns a description of a MediaPackage VOD PackagingConfiguration resource.
+ *
+ * @param describePackagingConfigurationRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the DescribePackagingConfiguration operation returned by the
+ * service.
+ * @sample AWSMediaPackageVodAsyncHandler.DescribePackagingConfiguration
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future describePackagingConfigurationAsync(
+ DescribePackagingConfigurationRequest describePackagingConfigurationRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
+ /**
+ * Returns a description of a MediaPackage VOD PackagingGroup resource.
+ *
+ * @param describePackagingGroupRequest
+ * @return A Java Future containing the result of the DescribePackagingGroup operation returned by the service.
+ * @sample AWSMediaPackageVodAsync.DescribePackagingGroup
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future describePackagingGroupAsync(DescribePackagingGroupRequest describePackagingGroupRequest);
+
+ /**
+ * Returns a description of a MediaPackage VOD PackagingGroup resource.
+ *
+ * @param describePackagingGroupRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the DescribePackagingGroup operation returned by the service.
+ * @sample AWSMediaPackageVodAsyncHandler.DescribePackagingGroup
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future describePackagingGroupAsync(DescribePackagingGroupRequest describePackagingGroupRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
+ /**
+ * Returns a collection of MediaPackage VOD Asset resources.
+ *
+ * @param listAssetsRequest
+ * @return A Java Future containing the result of the ListAssets operation returned by the service.
+ * @sample AWSMediaPackageVodAsync.ListAssets
+ * @see AWS
+ * API Documentation
+ */
+ java.util.concurrent.Future listAssetsAsync(ListAssetsRequest listAssetsRequest);
+
+ /**
+ * Returns a collection of MediaPackage VOD Asset resources.
+ *
+ * @param listAssetsRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the ListAssets operation returned by the service.
+ * @sample AWSMediaPackageVodAsyncHandler.ListAssets
+ * @see AWS
+ * API Documentation
+ */
+ java.util.concurrent.Future listAssetsAsync(ListAssetsRequest listAssetsRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
+ /**
+ * Returns a collection of MediaPackage VOD PackagingConfiguration resources.
+ *
+ * @param listPackagingConfigurationsRequest
+ * @return A Java Future containing the result of the ListPackagingConfigurations operation returned by the service.
+ * @sample AWSMediaPackageVodAsync.ListPackagingConfigurations
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future listPackagingConfigurationsAsync(
+ ListPackagingConfigurationsRequest listPackagingConfigurationsRequest);
+
+ /**
+ * Returns a collection of MediaPackage VOD PackagingConfiguration resources.
+ *
+ * @param listPackagingConfigurationsRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the ListPackagingConfigurations operation returned by the service.
+ * @sample AWSMediaPackageVodAsyncHandler.ListPackagingConfigurations
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future listPackagingConfigurationsAsync(
+ ListPackagingConfigurationsRequest listPackagingConfigurationsRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
+ /**
+ * Returns a collection of MediaPackage VOD PackagingGroup resources.
+ *
+ * @param listPackagingGroupsRequest
+ * @return A Java Future containing the result of the ListPackagingGroups operation returned by the service.
+ * @sample AWSMediaPackageVodAsync.ListPackagingGroups
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future listPackagingGroupsAsync(ListPackagingGroupsRequest listPackagingGroupsRequest);
+
+ /**
+ * Returns a collection of MediaPackage VOD PackagingGroup resources.
+ *
+ * @param listPackagingGroupsRequest
+ * @param asyncHandler
+ * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
+ * implementation of the callback methods in this interface to receive notification of successful or
+ * unsuccessful completion of the operation.
+ * @return A Java Future containing the result of the ListPackagingGroups operation returned by the service.
+ * @sample AWSMediaPackageVodAsyncHandler.ListPackagingGroups
+ * @see AWS API Documentation
+ */
+ java.util.concurrent.Future listPackagingGroupsAsync(ListPackagingGroupsRequest listPackagingGroupsRequest,
+ com.amazonaws.handlers.AsyncHandler asyncHandler);
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVodAsyncClient.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVodAsyncClient.java
new file mode 100644
index 000000000000..958c3089e256
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVodAsyncClient.java
@@ -0,0 +1,471 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.services.mediapackagevod.model.*;
+import com.amazonaws.client.AwsAsyncClientParams;
+import com.amazonaws.annotation.ThreadSafe;
+
+import java.util.concurrent.ExecutorService;
+
+/**
+ * Client for accessing MediaPackage Vod asynchronously. Each asynchronous method will return a Java Future object
+ * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
+ * notification when an asynchronous operation completes.
+ *
+ * AWS Elemental MediaPackage VOD
+ */
+@ThreadSafe
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class AWSMediaPackageVodAsyncClient extends AWSMediaPackageVodClient implements AWSMediaPackageVodAsync {
+
+ private static final int DEFAULT_THREAD_POOL_SIZE = 50;
+
+ private final java.util.concurrent.ExecutorService executorService;
+
+ public static AWSMediaPackageVodAsyncClientBuilder asyncBuilder() {
+ return AWSMediaPackageVodAsyncClientBuilder.standard();
+ }
+
+ /**
+ * Constructs a new asynchronous client to invoke service methods on MediaPackage Vod using the specified
+ * parameters.
+ *
+ * @param asyncClientParams
+ * Object providing client parameters.
+ */
+ AWSMediaPackageVodAsyncClient(AwsAsyncClientParams asyncClientParams) {
+ super(asyncClientParams);
+ this.executorService = asyncClientParams.getExecutor();
+ }
+
+ /**
+ * Returns the executor service used by this client to execute async requests.
+ *
+ * @return The executor service used by this client to execute async requests.
+ */
+ public ExecutorService getExecutorService() {
+ return executorService;
+ }
+
+ @Override
+ public java.util.concurrent.Future createAssetAsync(CreateAssetRequest request) {
+
+ return createAssetAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future createAssetAsync(final CreateAssetRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final CreateAssetRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public CreateAssetResult call() throws Exception {
+ CreateAssetResult result = null;
+
+ try {
+ result = executeCreateAsset(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
+ @Override
+ public java.util.concurrent.Future createPackagingConfigurationAsync(CreatePackagingConfigurationRequest request) {
+
+ return createPackagingConfigurationAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future createPackagingConfigurationAsync(final CreatePackagingConfigurationRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final CreatePackagingConfigurationRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public CreatePackagingConfigurationResult call() throws Exception {
+ CreatePackagingConfigurationResult result = null;
+
+ try {
+ result = executeCreatePackagingConfiguration(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
+ @Override
+ public java.util.concurrent.Future createPackagingGroupAsync(CreatePackagingGroupRequest request) {
+
+ return createPackagingGroupAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future createPackagingGroupAsync(final CreatePackagingGroupRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final CreatePackagingGroupRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public CreatePackagingGroupResult call() throws Exception {
+ CreatePackagingGroupResult result = null;
+
+ try {
+ result = executeCreatePackagingGroup(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
+ @Override
+ public java.util.concurrent.Future deleteAssetAsync(DeleteAssetRequest request) {
+
+ return deleteAssetAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future deleteAssetAsync(final DeleteAssetRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final DeleteAssetRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public DeleteAssetResult call() throws Exception {
+ DeleteAssetResult result = null;
+
+ try {
+ result = executeDeleteAsset(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
+ @Override
+ public java.util.concurrent.Future deletePackagingConfigurationAsync(DeletePackagingConfigurationRequest request) {
+
+ return deletePackagingConfigurationAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future deletePackagingConfigurationAsync(final DeletePackagingConfigurationRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final DeletePackagingConfigurationRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public DeletePackagingConfigurationResult call() throws Exception {
+ DeletePackagingConfigurationResult result = null;
+
+ try {
+ result = executeDeletePackagingConfiguration(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
+ @Override
+ public java.util.concurrent.Future deletePackagingGroupAsync(DeletePackagingGroupRequest request) {
+
+ return deletePackagingGroupAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future deletePackagingGroupAsync(final DeletePackagingGroupRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final DeletePackagingGroupRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public DeletePackagingGroupResult call() throws Exception {
+ DeletePackagingGroupResult result = null;
+
+ try {
+ result = executeDeletePackagingGroup(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
+ @Override
+ public java.util.concurrent.Future describeAssetAsync(DescribeAssetRequest request) {
+
+ return describeAssetAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future describeAssetAsync(final DescribeAssetRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final DescribeAssetRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public DescribeAssetResult call() throws Exception {
+ DescribeAssetResult result = null;
+
+ try {
+ result = executeDescribeAsset(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
+ @Override
+ public java.util.concurrent.Future describePackagingConfigurationAsync(DescribePackagingConfigurationRequest request) {
+
+ return describePackagingConfigurationAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future describePackagingConfigurationAsync(
+ final DescribePackagingConfigurationRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final DescribePackagingConfigurationRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public DescribePackagingConfigurationResult call() throws Exception {
+ DescribePackagingConfigurationResult result = null;
+
+ try {
+ result = executeDescribePackagingConfiguration(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
+ @Override
+ public java.util.concurrent.Future describePackagingGroupAsync(DescribePackagingGroupRequest request) {
+
+ return describePackagingGroupAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future describePackagingGroupAsync(final DescribePackagingGroupRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final DescribePackagingGroupRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public DescribePackagingGroupResult call() throws Exception {
+ DescribePackagingGroupResult result = null;
+
+ try {
+ result = executeDescribePackagingGroup(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
+ @Override
+ public java.util.concurrent.Future listAssetsAsync(ListAssetsRequest request) {
+
+ return listAssetsAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future listAssetsAsync(final ListAssetsRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final ListAssetsRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public ListAssetsResult call() throws Exception {
+ ListAssetsResult result = null;
+
+ try {
+ result = executeListAssets(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
+ @Override
+ public java.util.concurrent.Future listPackagingConfigurationsAsync(ListPackagingConfigurationsRequest request) {
+
+ return listPackagingConfigurationsAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future listPackagingConfigurationsAsync(final ListPackagingConfigurationsRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final ListPackagingConfigurationsRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public ListPackagingConfigurationsResult call() throws Exception {
+ ListPackagingConfigurationsResult result = null;
+
+ try {
+ result = executeListPackagingConfigurations(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
+ @Override
+ public java.util.concurrent.Future listPackagingGroupsAsync(ListPackagingGroupsRequest request) {
+
+ return listPackagingGroupsAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future listPackagingGroupsAsync(final ListPackagingGroupsRequest request,
+ final com.amazonaws.handlers.AsyncHandler asyncHandler) {
+ final ListPackagingGroupsRequest finalRequest = beforeClientExecution(request);
+
+ return executorService.submit(new java.util.concurrent.Callable() {
+ @Override
+ public ListPackagingGroupsResult call() throws Exception {
+ ListPackagingGroupsResult result = null;
+
+ try {
+ result = executeListPackagingGroups(finalRequest);
+ } catch (Exception ex) {
+ if (asyncHandler != null) {
+ asyncHandler.onError(ex);
+ }
+ throw ex;
+ }
+
+ if (asyncHandler != null) {
+ asyncHandler.onSuccess(finalRequest, result);
+ }
+ return result;
+ }
+ });
+ }
+
+ /**
+ * Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending
+ * asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should
+ * call {@code getExecutorService().shutdown()} followed by {@code getExecutorService().awaitTermination()} prior to
+ * calling this method.
+ */
+ @Override
+ public void shutdown() {
+ super.shutdown();
+ executorService.shutdownNow();
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVodAsyncClientBuilder.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVodAsyncClientBuilder.java
new file mode 100644
index 000000000000..9b256e144b4e
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVodAsyncClientBuilder.java
@@ -0,0 +1,63 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.ClientConfigurationFactory;
+import com.amazonaws.annotation.NotThreadSafe;
+import com.amazonaws.client.builder.AwsAsyncClientBuilder;
+import com.amazonaws.client.AwsAsyncClientParams;
+
+/**
+ * Fluent builder for {@link com.amazonaws.services.mediapackagevod.AWSMediaPackageVodAsync}. Use of the builder is
+ * preferred over using constructors of the client class.
+ **/
+@NotThreadSafe
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public final class AWSMediaPackageVodAsyncClientBuilder extends AwsAsyncClientBuilder {
+
+ private static final ClientConfigurationFactory CLIENT_CONFIG_FACTORY = new ClientConfigurationFactory();;
+
+ /**
+ * @return Create new instance of builder with all defaults set.
+ */
+ public static AWSMediaPackageVodAsyncClientBuilder standard() {
+ return new AWSMediaPackageVodAsyncClientBuilder();
+ }
+
+ /**
+ * @return Default async client using the {@link com.amazonaws.auth.DefaultAWSCredentialsProviderChain} and
+ * {@link com.amazonaws.regions.DefaultAwsRegionProviderChain} chain
+ */
+ public static AWSMediaPackageVodAsync defaultClient() {
+ return standard().build();
+ }
+
+ private AWSMediaPackageVodAsyncClientBuilder() {
+ super(CLIENT_CONFIG_FACTORY);
+ }
+
+ /**
+ * Construct an asynchronous implementation of AWSMediaPackageVodAsync using the current builder configuration.
+ *
+ * @param params
+ * Current builder configuration represented as a parameter object.
+ * @return Fully configured implementation of AWSMediaPackageVodAsync.
+ */
+ @Override
+ protected AWSMediaPackageVodAsync build(AwsAsyncClientParams params) {
+ return new AWSMediaPackageVodAsyncClient(params);
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVodClient.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVodClient.java
new file mode 100644
index 000000000000..d9a89d9d8d7e
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVodClient.java
@@ -0,0 +1,976 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod;
+
+import org.w3c.dom.*;
+
+import java.net.*;
+import java.util.*;
+
+import javax.annotation.Generated;
+
+import org.apache.commons.logging.*;
+
+import com.amazonaws.*;
+import com.amazonaws.annotation.SdkInternalApi;
+import com.amazonaws.auth.*;
+
+import com.amazonaws.handlers.*;
+import com.amazonaws.http.*;
+import com.amazonaws.internal.*;
+import com.amazonaws.internal.auth.*;
+import com.amazonaws.metrics.*;
+import com.amazonaws.regions.*;
+import com.amazonaws.transform.*;
+import com.amazonaws.util.*;
+import com.amazonaws.protocol.json.*;
+import com.amazonaws.util.AWSRequestMetrics.Field;
+import com.amazonaws.annotation.ThreadSafe;
+import com.amazonaws.client.AwsSyncClientParams;
+import com.amazonaws.client.builder.AdvancedConfig;
+
+import com.amazonaws.services.mediapackagevod.AWSMediaPackageVodClientBuilder;
+
+import com.amazonaws.AmazonServiceException;
+
+import com.amazonaws.services.mediapackagevod.model.*;
+import com.amazonaws.services.mediapackagevod.model.transform.*;
+
+/**
+ * Client for accessing MediaPackage Vod. All service calls made using this client are blocking, and will not return
+ * until the service call completes.
+ *
+ * AWS Elemental MediaPackage VOD
+ */
+@ThreadSafe
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class AWSMediaPackageVodClient extends AmazonWebServiceClient implements AWSMediaPackageVod {
+
+ /** Provider for AWS credentials. */
+ private final AWSCredentialsProvider awsCredentialsProvider;
+
+ private static final Log log = LogFactory.getLog(AWSMediaPackageVod.class);
+
+ /** Default signing name for the service. */
+ private static final String DEFAULT_SIGNING_NAME = "mediapackage-vod";
+
+ /** Client configuration factory providing ClientConfigurations tailored to this client */
+ protected static final ClientConfigurationFactory configFactory = new ClientConfigurationFactory();
+
+ private final AdvancedConfig advancedConfig;
+
+ private static final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory = new com.amazonaws.protocol.json.SdkJsonProtocolFactory(
+ new JsonClientMetadata()
+ .withProtocolVersion("1.1")
+ .withSupportsCbor(false)
+ .withSupportsIon(false)
+ .withContentTypeOverride("")
+ .addErrorMetadata(
+ new JsonErrorShapeMetadata().withErrorCode("UnprocessableEntityException").withModeledClass(
+ com.amazonaws.services.mediapackagevod.model.UnprocessableEntityException.class))
+ .addErrorMetadata(
+ new JsonErrorShapeMetadata().withErrorCode("NotFoundException").withModeledClass(
+ com.amazonaws.services.mediapackagevod.model.NotFoundException.class))
+ .addErrorMetadata(
+ new JsonErrorShapeMetadata().withErrorCode("ServiceUnavailableException").withModeledClass(
+ com.amazonaws.services.mediapackagevod.model.ServiceUnavailableException.class))
+ .addErrorMetadata(
+ new JsonErrorShapeMetadata().withErrorCode("ForbiddenException").withModeledClass(
+ com.amazonaws.services.mediapackagevod.model.ForbiddenException.class))
+ .addErrorMetadata(
+ new JsonErrorShapeMetadata().withErrorCode("TooManyRequestsException").withModeledClass(
+ com.amazonaws.services.mediapackagevod.model.TooManyRequestsException.class))
+ .addErrorMetadata(
+ new JsonErrorShapeMetadata().withErrorCode("InternalServerErrorException").withModeledClass(
+ com.amazonaws.services.mediapackagevod.model.InternalServerErrorException.class))
+ .withBaseServiceExceptionClass(com.amazonaws.services.mediapackagevod.model.AWSMediaPackageVodException.class));
+
+ public static AWSMediaPackageVodClientBuilder builder() {
+ return AWSMediaPackageVodClientBuilder.standard();
+ }
+
+ /**
+ * Constructs a new client to invoke service methods on MediaPackage Vod using the specified parameters.
+ *
+ *
+ * All service calls made using this new client object are blocking, and will not return until the service call
+ * completes.
+ *
+ * @param clientParams
+ * Object providing client parameters.
+ */
+ AWSMediaPackageVodClient(AwsSyncClientParams clientParams) {
+ this(clientParams, false);
+ }
+
+ /**
+ * Constructs a new client to invoke service methods on MediaPackage Vod using the specified parameters.
+ *
+ *
+ * All service calls made using this new client object are blocking, and will not return until the service call
+ * completes.
+ *
+ * @param clientParams
+ * Object providing client parameters.
+ */
+ AWSMediaPackageVodClient(AwsSyncClientParams clientParams, boolean endpointDiscoveryEnabled) {
+ super(clientParams);
+ this.awsCredentialsProvider = clientParams.getCredentialsProvider();
+ this.advancedConfig = clientParams.getAdvancedConfig();
+ init();
+ }
+
+ private void init() {
+ setServiceNameIntern(DEFAULT_SIGNING_NAME);
+ setEndpointPrefix(ENDPOINT_PREFIX);
+ // calling this.setEndPoint(...) will also modify the signer accordingly
+ setEndpoint("mediapackage-vod.us-east-1.amazonaws.com");
+ HandlerChainFactory chainFactory = new HandlerChainFactory();
+ requestHandler2s.addAll(chainFactory.newRequestHandlerChain("/com/amazonaws/services/mediapackagevod/request.handlers"));
+ requestHandler2s.addAll(chainFactory.newRequestHandler2Chain("/com/amazonaws/services/mediapackagevod/request.handler2s"));
+ requestHandler2s.addAll(chainFactory.getGlobalHandlers());
+ }
+
+ /**
+ * Creates a new MediaPackage VOD Asset resource.
+ *
+ * @param createAssetRequest
+ * A new MediaPackage VOD Asset configuration.
+ * @return Result of the CreateAsset operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.CreateAsset
+ * @see AWS
+ * API Documentation
+ */
+ @Override
+ public CreateAssetResult createAsset(CreateAssetRequest request) {
+ request = beforeClientExecution(request);
+ return executeCreateAsset(request);
+ }
+
+ @SdkInternalApi
+ final CreateAssetResult executeCreateAsset(CreateAssetRequest createAssetRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(createAssetRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new CreateAssetRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(createAssetRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "MediaPackage Vod");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "CreateAsset");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new CreateAssetResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
+ /**
+ * Creates a new MediaPackage VOD PackagingConfiguration resource.
+ *
+ * @param createPackagingConfigurationRequest
+ * A new MediaPackage VOD PackagingConfiguration resource configuration.
+ * @return Result of the CreatePackagingConfiguration operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.CreatePackagingConfiguration
+ * @see AWS API Documentation
+ */
+ @Override
+ public CreatePackagingConfigurationResult createPackagingConfiguration(CreatePackagingConfigurationRequest request) {
+ request = beforeClientExecution(request);
+ return executeCreatePackagingConfiguration(request);
+ }
+
+ @SdkInternalApi
+ final CreatePackagingConfigurationResult executeCreatePackagingConfiguration(CreatePackagingConfigurationRequest createPackagingConfigurationRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(createPackagingConfigurationRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new CreatePackagingConfigurationRequestProtocolMarshaller(protocolFactory).marshall(super
+ .beforeMarshalling(createPackagingConfigurationRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "MediaPackage Vod");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "CreatePackagingConfiguration");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
+ new CreatePackagingConfigurationResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
+ /**
+ * Creates a new MediaPackage VOD PackagingGroup resource.
+ *
+ * @param createPackagingGroupRequest
+ * A new MediaPackage VOD PackagingGroup resource configuration.
+ * @return Result of the CreatePackagingGroup operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.CreatePackagingGroup
+ * @see AWS API Documentation
+ */
+ @Override
+ public CreatePackagingGroupResult createPackagingGroup(CreatePackagingGroupRequest request) {
+ request = beforeClientExecution(request);
+ return executeCreatePackagingGroup(request);
+ }
+
+ @SdkInternalApi
+ final CreatePackagingGroupResult executeCreatePackagingGroup(CreatePackagingGroupRequest createPackagingGroupRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(createPackagingGroupRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new CreatePackagingGroupRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(createPackagingGroupRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "MediaPackage Vod");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "CreatePackagingGroup");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new CreatePackagingGroupResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
+ /**
+ * Deletes an existing MediaPackage VOD Asset resource.
+ *
+ * @param deleteAssetRequest
+ * @return Result of the DeleteAsset operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.DeleteAsset
+ * @see AWS
+ * API Documentation
+ */
+ @Override
+ public DeleteAssetResult deleteAsset(DeleteAssetRequest request) {
+ request = beforeClientExecution(request);
+ return executeDeleteAsset(request);
+ }
+
+ @SdkInternalApi
+ final DeleteAssetResult executeDeleteAsset(DeleteAssetRequest deleteAssetRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(deleteAssetRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new DeleteAssetRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(deleteAssetRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "MediaPackage Vod");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeleteAsset");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DeleteAssetResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
+ /**
+ * Deletes a MediaPackage VOD PackagingConfiguration resource.
+ *
+ * @param deletePackagingConfigurationRequest
+ * @return Result of the DeletePackagingConfiguration operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.DeletePackagingConfiguration
+ * @see AWS API Documentation
+ */
+ @Override
+ public DeletePackagingConfigurationResult deletePackagingConfiguration(DeletePackagingConfigurationRequest request) {
+ request = beforeClientExecution(request);
+ return executeDeletePackagingConfiguration(request);
+ }
+
+ @SdkInternalApi
+ final DeletePackagingConfigurationResult executeDeletePackagingConfiguration(DeletePackagingConfigurationRequest deletePackagingConfigurationRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(deletePackagingConfigurationRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new DeletePackagingConfigurationRequestProtocolMarshaller(protocolFactory).marshall(super
+ .beforeMarshalling(deletePackagingConfigurationRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "MediaPackage Vod");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeletePackagingConfiguration");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
+ new DeletePackagingConfigurationResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
+ /**
+ * Deletes a MediaPackage VOD PackagingGroup resource.
+ *
+ * @param deletePackagingGroupRequest
+ * @return Result of the DeletePackagingGroup operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.DeletePackagingGroup
+ * @see AWS API Documentation
+ */
+ @Override
+ public DeletePackagingGroupResult deletePackagingGroup(DeletePackagingGroupRequest request) {
+ request = beforeClientExecution(request);
+ return executeDeletePackagingGroup(request);
+ }
+
+ @SdkInternalApi
+ final DeletePackagingGroupResult executeDeletePackagingGroup(DeletePackagingGroupRequest deletePackagingGroupRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(deletePackagingGroupRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new DeletePackagingGroupRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(deletePackagingGroupRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "MediaPackage Vod");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DeletePackagingGroup");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DeletePackagingGroupResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
+ /**
+ * Returns a description of a MediaPackage VOD Asset resource.
+ *
+ * @param describeAssetRequest
+ * @return Result of the DescribeAsset operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.DescribeAsset
+ * @see AWS
+ * API Documentation
+ */
+ @Override
+ public DescribeAssetResult describeAsset(DescribeAssetRequest request) {
+ request = beforeClientExecution(request);
+ return executeDescribeAsset(request);
+ }
+
+ @SdkInternalApi
+ final DescribeAssetResult executeDescribeAsset(DescribeAssetRequest describeAssetRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(describeAssetRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new DescribeAssetRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(describeAssetRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "MediaPackage Vod");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DescribeAsset");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new DescribeAssetResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
+ /**
+ * Returns a description of a MediaPackage VOD PackagingConfiguration resource.
+ *
+ * @param describePackagingConfigurationRequest
+ * @return Result of the DescribePackagingConfiguration operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.DescribePackagingConfiguration
+ * @see AWS API Documentation
+ */
+ @Override
+ public DescribePackagingConfigurationResult describePackagingConfiguration(DescribePackagingConfigurationRequest request) {
+ request = beforeClientExecution(request);
+ return executeDescribePackagingConfiguration(request);
+ }
+
+ @SdkInternalApi
+ final DescribePackagingConfigurationResult executeDescribePackagingConfiguration(DescribePackagingConfigurationRequest describePackagingConfigurationRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(describePackagingConfigurationRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new DescribePackagingConfigurationRequestProtocolMarshaller(protocolFactory).marshall(super
+ .beforeMarshalling(describePackagingConfigurationRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "MediaPackage Vod");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DescribePackagingConfiguration");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
+ new DescribePackagingConfigurationResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
+ /**
+ * Returns a description of a MediaPackage VOD PackagingGroup resource.
+ *
+ * @param describePackagingGroupRequest
+ * @return Result of the DescribePackagingGroup operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.DescribePackagingGroup
+ * @see AWS API Documentation
+ */
+ @Override
+ public DescribePackagingGroupResult describePackagingGroup(DescribePackagingGroupRequest request) {
+ request = beforeClientExecution(request);
+ return executeDescribePackagingGroup(request);
+ }
+
+ @SdkInternalApi
+ final DescribePackagingGroupResult executeDescribePackagingGroup(DescribePackagingGroupRequest describePackagingGroupRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(describePackagingGroupRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new DescribePackagingGroupRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(describePackagingGroupRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "MediaPackage Vod");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DescribePackagingGroup");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
+ new DescribePackagingGroupResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
+ /**
+ * Returns a collection of MediaPackage VOD Asset resources.
+ *
+ * @param listAssetsRequest
+ * @return Result of the ListAssets operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.ListAssets
+ * @see AWS
+ * API Documentation
+ */
+ @Override
+ public ListAssetsResult listAssets(ListAssetsRequest request) {
+ request = beforeClientExecution(request);
+ return executeListAssets(request);
+ }
+
+ @SdkInternalApi
+ final ListAssetsResult executeListAssets(ListAssetsRequest listAssetsRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(listAssetsRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new ListAssetsRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listAssetsRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "MediaPackage Vod");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListAssets");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(new JsonOperationMetadata()
+ .withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListAssetsResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
+ /**
+ * Returns a collection of MediaPackage VOD PackagingConfiguration resources.
+ *
+ * @param listPackagingConfigurationsRequest
+ * @return Result of the ListPackagingConfigurations operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.ListPackagingConfigurations
+ * @see AWS API Documentation
+ */
+ @Override
+ public ListPackagingConfigurationsResult listPackagingConfigurations(ListPackagingConfigurationsRequest request) {
+ request = beforeClientExecution(request);
+ return executeListPackagingConfigurations(request);
+ }
+
+ @SdkInternalApi
+ final ListPackagingConfigurationsResult executeListPackagingConfigurations(ListPackagingConfigurationsRequest listPackagingConfigurationsRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(listPackagingConfigurationsRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new ListPackagingConfigurationsRequestProtocolMarshaller(protocolFactory).marshall(super
+ .beforeMarshalling(listPackagingConfigurationsRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "MediaPackage Vod");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListPackagingConfigurations");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
+ new ListPackagingConfigurationsResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
+ /**
+ * Returns a collection of MediaPackage VOD PackagingGroup resources.
+ *
+ * @param listPackagingGroupsRequest
+ * @return Result of the ListPackagingGroups operation returned by the service.
+ * @throws UnprocessableEntityException
+ * The parameters sent in the request are not valid.
+ * @throws InternalServerErrorException
+ * An unexpected error occurred.
+ * @throws ForbiddenException
+ * The client is not authorized to access the requested resource.
+ * @throws NotFoundException
+ * The requested resource does not exist.
+ * @throws ServiceUnavailableException
+ * An unexpected error occurred.
+ * @throws TooManyRequestsException
+ * The client has exceeded their resource or throttling limits.
+ * @sample AWSMediaPackageVod.ListPackagingGroups
+ * @see AWS API Documentation
+ */
+ @Override
+ public ListPackagingGroupsResult listPackagingGroups(ListPackagingGroupsRequest request) {
+ request = beforeClientExecution(request);
+ return executeListPackagingGroups(request);
+ }
+
+ @SdkInternalApi
+ final ListPackagingGroupsResult executeListPackagingGroups(ListPackagingGroupsRequest listPackagingGroupsRequest) {
+
+ ExecutionContext executionContext = createExecutionContext(listPackagingGroupsRequest);
+ AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
+ awsRequestMetrics.startEvent(Field.ClientExecuteTime);
+ Request request = null;
+ Response response = null;
+
+ try {
+ awsRequestMetrics.startEvent(Field.RequestMarshallTime);
+ try {
+ request = new ListPackagingGroupsRequestProtocolMarshaller(protocolFactory).marshall(super.beforeMarshalling(listPackagingGroupsRequest));
+ // Binds the request metrics to the current request.
+ request.setAWSRequestMetrics(awsRequestMetrics);
+ request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
+ request.addHandlerContext(HandlerContextKey.SERVICE_ID, "MediaPackage Vod");
+ request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "ListPackagingGroups");
+ request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);
+ } finally {
+ awsRequestMetrics.endEvent(Field.RequestMarshallTime);
+ }
+
+ HttpResponseHandler> responseHandler = protocolFactory.createResponseHandler(
+ new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false), new ListPackagingGroupsResultJsonUnmarshaller());
+ response = invoke(request, responseHandler, executionContext);
+
+ return response.getAwsResponse();
+
+ } finally {
+
+ endClientExecution(awsRequestMetrics, request, response);
+ }
+ }
+
+ /**
+ * Returns additional metadata for a previously executed successful, request, typically used for debugging issues
+ * where a service isn't acting as expected. This data isn't considered part of the result data returned by an
+ * operation, so it's available through this separate, diagnostic interface.
+ *
+ * Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic
+ * information for an executed request, you should use this method to retrieve it as soon as possible after
+ * executing the request.
+ *
+ * @param request
+ * The originally executed request
+ *
+ * @return The response metadata for the specified request, or null if none is available.
+ */
+ public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request) {
+ return client.getResponseMetadataForRequest(request);
+ }
+
+ /**
+ * Normal invoke with authentication. Credentials are required and may be overriden at the request level.
+ **/
+ private Response invoke(Request request, HttpResponseHandler> responseHandler,
+ ExecutionContext executionContext) {
+
+ return invoke(request, responseHandler, executionContext, null, null);
+ }
+
+ /**
+ * Normal invoke with authentication. Credentials are required and may be overriden at the request level.
+ **/
+ private Response invoke(Request request, HttpResponseHandler> responseHandler,
+ ExecutionContext executionContext, URI cachedEndpoint, URI uriFromEndpointTrait) {
+
+ executionContext.setCredentialsProvider(CredentialUtils.getCredentialsProvider(request.getOriginalRequest(), awsCredentialsProvider));
+
+ return doInvoke(request, responseHandler, executionContext, cachedEndpoint, uriFromEndpointTrait);
+ }
+
+ /**
+ * Invoke with no authentication. Credentials are not required and any credentials set on the client or request will
+ * be ignored for this operation.
+ **/
+ private Response anonymousInvoke(Request request,
+ HttpResponseHandler> responseHandler, ExecutionContext executionContext) {
+
+ return doInvoke(request, responseHandler, executionContext, null, null);
+ }
+
+ /**
+ * Invoke the request using the http client. Assumes credentials (or lack thereof) have been configured in the
+ * ExecutionContext beforehand.
+ **/
+ private Response doInvoke(Request request, HttpResponseHandler> responseHandler,
+ ExecutionContext executionContext, URI discoveredEndpoint, URI uriFromEndpointTrait) {
+
+ if (discoveredEndpoint != null) {
+ request.setEndpoint(discoveredEndpoint);
+ request.getOriginalRequest().getRequestClientOptions().appendUserAgent("endpoint-discovery");
+ } else if (uriFromEndpointTrait != null) {
+ request.setEndpoint(uriFromEndpointTrait);
+ } else {
+ request.setEndpoint(endpoint);
+ }
+
+ request.setTimeOffset(timeOffset);
+
+ HttpResponseHandler errorResponseHandler = protocolFactory.createErrorResponseHandler(new JsonErrorResponseMetadata());
+
+ return client.execute(request, responseHandler, errorResponseHandler, executionContext);
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ static com.amazonaws.protocol.json.SdkJsonProtocolFactory getProtocolFactory() {
+ return protocolFactory;
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVodClientBuilder.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVodClientBuilder.java
new file mode 100644
index 000000000000..4662b8beff53
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AWSMediaPackageVodClientBuilder.java
@@ -0,0 +1,64 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.ClientConfigurationFactory;
+
+import com.amazonaws.annotation.NotThreadSafe;
+import com.amazonaws.client.builder.AwsSyncClientBuilder;
+import com.amazonaws.client.AwsSyncClientParams;
+
+/**
+ * Fluent builder for {@link com.amazonaws.services.mediapackagevod.AWSMediaPackageVod}. Use of the builder is preferred
+ * over using constructors of the client class.
+ **/
+@NotThreadSafe
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public final class AWSMediaPackageVodClientBuilder extends AwsSyncClientBuilder {
+
+ private static final ClientConfigurationFactory CLIENT_CONFIG_FACTORY = new ClientConfigurationFactory();
+
+ /**
+ * @return Create new instance of builder with all defaults set.
+ */
+ public static AWSMediaPackageVodClientBuilder standard() {
+ return new AWSMediaPackageVodClientBuilder();
+ }
+
+ /**
+ * @return Default client using the {@link com.amazonaws.auth.DefaultAWSCredentialsProviderChain} and
+ * {@link com.amazonaws.regions.DefaultAwsRegionProviderChain} chain
+ */
+ public static AWSMediaPackageVod defaultClient() {
+ return standard().build();
+ }
+
+ private AWSMediaPackageVodClientBuilder() {
+ super(CLIENT_CONFIG_FACTORY);
+ }
+
+ /**
+ * Construct a synchronous implementation of AWSMediaPackageVod using the current builder configuration.
+ *
+ * @param params
+ * Current builder configuration represented as a parameter object.
+ * @return Fully configured implementation of AWSMediaPackageVod.
+ */
+ @Override
+ protected AWSMediaPackageVod build(AwsSyncClientParams params) {
+ return new AWSMediaPackageVodClient(params);
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AbstractAWSMediaPackageVod.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AbstractAWSMediaPackageVod.java
new file mode 100644
index 000000000000..24410d319af8
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AbstractAWSMediaPackageVod.java
@@ -0,0 +1,100 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.services.mediapackagevod.model.*;
+import com.amazonaws.*;
+
+/**
+ * Abstract implementation of {@code AWSMediaPackageVod}. Convenient method forms pass through to the corresponding
+ * overload that takes a request object, which throws an {@code UnsupportedOperationException}.
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class AbstractAWSMediaPackageVod implements AWSMediaPackageVod {
+
+ protected AbstractAWSMediaPackageVod() {
+ }
+
+ @Override
+ public CreateAssetResult createAsset(CreateAssetRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public CreatePackagingConfigurationResult createPackagingConfiguration(CreatePackagingConfigurationRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public CreatePackagingGroupResult createPackagingGroup(CreatePackagingGroupRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public DeleteAssetResult deleteAsset(DeleteAssetRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public DeletePackagingConfigurationResult deletePackagingConfiguration(DeletePackagingConfigurationRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public DeletePackagingGroupResult deletePackagingGroup(DeletePackagingGroupRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public DescribeAssetResult describeAsset(DescribeAssetRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public DescribePackagingConfigurationResult describePackagingConfiguration(DescribePackagingConfigurationRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public DescribePackagingGroupResult describePackagingGroup(DescribePackagingGroupRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public ListAssetsResult listAssets(ListAssetsRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public ListPackagingConfigurationsResult listPackagingConfigurations(ListPackagingConfigurationsRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public ListPackagingGroupsResult listPackagingGroups(ListPackagingGroupsRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public void shutdown() {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public com.amazonaws.ResponseMetadata getCachedResponseMetadata(com.amazonaws.AmazonWebServiceRequest request) {
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AbstractAWSMediaPackageVodAsync.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AbstractAWSMediaPackageVodAsync.java
new file mode 100644
index 000000000000..9832ebd10f51
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/AbstractAWSMediaPackageVodAsync.java
@@ -0,0 +1,186 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.services.mediapackagevod.model.*;
+
+/**
+ * Abstract implementation of {@code AWSMediaPackageVodAsync}. Convenient method forms pass through to the corresponding
+ * overload that takes a request object and an {@code AsyncHandler}, which throws an
+ * {@code UnsupportedOperationException}.
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class AbstractAWSMediaPackageVodAsync extends AbstractAWSMediaPackageVod implements AWSMediaPackageVodAsync {
+
+ protected AbstractAWSMediaPackageVodAsync() {
+ }
+
+ @Override
+ public java.util.concurrent.Future createAssetAsync(CreateAssetRequest request) {
+
+ return createAssetAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future createAssetAsync(CreateAssetRequest request,
+ com.amazonaws.handlers.AsyncHandler asyncHandler) {
+
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public java.util.concurrent.Future createPackagingConfigurationAsync(CreatePackagingConfigurationRequest request) {
+
+ return createPackagingConfigurationAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future createPackagingConfigurationAsync(CreatePackagingConfigurationRequest request,
+ com.amazonaws.handlers.AsyncHandler asyncHandler) {
+
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public java.util.concurrent.Future createPackagingGroupAsync(CreatePackagingGroupRequest request) {
+
+ return createPackagingGroupAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future createPackagingGroupAsync(CreatePackagingGroupRequest request,
+ com.amazonaws.handlers.AsyncHandler asyncHandler) {
+
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public java.util.concurrent.Future deleteAssetAsync(DeleteAssetRequest request) {
+
+ return deleteAssetAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future deleteAssetAsync(DeleteAssetRequest request,
+ com.amazonaws.handlers.AsyncHandler asyncHandler) {
+
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public java.util.concurrent.Future deletePackagingConfigurationAsync(DeletePackagingConfigurationRequest request) {
+
+ return deletePackagingConfigurationAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future deletePackagingConfigurationAsync(DeletePackagingConfigurationRequest request,
+ com.amazonaws.handlers.AsyncHandler asyncHandler) {
+
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public java.util.concurrent.Future deletePackagingGroupAsync(DeletePackagingGroupRequest request) {
+
+ return deletePackagingGroupAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future deletePackagingGroupAsync(DeletePackagingGroupRequest request,
+ com.amazonaws.handlers.AsyncHandler asyncHandler) {
+
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public java.util.concurrent.Future describeAssetAsync(DescribeAssetRequest request) {
+
+ return describeAssetAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future describeAssetAsync(DescribeAssetRequest request,
+ com.amazonaws.handlers.AsyncHandler asyncHandler) {
+
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public java.util.concurrent.Future describePackagingConfigurationAsync(DescribePackagingConfigurationRequest request) {
+
+ return describePackagingConfigurationAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future describePackagingConfigurationAsync(DescribePackagingConfigurationRequest request,
+ com.amazonaws.handlers.AsyncHandler asyncHandler) {
+
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public java.util.concurrent.Future describePackagingGroupAsync(DescribePackagingGroupRequest request) {
+
+ return describePackagingGroupAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future describePackagingGroupAsync(DescribePackagingGroupRequest request,
+ com.amazonaws.handlers.AsyncHandler asyncHandler) {
+
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public java.util.concurrent.Future listAssetsAsync(ListAssetsRequest request) {
+
+ return listAssetsAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future listAssetsAsync(ListAssetsRequest request,
+ com.amazonaws.handlers.AsyncHandler asyncHandler) {
+
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public java.util.concurrent.Future listPackagingConfigurationsAsync(ListPackagingConfigurationsRequest request) {
+
+ return listPackagingConfigurationsAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future listPackagingConfigurationsAsync(ListPackagingConfigurationsRequest request,
+ com.amazonaws.handlers.AsyncHandler asyncHandler) {
+
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+ @Override
+ public java.util.concurrent.Future listPackagingGroupsAsync(ListPackagingGroupsRequest request) {
+
+ return listPackagingGroupsAsync(request, null);
+ }
+
+ @Override
+ public java.util.concurrent.Future listPackagingGroupsAsync(ListPackagingGroupsRequest request,
+ com.amazonaws.handlers.AsyncHandler asyncHandler) {
+
+ throw new java.lang.UnsupportedOperationException();
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/AWSMediaPackageVodException.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/AWSMediaPackageVodException.java
new file mode 100644
index 000000000000..1a207335f130
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/AWSMediaPackageVodException.java
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import javax.annotation.Generated;
+
+/**
+ * Base exception for all service exceptions thrown by AWS Elemental MediaPackage VOD
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class AWSMediaPackageVodException extends com.amazonaws.AmazonServiceException {
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Constructs a new AWSMediaPackageVodException with the specified error message.
+ *
+ * @param message
+ * Describes the error encountered.
+ */
+ public AWSMediaPackageVodException(String message) {
+ super(message);
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/AdMarkers.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/AdMarkers.java
new file mode 100644
index 000000000000..6c7ed2997409
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/AdMarkers.java
@@ -0,0 +1,61 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import javax.annotation.Generated;
+
+/**
+ *
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public enum AdMarkers {
+
+ NONE("NONE"),
+ SCTE35_ENHANCED("SCTE35_ENHANCED"),
+ PASSTHROUGH("PASSTHROUGH");
+
+ private String value;
+
+ private AdMarkers(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String toString() {
+ return this.value;
+ }
+
+ /**
+ * Use this in place of valueOf.
+ *
+ * @param value
+ * real value
+ * @return AdMarkers corresponding to the value
+ *
+ * @throws IllegalArgumentException
+ * If the specified value does not map to one of the known values in this enum.
+ */
+ public static AdMarkers fromValue(String value) {
+ if (value == null || "".equals(value)) {
+ throw new IllegalArgumentException("Value cannot be null or empty!");
+ }
+
+ for (AdMarkers enumEntry : AdMarkers.values()) {
+ if (enumEntry.toString().equals(value)) {
+ return enumEntry;
+ }
+ }
+
+ throw new IllegalArgumentException("Cannot create enum from " + value + " value!");
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/AssetShallow.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/AssetShallow.java
new file mode 100644
index 000000000000..68108757a282
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/AssetShallow.java
@@ -0,0 +1,339 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * A MediaPackage VOD Asset resource.
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class AssetShallow implements Serializable, Cloneable, StructuredPojo {
+
+ /** The ARN of the Asset. */
+ private String arn;
+ /** The unique identifier for the Asset. */
+ private String id;
+ /** The ID of the PackagingGroup for the Asset. */
+ private String packagingGroupId;
+ /** The resource ID to include in SPEKE key requests. */
+ private String resourceId;
+ /** ARN of the source object in S3. */
+ private String sourceArn;
+ /** The IAM role ARN used to access the source S3 bucket. */
+ private String sourceRoleArn;
+
+ /**
+ * The ARN of the Asset.
+ *
+ * @param arn
+ * The ARN of the Asset.
+ */
+
+ public void setArn(String arn) {
+ this.arn = arn;
+ }
+
+ /**
+ * The ARN of the Asset.
+ *
+ * @return The ARN of the Asset.
+ */
+
+ public String getArn() {
+ return this.arn;
+ }
+
+ /**
+ * The ARN of the Asset.
+ *
+ * @param arn
+ * The ARN of the Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public AssetShallow withArn(String arn) {
+ setArn(arn);
+ return this;
+ }
+
+ /**
+ * The unique identifier for the Asset.
+ *
+ * @param id
+ * The unique identifier for the Asset.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The unique identifier for the Asset.
+ *
+ * @return The unique identifier for the Asset.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The unique identifier for the Asset.
+ *
+ * @param id
+ * The unique identifier for the Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public AssetShallow withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * The ID of the PackagingGroup for the Asset.
+ *
+ * @param packagingGroupId
+ * The ID of the PackagingGroup for the Asset.
+ */
+
+ public void setPackagingGroupId(String packagingGroupId) {
+ this.packagingGroupId = packagingGroupId;
+ }
+
+ /**
+ * The ID of the PackagingGroup for the Asset.
+ *
+ * @return The ID of the PackagingGroup for the Asset.
+ */
+
+ public String getPackagingGroupId() {
+ return this.packagingGroupId;
+ }
+
+ /**
+ * The ID of the PackagingGroup for the Asset.
+ *
+ * @param packagingGroupId
+ * The ID of the PackagingGroup for the Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public AssetShallow withPackagingGroupId(String packagingGroupId) {
+ setPackagingGroupId(packagingGroupId);
+ return this;
+ }
+
+ /**
+ * The resource ID to include in SPEKE key requests.
+ *
+ * @param resourceId
+ * The resource ID to include in SPEKE key requests.
+ */
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ }
+
+ /**
+ * The resource ID to include in SPEKE key requests.
+ *
+ * @return The resource ID to include in SPEKE key requests.
+ */
+
+ public String getResourceId() {
+ return this.resourceId;
+ }
+
+ /**
+ * The resource ID to include in SPEKE key requests.
+ *
+ * @param resourceId
+ * The resource ID to include in SPEKE key requests.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public AssetShallow withResourceId(String resourceId) {
+ setResourceId(resourceId);
+ return this;
+ }
+
+ /**
+ * ARN of the source object in S3.
+ *
+ * @param sourceArn
+ * ARN of the source object in S3.
+ */
+
+ public void setSourceArn(String sourceArn) {
+ this.sourceArn = sourceArn;
+ }
+
+ /**
+ * ARN of the source object in S3.
+ *
+ * @return ARN of the source object in S3.
+ */
+
+ public String getSourceArn() {
+ return this.sourceArn;
+ }
+
+ /**
+ * ARN of the source object in S3.
+ *
+ * @param sourceArn
+ * ARN of the source object in S3.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public AssetShallow withSourceArn(String sourceArn) {
+ setSourceArn(sourceArn);
+ return this;
+ }
+
+ /**
+ * The IAM role ARN used to access the source S3 bucket.
+ *
+ * @param sourceRoleArn
+ * The IAM role ARN used to access the source S3 bucket.
+ */
+
+ public void setSourceRoleArn(String sourceRoleArn) {
+ this.sourceRoleArn = sourceRoleArn;
+ }
+
+ /**
+ * The IAM role ARN used to access the source S3 bucket.
+ *
+ * @return The IAM role ARN used to access the source S3 bucket.
+ */
+
+ public String getSourceRoleArn() {
+ return this.sourceRoleArn;
+ }
+
+ /**
+ * The IAM role ARN used to access the source S3 bucket.
+ *
+ * @param sourceRoleArn
+ * The IAM role ARN used to access the source S3 bucket.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public AssetShallow withSourceRoleArn(String sourceRoleArn) {
+ setSourceRoleArn(sourceRoleArn);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getArn() != null)
+ sb.append("Arn: ").append(getArn()).append(",");
+ if (getId() != null)
+ sb.append("Id: ").append(getId()).append(",");
+ if (getPackagingGroupId() != null)
+ sb.append("PackagingGroupId: ").append(getPackagingGroupId()).append(",");
+ if (getResourceId() != null)
+ sb.append("ResourceId: ").append(getResourceId()).append(",");
+ if (getSourceArn() != null)
+ sb.append("SourceArn: ").append(getSourceArn()).append(",");
+ if (getSourceRoleArn() != null)
+ sb.append("SourceRoleArn: ").append(getSourceRoleArn());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof AssetShallow == false)
+ return false;
+ AssetShallow other = (AssetShallow) obj;
+ if (other.getArn() == null ^ this.getArn() == null)
+ return false;
+ if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
+ return false;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ if (other.getPackagingGroupId() == null ^ this.getPackagingGroupId() == null)
+ return false;
+ if (other.getPackagingGroupId() != null && other.getPackagingGroupId().equals(this.getPackagingGroupId()) == false)
+ return false;
+ if (other.getResourceId() == null ^ this.getResourceId() == null)
+ return false;
+ if (other.getResourceId() != null && other.getResourceId().equals(this.getResourceId()) == false)
+ return false;
+ if (other.getSourceArn() == null ^ this.getSourceArn() == null)
+ return false;
+ if (other.getSourceArn() != null && other.getSourceArn().equals(this.getSourceArn()) == false)
+ return false;
+ if (other.getSourceRoleArn() == null ^ this.getSourceRoleArn() == null)
+ return false;
+ if (other.getSourceRoleArn() != null && other.getSourceRoleArn().equals(this.getSourceRoleArn()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ hashCode = prime * hashCode + ((getPackagingGroupId() == null) ? 0 : getPackagingGroupId().hashCode());
+ hashCode = prime * hashCode + ((getResourceId() == null) ? 0 : getResourceId().hashCode());
+ hashCode = prime * hashCode + ((getSourceArn() == null) ? 0 : getSourceArn().hashCode());
+ hashCode = prime * hashCode + ((getSourceRoleArn() == null) ? 0 : getSourceRoleArn().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public AssetShallow clone() {
+ try {
+ return (AssetShallow) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.AssetShallowMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CmafEncryption.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CmafEncryption.java
new file mode 100644
index 000000000000..f239126bb622
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CmafEncryption.java
@@ -0,0 +1,115 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * A CMAF encryption configuration.
+ *
+ * @see AWS
+ * API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class CmafEncryption implements Serializable, Cloneable, StructuredPojo {
+
+ private SpekeKeyProvider spekeKeyProvider;
+
+ /**
+ * @param spekeKeyProvider
+ */
+
+ public void setSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider) {
+ this.spekeKeyProvider = spekeKeyProvider;
+ }
+
+ /**
+ * @return
+ */
+
+ public SpekeKeyProvider getSpekeKeyProvider() {
+ return this.spekeKeyProvider;
+ }
+
+ /**
+ * @param spekeKeyProvider
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CmafEncryption withSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider) {
+ setSpekeKeyProvider(spekeKeyProvider);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getSpekeKeyProvider() != null)
+ sb.append("SpekeKeyProvider: ").append(getSpekeKeyProvider());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof CmafEncryption == false)
+ return false;
+ CmafEncryption other = (CmafEncryption) obj;
+ if (other.getSpekeKeyProvider() == null ^ this.getSpekeKeyProvider() == null)
+ return false;
+ if (other.getSpekeKeyProvider() != null && other.getSpekeKeyProvider().equals(this.getSpekeKeyProvider()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getSpekeKeyProvider() == null) ? 0 : getSpekeKeyProvider().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public CmafEncryption clone() {
+ try {
+ return (CmafEncryption) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.CmafEncryptionMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CmafPackage.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CmafPackage.java
new file mode 100644
index 000000000000..58a4ce42c3b3
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CmafPackage.java
@@ -0,0 +1,238 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * A CMAF packaging configuration.
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class CmafPackage implements Serializable, Cloneable, StructuredPojo {
+
+ private CmafEncryption encryption;
+ /** A list of HLS manifest configurations. */
+ private java.util.List hlsManifests;
+ /**
+ * Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source
+ * fragment duration.
+ */
+ private Integer segmentDurationSeconds;
+
+ /**
+ * @param encryption
+ */
+
+ public void setEncryption(CmafEncryption encryption) {
+ this.encryption = encryption;
+ }
+
+ /**
+ * @return
+ */
+
+ public CmafEncryption getEncryption() {
+ return this.encryption;
+ }
+
+ /**
+ * @param encryption
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CmafPackage withEncryption(CmafEncryption encryption) {
+ setEncryption(encryption);
+ return this;
+ }
+
+ /**
+ * A list of HLS manifest configurations.
+ *
+ * @return A list of HLS manifest configurations.
+ */
+
+ public java.util.List getHlsManifests() {
+ return hlsManifests;
+ }
+
+ /**
+ * A list of HLS manifest configurations.
+ *
+ * @param hlsManifests
+ * A list of HLS manifest configurations.
+ */
+
+ public void setHlsManifests(java.util.Collection hlsManifests) {
+ if (hlsManifests == null) {
+ this.hlsManifests = null;
+ return;
+ }
+
+ this.hlsManifests = new java.util.ArrayList(hlsManifests);
+ }
+
+ /**
+ * A list of HLS manifest configurations.
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setHlsManifests(java.util.Collection)} or {@link #withHlsManifests(java.util.Collection)} if you want to
+ * override the existing values.
+ *
+ *
+ * @param hlsManifests
+ * A list of HLS manifest configurations.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CmafPackage withHlsManifests(HlsManifest... hlsManifests) {
+ if (this.hlsManifests == null) {
+ setHlsManifests(new java.util.ArrayList(hlsManifests.length));
+ }
+ for (HlsManifest ele : hlsManifests) {
+ this.hlsManifests.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * A list of HLS manifest configurations.
+ *
+ * @param hlsManifests
+ * A list of HLS manifest configurations.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CmafPackage withHlsManifests(java.util.Collection hlsManifests) {
+ setHlsManifests(hlsManifests);
+ return this;
+ }
+
+ /**
+ * Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source
+ * fragment duration.
+ *
+ * @param segmentDurationSeconds
+ * Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the
+ * source fragment duration.
+ */
+
+ public void setSegmentDurationSeconds(Integer segmentDurationSeconds) {
+ this.segmentDurationSeconds = segmentDurationSeconds;
+ }
+
+ /**
+ * Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source
+ * fragment duration.
+ *
+ * @return Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the
+ * source fragment duration.
+ */
+
+ public Integer getSegmentDurationSeconds() {
+ return this.segmentDurationSeconds;
+ }
+
+ /**
+ * Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source
+ * fragment duration.
+ *
+ * @param segmentDurationSeconds
+ * Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the
+ * source fragment duration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CmafPackage withSegmentDurationSeconds(Integer segmentDurationSeconds) {
+ setSegmentDurationSeconds(segmentDurationSeconds);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getEncryption() != null)
+ sb.append("Encryption: ").append(getEncryption()).append(",");
+ if (getHlsManifests() != null)
+ sb.append("HlsManifests: ").append(getHlsManifests()).append(",");
+ if (getSegmentDurationSeconds() != null)
+ sb.append("SegmentDurationSeconds: ").append(getSegmentDurationSeconds());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof CmafPackage == false)
+ return false;
+ CmafPackage other = (CmafPackage) obj;
+ if (other.getEncryption() == null ^ this.getEncryption() == null)
+ return false;
+ if (other.getEncryption() != null && other.getEncryption().equals(this.getEncryption()) == false)
+ return false;
+ if (other.getHlsManifests() == null ^ this.getHlsManifests() == null)
+ return false;
+ if (other.getHlsManifests() != null && other.getHlsManifests().equals(this.getHlsManifests()) == false)
+ return false;
+ if (other.getSegmentDurationSeconds() == null ^ this.getSegmentDurationSeconds() == null)
+ return false;
+ if (other.getSegmentDurationSeconds() != null && other.getSegmentDurationSeconds().equals(this.getSegmentDurationSeconds()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getEncryption() == null) ? 0 : getEncryption().hashCode());
+ hashCode = prime * hashCode + ((getHlsManifests() == null) ? 0 : getHlsManifests().hashCode());
+ hashCode = prime * hashCode + ((getSegmentDurationSeconds() == null) ? 0 : getSegmentDurationSeconds().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public CmafPackage clone() {
+ try {
+ return (CmafPackage) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.CmafPackageMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreateAssetRequest.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreateAssetRequest.java
new file mode 100644
index 000000000000..2372b52957cc
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreateAssetRequest.java
@@ -0,0 +1,287 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ * A new MediaPackage VOD Asset configuration.
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class CreateAssetRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ /** The unique identifier for the Asset. */
+ private String id;
+ /** The ID of the PackagingGroup for the Asset. */
+ private String packagingGroupId;
+ /** The resource ID to include in SPEKE key requests. */
+ private String resourceId;
+ /** ARN of the source object in S3. */
+ private String sourceArn;
+ /** The IAM role ARN used to access the source S3 bucket. */
+ private String sourceRoleArn;
+
+ /**
+ * The unique identifier for the Asset.
+ *
+ * @param id
+ * The unique identifier for the Asset.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The unique identifier for the Asset.
+ *
+ * @return The unique identifier for the Asset.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The unique identifier for the Asset.
+ *
+ * @param id
+ * The unique identifier for the Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateAssetRequest withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * The ID of the PackagingGroup for the Asset.
+ *
+ * @param packagingGroupId
+ * The ID of the PackagingGroup for the Asset.
+ */
+
+ public void setPackagingGroupId(String packagingGroupId) {
+ this.packagingGroupId = packagingGroupId;
+ }
+
+ /**
+ * The ID of the PackagingGroup for the Asset.
+ *
+ * @return The ID of the PackagingGroup for the Asset.
+ */
+
+ public String getPackagingGroupId() {
+ return this.packagingGroupId;
+ }
+
+ /**
+ * The ID of the PackagingGroup for the Asset.
+ *
+ * @param packagingGroupId
+ * The ID of the PackagingGroup for the Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateAssetRequest withPackagingGroupId(String packagingGroupId) {
+ setPackagingGroupId(packagingGroupId);
+ return this;
+ }
+
+ /**
+ * The resource ID to include in SPEKE key requests.
+ *
+ * @param resourceId
+ * The resource ID to include in SPEKE key requests.
+ */
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ }
+
+ /**
+ * The resource ID to include in SPEKE key requests.
+ *
+ * @return The resource ID to include in SPEKE key requests.
+ */
+
+ public String getResourceId() {
+ return this.resourceId;
+ }
+
+ /**
+ * The resource ID to include in SPEKE key requests.
+ *
+ * @param resourceId
+ * The resource ID to include in SPEKE key requests.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateAssetRequest withResourceId(String resourceId) {
+ setResourceId(resourceId);
+ return this;
+ }
+
+ /**
+ * ARN of the source object in S3.
+ *
+ * @param sourceArn
+ * ARN of the source object in S3.
+ */
+
+ public void setSourceArn(String sourceArn) {
+ this.sourceArn = sourceArn;
+ }
+
+ /**
+ * ARN of the source object in S3.
+ *
+ * @return ARN of the source object in S3.
+ */
+
+ public String getSourceArn() {
+ return this.sourceArn;
+ }
+
+ /**
+ * ARN of the source object in S3.
+ *
+ * @param sourceArn
+ * ARN of the source object in S3.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateAssetRequest withSourceArn(String sourceArn) {
+ setSourceArn(sourceArn);
+ return this;
+ }
+
+ /**
+ * The IAM role ARN used to access the source S3 bucket.
+ *
+ * @param sourceRoleArn
+ * The IAM role ARN used to access the source S3 bucket.
+ */
+
+ public void setSourceRoleArn(String sourceRoleArn) {
+ this.sourceRoleArn = sourceRoleArn;
+ }
+
+ /**
+ * The IAM role ARN used to access the source S3 bucket.
+ *
+ * @return The IAM role ARN used to access the source S3 bucket.
+ */
+
+ public String getSourceRoleArn() {
+ return this.sourceRoleArn;
+ }
+
+ /**
+ * The IAM role ARN used to access the source S3 bucket.
+ *
+ * @param sourceRoleArn
+ * The IAM role ARN used to access the source S3 bucket.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateAssetRequest withSourceRoleArn(String sourceRoleArn) {
+ setSourceRoleArn(sourceRoleArn);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getId() != null)
+ sb.append("Id: ").append(getId()).append(",");
+ if (getPackagingGroupId() != null)
+ sb.append("PackagingGroupId: ").append(getPackagingGroupId()).append(",");
+ if (getResourceId() != null)
+ sb.append("ResourceId: ").append(getResourceId()).append(",");
+ if (getSourceArn() != null)
+ sb.append("SourceArn: ").append(getSourceArn()).append(",");
+ if (getSourceRoleArn() != null)
+ sb.append("SourceRoleArn: ").append(getSourceRoleArn());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof CreateAssetRequest == false)
+ return false;
+ CreateAssetRequest other = (CreateAssetRequest) obj;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ if (other.getPackagingGroupId() == null ^ this.getPackagingGroupId() == null)
+ return false;
+ if (other.getPackagingGroupId() != null && other.getPackagingGroupId().equals(this.getPackagingGroupId()) == false)
+ return false;
+ if (other.getResourceId() == null ^ this.getResourceId() == null)
+ return false;
+ if (other.getResourceId() != null && other.getResourceId().equals(this.getResourceId()) == false)
+ return false;
+ if (other.getSourceArn() == null ^ this.getSourceArn() == null)
+ return false;
+ if (other.getSourceArn() != null && other.getSourceArn().equals(this.getSourceArn()) == false)
+ return false;
+ if (other.getSourceRoleArn() == null ^ this.getSourceRoleArn() == null)
+ return false;
+ if (other.getSourceRoleArn() != null && other.getSourceRoleArn().equals(this.getSourceRoleArn()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ hashCode = prime * hashCode + ((getPackagingGroupId() == null) ? 0 : getPackagingGroupId().hashCode());
+ hashCode = prime * hashCode + ((getResourceId() == null) ? 0 : getResourceId().hashCode());
+ hashCode = prime * hashCode + ((getSourceArn() == null) ? 0 : getSourceArn().hashCode());
+ hashCode = prime * hashCode + ((getSourceRoleArn() == null) ? 0 : getSourceRoleArn().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public CreateAssetRequest clone() {
+ return (CreateAssetRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreateAssetResult.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreateAssetResult.java
new file mode 100644
index 000000000000..175af3c18e64
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreateAssetResult.java
@@ -0,0 +1,402 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class CreateAssetResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ /** The ARN of the Asset. */
+ private String arn;
+ /** The list of egress endpoints available for the Asset. */
+ private java.util.List egressEndpoints;
+ /** The unique identifier for the Asset. */
+ private String id;
+ /** The ID of the PackagingGroup for the Asset. */
+ private String packagingGroupId;
+ /** The resource ID to include in SPEKE key requests. */
+ private String resourceId;
+ /** ARN of the source object in S3. */
+ private String sourceArn;
+ /** The IAM role_arn used to access the source S3 bucket. */
+ private String sourceRoleArn;
+
+ /**
+ * The ARN of the Asset.
+ *
+ * @param arn
+ * The ARN of the Asset.
+ */
+
+ public void setArn(String arn) {
+ this.arn = arn;
+ }
+
+ /**
+ * The ARN of the Asset.
+ *
+ * @return The ARN of the Asset.
+ */
+
+ public String getArn() {
+ return this.arn;
+ }
+
+ /**
+ * The ARN of the Asset.
+ *
+ * @param arn
+ * The ARN of the Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateAssetResult withArn(String arn) {
+ setArn(arn);
+ return this;
+ }
+
+ /**
+ * The list of egress endpoints available for the Asset.
+ *
+ * @return The list of egress endpoints available for the Asset.
+ */
+
+ public java.util.List getEgressEndpoints() {
+ return egressEndpoints;
+ }
+
+ /**
+ * The list of egress endpoints available for the Asset.
+ *
+ * @param egressEndpoints
+ * The list of egress endpoints available for the Asset.
+ */
+
+ public void setEgressEndpoints(java.util.Collection egressEndpoints) {
+ if (egressEndpoints == null) {
+ this.egressEndpoints = null;
+ return;
+ }
+
+ this.egressEndpoints = new java.util.ArrayList(egressEndpoints);
+ }
+
+ /**
+ * The list of egress endpoints available for the Asset.
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setEgressEndpoints(java.util.Collection)} or {@link #withEgressEndpoints(java.util.Collection)} if you
+ * want to override the existing values.
+ *
+ *
+ * @param egressEndpoints
+ * The list of egress endpoints available for the Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateAssetResult withEgressEndpoints(EgressEndpoint... egressEndpoints) {
+ if (this.egressEndpoints == null) {
+ setEgressEndpoints(new java.util.ArrayList(egressEndpoints.length));
+ }
+ for (EgressEndpoint ele : egressEndpoints) {
+ this.egressEndpoints.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * The list of egress endpoints available for the Asset.
+ *
+ * @param egressEndpoints
+ * The list of egress endpoints available for the Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateAssetResult withEgressEndpoints(java.util.Collection egressEndpoints) {
+ setEgressEndpoints(egressEndpoints);
+ return this;
+ }
+
+ /**
+ * The unique identifier for the Asset.
+ *
+ * @param id
+ * The unique identifier for the Asset.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The unique identifier for the Asset.
+ *
+ * @return The unique identifier for the Asset.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The unique identifier for the Asset.
+ *
+ * @param id
+ * The unique identifier for the Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateAssetResult withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * The ID of the PackagingGroup for the Asset.
+ *
+ * @param packagingGroupId
+ * The ID of the PackagingGroup for the Asset.
+ */
+
+ public void setPackagingGroupId(String packagingGroupId) {
+ this.packagingGroupId = packagingGroupId;
+ }
+
+ /**
+ * The ID of the PackagingGroup for the Asset.
+ *
+ * @return The ID of the PackagingGroup for the Asset.
+ */
+
+ public String getPackagingGroupId() {
+ return this.packagingGroupId;
+ }
+
+ /**
+ * The ID of the PackagingGroup for the Asset.
+ *
+ * @param packagingGroupId
+ * The ID of the PackagingGroup for the Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateAssetResult withPackagingGroupId(String packagingGroupId) {
+ setPackagingGroupId(packagingGroupId);
+ return this;
+ }
+
+ /**
+ * The resource ID to include in SPEKE key requests.
+ *
+ * @param resourceId
+ * The resource ID to include in SPEKE key requests.
+ */
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ }
+
+ /**
+ * The resource ID to include in SPEKE key requests.
+ *
+ * @return The resource ID to include in SPEKE key requests.
+ */
+
+ public String getResourceId() {
+ return this.resourceId;
+ }
+
+ /**
+ * The resource ID to include in SPEKE key requests.
+ *
+ * @param resourceId
+ * The resource ID to include in SPEKE key requests.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateAssetResult withResourceId(String resourceId) {
+ setResourceId(resourceId);
+ return this;
+ }
+
+ /**
+ * ARN of the source object in S3.
+ *
+ * @param sourceArn
+ * ARN of the source object in S3.
+ */
+
+ public void setSourceArn(String sourceArn) {
+ this.sourceArn = sourceArn;
+ }
+
+ /**
+ * ARN of the source object in S3.
+ *
+ * @return ARN of the source object in S3.
+ */
+
+ public String getSourceArn() {
+ return this.sourceArn;
+ }
+
+ /**
+ * ARN of the source object in S3.
+ *
+ * @param sourceArn
+ * ARN of the source object in S3.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateAssetResult withSourceArn(String sourceArn) {
+ setSourceArn(sourceArn);
+ return this;
+ }
+
+ /**
+ * The IAM role_arn used to access the source S3 bucket.
+ *
+ * @param sourceRoleArn
+ * The IAM role_arn used to access the source S3 bucket.
+ */
+
+ public void setSourceRoleArn(String sourceRoleArn) {
+ this.sourceRoleArn = sourceRoleArn;
+ }
+
+ /**
+ * The IAM role_arn used to access the source S3 bucket.
+ *
+ * @return The IAM role_arn used to access the source S3 bucket.
+ */
+
+ public String getSourceRoleArn() {
+ return this.sourceRoleArn;
+ }
+
+ /**
+ * The IAM role_arn used to access the source S3 bucket.
+ *
+ * @param sourceRoleArn
+ * The IAM role_arn used to access the source S3 bucket.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreateAssetResult withSourceRoleArn(String sourceRoleArn) {
+ setSourceRoleArn(sourceRoleArn);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getArn() != null)
+ sb.append("Arn: ").append(getArn()).append(",");
+ if (getEgressEndpoints() != null)
+ sb.append("EgressEndpoints: ").append(getEgressEndpoints()).append(",");
+ if (getId() != null)
+ sb.append("Id: ").append(getId()).append(",");
+ if (getPackagingGroupId() != null)
+ sb.append("PackagingGroupId: ").append(getPackagingGroupId()).append(",");
+ if (getResourceId() != null)
+ sb.append("ResourceId: ").append(getResourceId()).append(",");
+ if (getSourceArn() != null)
+ sb.append("SourceArn: ").append(getSourceArn()).append(",");
+ if (getSourceRoleArn() != null)
+ sb.append("SourceRoleArn: ").append(getSourceRoleArn());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof CreateAssetResult == false)
+ return false;
+ CreateAssetResult other = (CreateAssetResult) obj;
+ if (other.getArn() == null ^ this.getArn() == null)
+ return false;
+ if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
+ return false;
+ if (other.getEgressEndpoints() == null ^ this.getEgressEndpoints() == null)
+ return false;
+ if (other.getEgressEndpoints() != null && other.getEgressEndpoints().equals(this.getEgressEndpoints()) == false)
+ return false;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ if (other.getPackagingGroupId() == null ^ this.getPackagingGroupId() == null)
+ return false;
+ if (other.getPackagingGroupId() != null && other.getPackagingGroupId().equals(this.getPackagingGroupId()) == false)
+ return false;
+ if (other.getResourceId() == null ^ this.getResourceId() == null)
+ return false;
+ if (other.getResourceId() != null && other.getResourceId().equals(this.getResourceId()) == false)
+ return false;
+ if (other.getSourceArn() == null ^ this.getSourceArn() == null)
+ return false;
+ if (other.getSourceArn() != null && other.getSourceArn().equals(this.getSourceArn()) == false)
+ return false;
+ if (other.getSourceRoleArn() == null ^ this.getSourceRoleArn() == null)
+ return false;
+ if (other.getSourceRoleArn() != null && other.getSourceRoleArn().equals(this.getSourceRoleArn()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
+ hashCode = prime * hashCode + ((getEgressEndpoints() == null) ? 0 : getEgressEndpoints().hashCode());
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ hashCode = prime * hashCode + ((getPackagingGroupId() == null) ? 0 : getPackagingGroupId().hashCode());
+ hashCode = prime * hashCode + ((getResourceId() == null) ? 0 : getResourceId().hashCode());
+ hashCode = prime * hashCode + ((getSourceArn() == null) ? 0 : getSourceArn().hashCode());
+ hashCode = prime * hashCode + ((getSourceRoleArn() == null) ? 0 : getSourceRoleArn().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public CreateAssetResult clone() {
+ try {
+ return (CreateAssetResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreatePackagingConfigurationRequest.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreatePackagingConfigurationRequest.java
new file mode 100644
index 000000000000..a77b5ce8a5c7
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreatePackagingConfigurationRequest.java
@@ -0,0 +1,297 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ * A new MediaPackage VOD PackagingConfiguration resource configuration.
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class CreatePackagingConfigurationRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ private CmafPackage cmafPackage;
+
+ private DashPackage dashPackage;
+
+ private HlsPackage hlsPackage;
+ /** The ID of the PackagingConfiguration. */
+ private String id;
+
+ private MssPackage mssPackage;
+ /** The ID of a PackagingGroup. */
+ private String packagingGroupId;
+
+ /**
+ * @param cmafPackage
+ */
+
+ public void setCmafPackage(CmafPackage cmafPackage) {
+ this.cmafPackage = cmafPackage;
+ }
+
+ /**
+ * @return
+ */
+
+ public CmafPackage getCmafPackage() {
+ return this.cmafPackage;
+ }
+
+ /**
+ * @param cmafPackage
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreatePackagingConfigurationRequest withCmafPackage(CmafPackage cmafPackage) {
+ setCmafPackage(cmafPackage);
+ return this;
+ }
+
+ /**
+ * @param dashPackage
+ */
+
+ public void setDashPackage(DashPackage dashPackage) {
+ this.dashPackage = dashPackage;
+ }
+
+ /**
+ * @return
+ */
+
+ public DashPackage getDashPackage() {
+ return this.dashPackage;
+ }
+
+ /**
+ * @param dashPackage
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreatePackagingConfigurationRequest withDashPackage(DashPackage dashPackage) {
+ setDashPackage(dashPackage);
+ return this;
+ }
+
+ /**
+ * @param hlsPackage
+ */
+
+ public void setHlsPackage(HlsPackage hlsPackage) {
+ this.hlsPackage = hlsPackage;
+ }
+
+ /**
+ * @return
+ */
+
+ public HlsPackage getHlsPackage() {
+ return this.hlsPackage;
+ }
+
+ /**
+ * @param hlsPackage
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreatePackagingConfigurationRequest withHlsPackage(HlsPackage hlsPackage) {
+ setHlsPackage(hlsPackage);
+ return this;
+ }
+
+ /**
+ * The ID of the PackagingConfiguration.
+ *
+ * @param id
+ * The ID of the PackagingConfiguration.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The ID of the PackagingConfiguration.
+ *
+ * @return The ID of the PackagingConfiguration.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The ID of the PackagingConfiguration.
+ *
+ * @param id
+ * The ID of the PackagingConfiguration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreatePackagingConfigurationRequest withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * @param mssPackage
+ */
+
+ public void setMssPackage(MssPackage mssPackage) {
+ this.mssPackage = mssPackage;
+ }
+
+ /**
+ * @return
+ */
+
+ public MssPackage getMssPackage() {
+ return this.mssPackage;
+ }
+
+ /**
+ * @param mssPackage
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreatePackagingConfigurationRequest withMssPackage(MssPackage mssPackage) {
+ setMssPackage(mssPackage);
+ return this;
+ }
+
+ /**
+ * The ID of a PackagingGroup.
+ *
+ * @param packagingGroupId
+ * The ID of a PackagingGroup.
+ */
+
+ public void setPackagingGroupId(String packagingGroupId) {
+ this.packagingGroupId = packagingGroupId;
+ }
+
+ /**
+ * The ID of a PackagingGroup.
+ *
+ * @return The ID of a PackagingGroup.
+ */
+
+ public String getPackagingGroupId() {
+ return this.packagingGroupId;
+ }
+
+ /**
+ * The ID of a PackagingGroup.
+ *
+ * @param packagingGroupId
+ * The ID of a PackagingGroup.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreatePackagingConfigurationRequest withPackagingGroupId(String packagingGroupId) {
+ setPackagingGroupId(packagingGroupId);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getCmafPackage() != null)
+ sb.append("CmafPackage: ").append(getCmafPackage()).append(",");
+ if (getDashPackage() != null)
+ sb.append("DashPackage: ").append(getDashPackage()).append(",");
+ if (getHlsPackage() != null)
+ sb.append("HlsPackage: ").append(getHlsPackage()).append(",");
+ if (getId() != null)
+ sb.append("Id: ").append(getId()).append(",");
+ if (getMssPackage() != null)
+ sb.append("MssPackage: ").append(getMssPackage()).append(",");
+ if (getPackagingGroupId() != null)
+ sb.append("PackagingGroupId: ").append(getPackagingGroupId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof CreatePackagingConfigurationRequest == false)
+ return false;
+ CreatePackagingConfigurationRequest other = (CreatePackagingConfigurationRequest) obj;
+ if (other.getCmafPackage() == null ^ this.getCmafPackage() == null)
+ return false;
+ if (other.getCmafPackage() != null && other.getCmafPackage().equals(this.getCmafPackage()) == false)
+ return false;
+ if (other.getDashPackage() == null ^ this.getDashPackage() == null)
+ return false;
+ if (other.getDashPackage() != null && other.getDashPackage().equals(this.getDashPackage()) == false)
+ return false;
+ if (other.getHlsPackage() == null ^ this.getHlsPackage() == null)
+ return false;
+ if (other.getHlsPackage() != null && other.getHlsPackage().equals(this.getHlsPackage()) == false)
+ return false;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ if (other.getMssPackage() == null ^ this.getMssPackage() == null)
+ return false;
+ if (other.getMssPackage() != null && other.getMssPackage().equals(this.getMssPackage()) == false)
+ return false;
+ if (other.getPackagingGroupId() == null ^ this.getPackagingGroupId() == null)
+ return false;
+ if (other.getPackagingGroupId() != null && other.getPackagingGroupId().equals(this.getPackagingGroupId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getCmafPackage() == null) ? 0 : getCmafPackage().hashCode());
+ hashCode = prime * hashCode + ((getDashPackage() == null) ? 0 : getDashPackage().hashCode());
+ hashCode = prime * hashCode + ((getHlsPackage() == null) ? 0 : getHlsPackage().hashCode());
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ hashCode = prime * hashCode + ((getMssPackage() == null) ? 0 : getMssPackage().hashCode());
+ hashCode = prime * hashCode + ((getPackagingGroupId() == null) ? 0 : getPackagingGroupId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public CreatePackagingConfigurationRequest clone() {
+ return (CreatePackagingConfigurationRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreatePackagingConfigurationResult.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreatePackagingConfigurationResult.java
new file mode 100644
index 000000000000..b00b7cb4dc37
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreatePackagingConfigurationResult.java
@@ -0,0 +1,342 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class CreatePackagingConfigurationResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ /** The ARN of the PackagingConfiguration. */
+ private String arn;
+
+ private CmafPackage cmafPackage;
+
+ private DashPackage dashPackage;
+
+ private HlsPackage hlsPackage;
+ /** The ID of the PackagingConfiguration. */
+ private String id;
+
+ private MssPackage mssPackage;
+ /** The ID of a PackagingGroup. */
+ private String packagingGroupId;
+
+ /**
+ * The ARN of the PackagingConfiguration.
+ *
+ * @param arn
+ * The ARN of the PackagingConfiguration.
+ */
+
+ public void setArn(String arn) {
+ this.arn = arn;
+ }
+
+ /**
+ * The ARN of the PackagingConfiguration.
+ *
+ * @return The ARN of the PackagingConfiguration.
+ */
+
+ public String getArn() {
+ return this.arn;
+ }
+
+ /**
+ * The ARN of the PackagingConfiguration.
+ *
+ * @param arn
+ * The ARN of the PackagingConfiguration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreatePackagingConfigurationResult withArn(String arn) {
+ setArn(arn);
+ return this;
+ }
+
+ /**
+ * @param cmafPackage
+ */
+
+ public void setCmafPackage(CmafPackage cmafPackage) {
+ this.cmafPackage = cmafPackage;
+ }
+
+ /**
+ * @return
+ */
+
+ public CmafPackage getCmafPackage() {
+ return this.cmafPackage;
+ }
+
+ /**
+ * @param cmafPackage
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreatePackagingConfigurationResult withCmafPackage(CmafPackage cmafPackage) {
+ setCmafPackage(cmafPackage);
+ return this;
+ }
+
+ /**
+ * @param dashPackage
+ */
+
+ public void setDashPackage(DashPackage dashPackage) {
+ this.dashPackage = dashPackage;
+ }
+
+ /**
+ * @return
+ */
+
+ public DashPackage getDashPackage() {
+ return this.dashPackage;
+ }
+
+ /**
+ * @param dashPackage
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreatePackagingConfigurationResult withDashPackage(DashPackage dashPackage) {
+ setDashPackage(dashPackage);
+ return this;
+ }
+
+ /**
+ * @param hlsPackage
+ */
+
+ public void setHlsPackage(HlsPackage hlsPackage) {
+ this.hlsPackage = hlsPackage;
+ }
+
+ /**
+ * @return
+ */
+
+ public HlsPackage getHlsPackage() {
+ return this.hlsPackage;
+ }
+
+ /**
+ * @param hlsPackage
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreatePackagingConfigurationResult withHlsPackage(HlsPackage hlsPackage) {
+ setHlsPackage(hlsPackage);
+ return this;
+ }
+
+ /**
+ * The ID of the PackagingConfiguration.
+ *
+ * @param id
+ * The ID of the PackagingConfiguration.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The ID of the PackagingConfiguration.
+ *
+ * @return The ID of the PackagingConfiguration.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The ID of the PackagingConfiguration.
+ *
+ * @param id
+ * The ID of the PackagingConfiguration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreatePackagingConfigurationResult withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * @param mssPackage
+ */
+
+ public void setMssPackage(MssPackage mssPackage) {
+ this.mssPackage = mssPackage;
+ }
+
+ /**
+ * @return
+ */
+
+ public MssPackage getMssPackage() {
+ return this.mssPackage;
+ }
+
+ /**
+ * @param mssPackage
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreatePackagingConfigurationResult withMssPackage(MssPackage mssPackage) {
+ setMssPackage(mssPackage);
+ return this;
+ }
+
+ /**
+ * The ID of a PackagingGroup.
+ *
+ * @param packagingGroupId
+ * The ID of a PackagingGroup.
+ */
+
+ public void setPackagingGroupId(String packagingGroupId) {
+ this.packagingGroupId = packagingGroupId;
+ }
+
+ /**
+ * The ID of a PackagingGroup.
+ *
+ * @return The ID of a PackagingGroup.
+ */
+
+ public String getPackagingGroupId() {
+ return this.packagingGroupId;
+ }
+
+ /**
+ * The ID of a PackagingGroup.
+ *
+ * @param packagingGroupId
+ * The ID of a PackagingGroup.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreatePackagingConfigurationResult withPackagingGroupId(String packagingGroupId) {
+ setPackagingGroupId(packagingGroupId);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getArn() != null)
+ sb.append("Arn: ").append(getArn()).append(",");
+ if (getCmafPackage() != null)
+ sb.append("CmafPackage: ").append(getCmafPackage()).append(",");
+ if (getDashPackage() != null)
+ sb.append("DashPackage: ").append(getDashPackage()).append(",");
+ if (getHlsPackage() != null)
+ sb.append("HlsPackage: ").append(getHlsPackage()).append(",");
+ if (getId() != null)
+ sb.append("Id: ").append(getId()).append(",");
+ if (getMssPackage() != null)
+ sb.append("MssPackage: ").append(getMssPackage()).append(",");
+ if (getPackagingGroupId() != null)
+ sb.append("PackagingGroupId: ").append(getPackagingGroupId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof CreatePackagingConfigurationResult == false)
+ return false;
+ CreatePackagingConfigurationResult other = (CreatePackagingConfigurationResult) obj;
+ if (other.getArn() == null ^ this.getArn() == null)
+ return false;
+ if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
+ return false;
+ if (other.getCmafPackage() == null ^ this.getCmafPackage() == null)
+ return false;
+ if (other.getCmafPackage() != null && other.getCmafPackage().equals(this.getCmafPackage()) == false)
+ return false;
+ if (other.getDashPackage() == null ^ this.getDashPackage() == null)
+ return false;
+ if (other.getDashPackage() != null && other.getDashPackage().equals(this.getDashPackage()) == false)
+ return false;
+ if (other.getHlsPackage() == null ^ this.getHlsPackage() == null)
+ return false;
+ if (other.getHlsPackage() != null && other.getHlsPackage().equals(this.getHlsPackage()) == false)
+ return false;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ if (other.getMssPackage() == null ^ this.getMssPackage() == null)
+ return false;
+ if (other.getMssPackage() != null && other.getMssPackage().equals(this.getMssPackage()) == false)
+ return false;
+ if (other.getPackagingGroupId() == null ^ this.getPackagingGroupId() == null)
+ return false;
+ if (other.getPackagingGroupId() != null && other.getPackagingGroupId().equals(this.getPackagingGroupId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
+ hashCode = prime * hashCode + ((getCmafPackage() == null) ? 0 : getCmafPackage().hashCode());
+ hashCode = prime * hashCode + ((getDashPackage() == null) ? 0 : getDashPackage().hashCode());
+ hashCode = prime * hashCode + ((getHlsPackage() == null) ? 0 : getHlsPackage().hashCode());
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ hashCode = prime * hashCode + ((getMssPackage() == null) ? 0 : getMssPackage().hashCode());
+ hashCode = prime * hashCode + ((getPackagingGroupId() == null) ? 0 : getPackagingGroupId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public CreatePackagingConfigurationResult clone() {
+ try {
+ return (CreatePackagingConfigurationResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreatePackagingGroupRequest.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreatePackagingGroupRequest.java
new file mode 100644
index 000000000000..e249d7f13f5c
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreatePackagingGroupRequest.java
@@ -0,0 +1,115 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ * A new MediaPackage VOD PackagingGroup resource configuration.
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class CreatePackagingGroupRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ /** The ID of the PackagingGroup. */
+ private String id;
+
+ /**
+ * The ID of the PackagingGroup.
+ *
+ * @param id
+ * The ID of the PackagingGroup.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The ID of the PackagingGroup.
+ *
+ * @return The ID of the PackagingGroup.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The ID of the PackagingGroup.
+ *
+ * @param id
+ * The ID of the PackagingGroup.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreatePackagingGroupRequest withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getId() != null)
+ sb.append("Id: ").append(getId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof CreatePackagingGroupRequest == false)
+ return false;
+ CreatePackagingGroupRequest other = (CreatePackagingGroupRequest) obj;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public CreatePackagingGroupRequest clone() {
+ return (CreatePackagingGroupRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreatePackagingGroupResult.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreatePackagingGroupResult.java
new file mode 100644
index 000000000000..31521daf00da
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/CreatePackagingGroupResult.java
@@ -0,0 +1,159 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class CreatePackagingGroupResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ /** The ARN of the PackagingGroup. */
+ private String arn;
+ /** The ID of the PackagingGroup. */
+ private String id;
+
+ /**
+ * The ARN of the PackagingGroup.
+ *
+ * @param arn
+ * The ARN of the PackagingGroup.
+ */
+
+ public void setArn(String arn) {
+ this.arn = arn;
+ }
+
+ /**
+ * The ARN of the PackagingGroup.
+ *
+ * @return The ARN of the PackagingGroup.
+ */
+
+ public String getArn() {
+ return this.arn;
+ }
+
+ /**
+ * The ARN of the PackagingGroup.
+ *
+ * @param arn
+ * The ARN of the PackagingGroup.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreatePackagingGroupResult withArn(String arn) {
+ setArn(arn);
+ return this;
+ }
+
+ /**
+ * The ID of the PackagingGroup.
+ *
+ * @param id
+ * The ID of the PackagingGroup.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The ID of the PackagingGroup.
+ *
+ * @return The ID of the PackagingGroup.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The ID of the PackagingGroup.
+ *
+ * @param id
+ * The ID of the PackagingGroup.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public CreatePackagingGroupResult withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getArn() != null)
+ sb.append("Arn: ").append(getArn()).append(",");
+ if (getId() != null)
+ sb.append("Id: ").append(getId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof CreatePackagingGroupResult == false)
+ return false;
+ CreatePackagingGroupResult other = (CreatePackagingGroupResult) obj;
+ if (other.getArn() == null ^ this.getArn() == null)
+ return false;
+ if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
+ return false;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public CreatePackagingGroupResult clone() {
+ try {
+ return (CreatePackagingGroupResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DashEncryption.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DashEncryption.java
new file mode 100644
index 000000000000..49c3a53cb9c3
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DashEncryption.java
@@ -0,0 +1,115 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * A Dynamic Adaptive Streaming over HTTP (DASH) encryption configuration.
+ *
+ * @see AWS
+ * API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DashEncryption implements Serializable, Cloneable, StructuredPojo {
+
+ private SpekeKeyProvider spekeKeyProvider;
+
+ /**
+ * @param spekeKeyProvider
+ */
+
+ public void setSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider) {
+ this.spekeKeyProvider = spekeKeyProvider;
+ }
+
+ /**
+ * @return
+ */
+
+ public SpekeKeyProvider getSpekeKeyProvider() {
+ return this.spekeKeyProvider;
+ }
+
+ /**
+ * @param spekeKeyProvider
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DashEncryption withSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider) {
+ setSpekeKeyProvider(spekeKeyProvider);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getSpekeKeyProvider() != null)
+ sb.append("SpekeKeyProvider: ").append(getSpekeKeyProvider());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DashEncryption == false)
+ return false;
+ DashEncryption other = (DashEncryption) obj;
+ if (other.getSpekeKeyProvider() == null ^ this.getSpekeKeyProvider() == null)
+ return false;
+ if (other.getSpekeKeyProvider() != null && other.getSpekeKeyProvider().equals(this.getSpekeKeyProvider()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getSpekeKeyProvider() == null) ? 0 : getSpekeKeyProvider().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DashEncryption clone() {
+ try {
+ return (DashEncryption) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.DashEncryptionMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DashManifest.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DashManifest.java
new file mode 100644
index 000000000000..8d889b46efe8
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DashManifest.java
@@ -0,0 +1,273 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * A DASH manifest configuration.
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DashManifest implements Serializable, Cloneable, StructuredPojo {
+
+ /** An optional string to include in the name of the manifest. */
+ private String manifestName;
+ /** Minimum duration (in seconds) that a player will buffer media before starting the presentation. */
+ private Integer minBufferTimeSeconds;
+ /**
+ * The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output
+ * is enabled.
+ */
+ private String profile;
+
+ private StreamSelection streamSelection;
+
+ /**
+ * An optional string to include in the name of the manifest.
+ *
+ * @param manifestName
+ * An optional string to include in the name of the manifest.
+ */
+
+ public void setManifestName(String manifestName) {
+ this.manifestName = manifestName;
+ }
+
+ /**
+ * An optional string to include in the name of the manifest.
+ *
+ * @return An optional string to include in the name of the manifest.
+ */
+
+ public String getManifestName() {
+ return this.manifestName;
+ }
+
+ /**
+ * An optional string to include in the name of the manifest.
+ *
+ * @param manifestName
+ * An optional string to include in the name of the manifest.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DashManifest withManifestName(String manifestName) {
+ setManifestName(manifestName);
+ return this;
+ }
+
+ /**
+ * Minimum duration (in seconds) that a player will buffer media before starting the presentation.
+ *
+ * @param minBufferTimeSeconds
+ * Minimum duration (in seconds) that a player will buffer media before starting the presentation.
+ */
+
+ public void setMinBufferTimeSeconds(Integer minBufferTimeSeconds) {
+ this.minBufferTimeSeconds = minBufferTimeSeconds;
+ }
+
+ /**
+ * Minimum duration (in seconds) that a player will buffer media before starting the presentation.
+ *
+ * @return Minimum duration (in seconds) that a player will buffer media before starting the presentation.
+ */
+
+ public Integer getMinBufferTimeSeconds() {
+ return this.minBufferTimeSeconds;
+ }
+
+ /**
+ * Minimum duration (in seconds) that a player will buffer media before starting the presentation.
+ *
+ * @param minBufferTimeSeconds
+ * Minimum duration (in seconds) that a player will buffer media before starting the presentation.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DashManifest withMinBufferTimeSeconds(Integer minBufferTimeSeconds) {
+ setMinBufferTimeSeconds(minBufferTimeSeconds);
+ return this;
+ }
+
+ /**
+ * The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output
+ * is enabled.
+ *
+ * @param profile
+ * The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant
+ * output is enabled.
+ * @see Profile
+ */
+
+ public void setProfile(String profile) {
+ this.profile = profile;
+ }
+
+ /**
+ * The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output
+ * is enabled.
+ *
+ * @return The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5
+ * compliant output is enabled.
+ * @see Profile
+ */
+
+ public String getProfile() {
+ return this.profile;
+ }
+
+ /**
+ * The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output
+ * is enabled.
+ *
+ * @param profile
+ * The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant
+ * output is enabled.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see Profile
+ */
+
+ public DashManifest withProfile(String profile) {
+ setProfile(profile);
+ return this;
+ }
+
+ /**
+ * The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant output
+ * is enabled.
+ *
+ * @param profile
+ * The Dynamic Adaptive Streaming over HTTP (DASH) profile type. When set to "HBBTV_1_5", HbbTV 1.5 compliant
+ * output is enabled.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see Profile
+ */
+
+ public DashManifest withProfile(Profile profile) {
+ this.profile = profile.toString();
+ return this;
+ }
+
+ /**
+ * @param streamSelection
+ */
+
+ public void setStreamSelection(StreamSelection streamSelection) {
+ this.streamSelection = streamSelection;
+ }
+
+ /**
+ * @return
+ */
+
+ public StreamSelection getStreamSelection() {
+ return this.streamSelection;
+ }
+
+ /**
+ * @param streamSelection
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DashManifest withStreamSelection(StreamSelection streamSelection) {
+ setStreamSelection(streamSelection);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getManifestName() != null)
+ sb.append("ManifestName: ").append(getManifestName()).append(",");
+ if (getMinBufferTimeSeconds() != null)
+ sb.append("MinBufferTimeSeconds: ").append(getMinBufferTimeSeconds()).append(",");
+ if (getProfile() != null)
+ sb.append("Profile: ").append(getProfile()).append(",");
+ if (getStreamSelection() != null)
+ sb.append("StreamSelection: ").append(getStreamSelection());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DashManifest == false)
+ return false;
+ DashManifest other = (DashManifest) obj;
+ if (other.getManifestName() == null ^ this.getManifestName() == null)
+ return false;
+ if (other.getManifestName() != null && other.getManifestName().equals(this.getManifestName()) == false)
+ return false;
+ if (other.getMinBufferTimeSeconds() == null ^ this.getMinBufferTimeSeconds() == null)
+ return false;
+ if (other.getMinBufferTimeSeconds() != null && other.getMinBufferTimeSeconds().equals(this.getMinBufferTimeSeconds()) == false)
+ return false;
+ if (other.getProfile() == null ^ this.getProfile() == null)
+ return false;
+ if (other.getProfile() != null && other.getProfile().equals(this.getProfile()) == false)
+ return false;
+ if (other.getStreamSelection() == null ^ this.getStreamSelection() == null)
+ return false;
+ if (other.getStreamSelection() != null && other.getStreamSelection().equals(this.getStreamSelection()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getManifestName() == null) ? 0 : getManifestName().hashCode());
+ hashCode = prime * hashCode + ((getMinBufferTimeSeconds() == null) ? 0 : getMinBufferTimeSeconds().hashCode());
+ hashCode = prime * hashCode + ((getProfile() == null) ? 0 : getProfile().hashCode());
+ hashCode = prime * hashCode + ((getStreamSelection() == null) ? 0 : getStreamSelection().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DashManifest clone() {
+ try {
+ return (DashManifest) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.DashManifestMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DashPackage.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DashPackage.java
new file mode 100644
index 000000000000..bc05ad8a543a
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DashPackage.java
@@ -0,0 +1,239 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * A Dynamic Adaptive Streaming over HTTP (DASH) packaging configuration.
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DashPackage implements Serializable, Cloneable, StructuredPojo {
+
+ /** A list of DASH manifest configurations. */
+ private java.util.List dashManifests;
+
+ private DashEncryption encryption;
+ /**
+ * Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source
+ * segment duration.
+ */
+ private Integer segmentDurationSeconds;
+
+ /**
+ * A list of DASH manifest configurations.
+ *
+ * @return A list of DASH manifest configurations.
+ */
+
+ public java.util.List getDashManifests() {
+ return dashManifests;
+ }
+
+ /**
+ * A list of DASH manifest configurations.
+ *
+ * @param dashManifests
+ * A list of DASH manifest configurations.
+ */
+
+ public void setDashManifests(java.util.Collection dashManifests) {
+ if (dashManifests == null) {
+ this.dashManifests = null;
+ return;
+ }
+
+ this.dashManifests = new java.util.ArrayList(dashManifests);
+ }
+
+ /**
+ * A list of DASH manifest configurations.
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setDashManifests(java.util.Collection)} or {@link #withDashManifests(java.util.Collection)} if you want
+ * to override the existing values.
+ *
+ *
+ * @param dashManifests
+ * A list of DASH manifest configurations.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DashPackage withDashManifests(DashManifest... dashManifests) {
+ if (this.dashManifests == null) {
+ setDashManifests(new java.util.ArrayList(dashManifests.length));
+ }
+ for (DashManifest ele : dashManifests) {
+ this.dashManifests.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * A list of DASH manifest configurations.
+ *
+ * @param dashManifests
+ * A list of DASH manifest configurations.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DashPackage withDashManifests(java.util.Collection dashManifests) {
+ setDashManifests(dashManifests);
+ return this;
+ }
+
+ /**
+ * @param encryption
+ */
+
+ public void setEncryption(DashEncryption encryption) {
+ this.encryption = encryption;
+ }
+
+ /**
+ * @return
+ */
+
+ public DashEncryption getEncryption() {
+ return this.encryption;
+ }
+
+ /**
+ * @param encryption
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DashPackage withEncryption(DashEncryption encryption) {
+ setEncryption(encryption);
+ return this;
+ }
+
+ /**
+ * Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source
+ * segment duration.
+ *
+ * @param segmentDurationSeconds
+ * Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the
+ * source segment duration.
+ */
+
+ public void setSegmentDurationSeconds(Integer segmentDurationSeconds) {
+ this.segmentDurationSeconds = segmentDurationSeconds;
+ }
+
+ /**
+ * Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source
+ * segment duration.
+ *
+ * @return Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the
+ * source segment duration.
+ */
+
+ public Integer getSegmentDurationSeconds() {
+ return this.segmentDurationSeconds;
+ }
+
+ /**
+ * Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source
+ * segment duration.
+ *
+ * @param segmentDurationSeconds
+ * Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the
+ * source segment duration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DashPackage withSegmentDurationSeconds(Integer segmentDurationSeconds) {
+ setSegmentDurationSeconds(segmentDurationSeconds);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getDashManifests() != null)
+ sb.append("DashManifests: ").append(getDashManifests()).append(",");
+ if (getEncryption() != null)
+ sb.append("Encryption: ").append(getEncryption()).append(",");
+ if (getSegmentDurationSeconds() != null)
+ sb.append("SegmentDurationSeconds: ").append(getSegmentDurationSeconds());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DashPackage == false)
+ return false;
+ DashPackage other = (DashPackage) obj;
+ if (other.getDashManifests() == null ^ this.getDashManifests() == null)
+ return false;
+ if (other.getDashManifests() != null && other.getDashManifests().equals(this.getDashManifests()) == false)
+ return false;
+ if (other.getEncryption() == null ^ this.getEncryption() == null)
+ return false;
+ if (other.getEncryption() != null && other.getEncryption().equals(this.getEncryption()) == false)
+ return false;
+ if (other.getSegmentDurationSeconds() == null ^ this.getSegmentDurationSeconds() == null)
+ return false;
+ if (other.getSegmentDurationSeconds() != null && other.getSegmentDurationSeconds().equals(this.getSegmentDurationSeconds()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getDashManifests() == null) ? 0 : getDashManifests().hashCode());
+ hashCode = prime * hashCode + ((getEncryption() == null) ? 0 : getEncryption().hashCode());
+ hashCode = prime * hashCode + ((getSegmentDurationSeconds() == null) ? 0 : getSegmentDurationSeconds().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DashPackage clone() {
+ try {
+ return (DashPackage) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.DashPackageMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeleteAssetRequest.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeleteAssetRequest.java
new file mode 100644
index 000000000000..b8af5d798956
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeleteAssetRequest.java
@@ -0,0 +1,114 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DeleteAssetRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ /** The ID of the MediaPackage VOD Asset resource to delete. */
+ private String id;
+
+ /**
+ * The ID of the MediaPackage VOD Asset resource to delete.
+ *
+ * @param id
+ * The ID of the MediaPackage VOD Asset resource to delete.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The ID of the MediaPackage VOD Asset resource to delete.
+ *
+ * @return The ID of the MediaPackage VOD Asset resource to delete.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The ID of the MediaPackage VOD Asset resource to delete.
+ *
+ * @param id
+ * The ID of the MediaPackage VOD Asset resource to delete.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DeleteAssetRequest withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getId() != null)
+ sb.append("Id: ").append(getId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DeleteAssetRequest == false)
+ return false;
+ DeleteAssetRequest other = (DeleteAssetRequest) obj;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DeleteAssetRequest clone() {
+ return (DeleteAssetRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeleteAssetResult.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeleteAssetResult.java
new file mode 100644
index 000000000000..28fb4045c47d
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeleteAssetResult.java
@@ -0,0 +1,72 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DeleteAssetResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DeleteAssetResult == false)
+ return false;
+ DeleteAssetResult other = (DeleteAssetResult) obj;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ return hashCode;
+ }
+
+ @Override
+ public DeleteAssetResult clone() {
+ try {
+ return (DeleteAssetResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeletePackagingConfigurationRequest.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeletePackagingConfigurationRequest.java
new file mode 100644
index 000000000000..fcd0f11f2996
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeletePackagingConfigurationRequest.java
@@ -0,0 +1,114 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DeletePackagingConfigurationRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ /** The ID of the MediaPackage VOD PackagingConfiguration resource to delete. */
+ private String id;
+
+ /**
+ * The ID of the MediaPackage VOD PackagingConfiguration resource to delete.
+ *
+ * @param id
+ * The ID of the MediaPackage VOD PackagingConfiguration resource to delete.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The ID of the MediaPackage VOD PackagingConfiguration resource to delete.
+ *
+ * @return The ID of the MediaPackage VOD PackagingConfiguration resource to delete.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The ID of the MediaPackage VOD PackagingConfiguration resource to delete.
+ *
+ * @param id
+ * The ID of the MediaPackage VOD PackagingConfiguration resource to delete.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DeletePackagingConfigurationRequest withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getId() != null)
+ sb.append("Id: ").append(getId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DeletePackagingConfigurationRequest == false)
+ return false;
+ DeletePackagingConfigurationRequest other = (DeletePackagingConfigurationRequest) obj;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DeletePackagingConfigurationRequest clone() {
+ return (DeletePackagingConfigurationRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeletePackagingConfigurationResult.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeletePackagingConfigurationResult.java
new file mode 100644
index 000000000000..c13fe7a09c2d
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeletePackagingConfigurationResult.java
@@ -0,0 +1,72 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DeletePackagingConfigurationResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DeletePackagingConfigurationResult == false)
+ return false;
+ DeletePackagingConfigurationResult other = (DeletePackagingConfigurationResult) obj;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ return hashCode;
+ }
+
+ @Override
+ public DeletePackagingConfigurationResult clone() {
+ try {
+ return (DeletePackagingConfigurationResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeletePackagingGroupRequest.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeletePackagingGroupRequest.java
new file mode 100644
index 000000000000..653e2f155650
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeletePackagingGroupRequest.java
@@ -0,0 +1,114 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DeletePackagingGroupRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ /** The ID of the MediaPackage VOD PackagingGroup resource to delete. */
+ private String id;
+
+ /**
+ * The ID of the MediaPackage VOD PackagingGroup resource to delete.
+ *
+ * @param id
+ * The ID of the MediaPackage VOD PackagingGroup resource to delete.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The ID of the MediaPackage VOD PackagingGroup resource to delete.
+ *
+ * @return The ID of the MediaPackage VOD PackagingGroup resource to delete.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The ID of the MediaPackage VOD PackagingGroup resource to delete.
+ *
+ * @param id
+ * The ID of the MediaPackage VOD PackagingGroup resource to delete.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DeletePackagingGroupRequest withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getId() != null)
+ sb.append("Id: ").append(getId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DeletePackagingGroupRequest == false)
+ return false;
+ DeletePackagingGroupRequest other = (DeletePackagingGroupRequest) obj;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DeletePackagingGroupRequest clone() {
+ return (DeletePackagingGroupRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeletePackagingGroupResult.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeletePackagingGroupResult.java
new file mode 100644
index 000000000000..4ae6bd1a14f4
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DeletePackagingGroupResult.java
@@ -0,0 +1,72 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DeletePackagingGroupResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DeletePackagingGroupResult == false)
+ return false;
+ DeletePackagingGroupResult other = (DeletePackagingGroupResult) obj;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ return hashCode;
+ }
+
+ @Override
+ public DeletePackagingGroupResult clone() {
+ try {
+ return (DeletePackagingGroupResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribeAssetRequest.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribeAssetRequest.java
new file mode 100644
index 000000000000..6d6296074586
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribeAssetRequest.java
@@ -0,0 +1,114 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DescribeAssetRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ /** The ID of an MediaPackage VOD Asset resource. */
+ private String id;
+
+ /**
+ * The ID of an MediaPackage VOD Asset resource.
+ *
+ * @param id
+ * The ID of an MediaPackage VOD Asset resource.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The ID of an MediaPackage VOD Asset resource.
+ *
+ * @return The ID of an MediaPackage VOD Asset resource.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The ID of an MediaPackage VOD Asset resource.
+ *
+ * @param id
+ * The ID of an MediaPackage VOD Asset resource.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeAssetRequest withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getId() != null)
+ sb.append("Id: ").append(getId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DescribeAssetRequest == false)
+ return false;
+ DescribeAssetRequest other = (DescribeAssetRequest) obj;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DescribeAssetRequest clone() {
+ return (DescribeAssetRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribeAssetResult.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribeAssetResult.java
new file mode 100644
index 000000000000..bd1fffbf1e36
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribeAssetResult.java
@@ -0,0 +1,402 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DescribeAssetResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ /** The ARN of the Asset. */
+ private String arn;
+ /** The list of egress endpoints available for the Asset. */
+ private java.util.List egressEndpoints;
+ /** The unique identifier for the Asset. */
+ private String id;
+ /** The ID of the PackagingGroup for the Asset. */
+ private String packagingGroupId;
+ /** The resource ID to include in SPEKE key requests. */
+ private String resourceId;
+ /** ARN of the source object in S3. */
+ private String sourceArn;
+ /** The IAM role_arn used to access the source S3 bucket. */
+ private String sourceRoleArn;
+
+ /**
+ * The ARN of the Asset.
+ *
+ * @param arn
+ * The ARN of the Asset.
+ */
+
+ public void setArn(String arn) {
+ this.arn = arn;
+ }
+
+ /**
+ * The ARN of the Asset.
+ *
+ * @return The ARN of the Asset.
+ */
+
+ public String getArn() {
+ return this.arn;
+ }
+
+ /**
+ * The ARN of the Asset.
+ *
+ * @param arn
+ * The ARN of the Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeAssetResult withArn(String arn) {
+ setArn(arn);
+ return this;
+ }
+
+ /**
+ * The list of egress endpoints available for the Asset.
+ *
+ * @return The list of egress endpoints available for the Asset.
+ */
+
+ public java.util.List getEgressEndpoints() {
+ return egressEndpoints;
+ }
+
+ /**
+ * The list of egress endpoints available for the Asset.
+ *
+ * @param egressEndpoints
+ * The list of egress endpoints available for the Asset.
+ */
+
+ public void setEgressEndpoints(java.util.Collection egressEndpoints) {
+ if (egressEndpoints == null) {
+ this.egressEndpoints = null;
+ return;
+ }
+
+ this.egressEndpoints = new java.util.ArrayList(egressEndpoints);
+ }
+
+ /**
+ * The list of egress endpoints available for the Asset.
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setEgressEndpoints(java.util.Collection)} or {@link #withEgressEndpoints(java.util.Collection)} if you
+ * want to override the existing values.
+ *
+ *
+ * @param egressEndpoints
+ * The list of egress endpoints available for the Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeAssetResult withEgressEndpoints(EgressEndpoint... egressEndpoints) {
+ if (this.egressEndpoints == null) {
+ setEgressEndpoints(new java.util.ArrayList(egressEndpoints.length));
+ }
+ for (EgressEndpoint ele : egressEndpoints) {
+ this.egressEndpoints.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * The list of egress endpoints available for the Asset.
+ *
+ * @param egressEndpoints
+ * The list of egress endpoints available for the Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeAssetResult withEgressEndpoints(java.util.Collection egressEndpoints) {
+ setEgressEndpoints(egressEndpoints);
+ return this;
+ }
+
+ /**
+ * The unique identifier for the Asset.
+ *
+ * @param id
+ * The unique identifier for the Asset.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The unique identifier for the Asset.
+ *
+ * @return The unique identifier for the Asset.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The unique identifier for the Asset.
+ *
+ * @param id
+ * The unique identifier for the Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeAssetResult withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * The ID of the PackagingGroup for the Asset.
+ *
+ * @param packagingGroupId
+ * The ID of the PackagingGroup for the Asset.
+ */
+
+ public void setPackagingGroupId(String packagingGroupId) {
+ this.packagingGroupId = packagingGroupId;
+ }
+
+ /**
+ * The ID of the PackagingGroup for the Asset.
+ *
+ * @return The ID of the PackagingGroup for the Asset.
+ */
+
+ public String getPackagingGroupId() {
+ return this.packagingGroupId;
+ }
+
+ /**
+ * The ID of the PackagingGroup for the Asset.
+ *
+ * @param packagingGroupId
+ * The ID of the PackagingGroup for the Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeAssetResult withPackagingGroupId(String packagingGroupId) {
+ setPackagingGroupId(packagingGroupId);
+ return this;
+ }
+
+ /**
+ * The resource ID to include in SPEKE key requests.
+ *
+ * @param resourceId
+ * The resource ID to include in SPEKE key requests.
+ */
+
+ public void setResourceId(String resourceId) {
+ this.resourceId = resourceId;
+ }
+
+ /**
+ * The resource ID to include in SPEKE key requests.
+ *
+ * @return The resource ID to include in SPEKE key requests.
+ */
+
+ public String getResourceId() {
+ return this.resourceId;
+ }
+
+ /**
+ * The resource ID to include in SPEKE key requests.
+ *
+ * @param resourceId
+ * The resource ID to include in SPEKE key requests.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeAssetResult withResourceId(String resourceId) {
+ setResourceId(resourceId);
+ return this;
+ }
+
+ /**
+ * ARN of the source object in S3.
+ *
+ * @param sourceArn
+ * ARN of the source object in S3.
+ */
+
+ public void setSourceArn(String sourceArn) {
+ this.sourceArn = sourceArn;
+ }
+
+ /**
+ * ARN of the source object in S3.
+ *
+ * @return ARN of the source object in S3.
+ */
+
+ public String getSourceArn() {
+ return this.sourceArn;
+ }
+
+ /**
+ * ARN of the source object in S3.
+ *
+ * @param sourceArn
+ * ARN of the source object in S3.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeAssetResult withSourceArn(String sourceArn) {
+ setSourceArn(sourceArn);
+ return this;
+ }
+
+ /**
+ * The IAM role_arn used to access the source S3 bucket.
+ *
+ * @param sourceRoleArn
+ * The IAM role_arn used to access the source S3 bucket.
+ */
+
+ public void setSourceRoleArn(String sourceRoleArn) {
+ this.sourceRoleArn = sourceRoleArn;
+ }
+
+ /**
+ * The IAM role_arn used to access the source S3 bucket.
+ *
+ * @return The IAM role_arn used to access the source S3 bucket.
+ */
+
+ public String getSourceRoleArn() {
+ return this.sourceRoleArn;
+ }
+
+ /**
+ * The IAM role_arn used to access the source S3 bucket.
+ *
+ * @param sourceRoleArn
+ * The IAM role_arn used to access the source S3 bucket.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribeAssetResult withSourceRoleArn(String sourceRoleArn) {
+ setSourceRoleArn(sourceRoleArn);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getArn() != null)
+ sb.append("Arn: ").append(getArn()).append(",");
+ if (getEgressEndpoints() != null)
+ sb.append("EgressEndpoints: ").append(getEgressEndpoints()).append(",");
+ if (getId() != null)
+ sb.append("Id: ").append(getId()).append(",");
+ if (getPackagingGroupId() != null)
+ sb.append("PackagingGroupId: ").append(getPackagingGroupId()).append(",");
+ if (getResourceId() != null)
+ sb.append("ResourceId: ").append(getResourceId()).append(",");
+ if (getSourceArn() != null)
+ sb.append("SourceArn: ").append(getSourceArn()).append(",");
+ if (getSourceRoleArn() != null)
+ sb.append("SourceRoleArn: ").append(getSourceRoleArn());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DescribeAssetResult == false)
+ return false;
+ DescribeAssetResult other = (DescribeAssetResult) obj;
+ if (other.getArn() == null ^ this.getArn() == null)
+ return false;
+ if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
+ return false;
+ if (other.getEgressEndpoints() == null ^ this.getEgressEndpoints() == null)
+ return false;
+ if (other.getEgressEndpoints() != null && other.getEgressEndpoints().equals(this.getEgressEndpoints()) == false)
+ return false;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ if (other.getPackagingGroupId() == null ^ this.getPackagingGroupId() == null)
+ return false;
+ if (other.getPackagingGroupId() != null && other.getPackagingGroupId().equals(this.getPackagingGroupId()) == false)
+ return false;
+ if (other.getResourceId() == null ^ this.getResourceId() == null)
+ return false;
+ if (other.getResourceId() != null && other.getResourceId().equals(this.getResourceId()) == false)
+ return false;
+ if (other.getSourceArn() == null ^ this.getSourceArn() == null)
+ return false;
+ if (other.getSourceArn() != null && other.getSourceArn().equals(this.getSourceArn()) == false)
+ return false;
+ if (other.getSourceRoleArn() == null ^ this.getSourceRoleArn() == null)
+ return false;
+ if (other.getSourceRoleArn() != null && other.getSourceRoleArn().equals(this.getSourceRoleArn()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
+ hashCode = prime * hashCode + ((getEgressEndpoints() == null) ? 0 : getEgressEndpoints().hashCode());
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ hashCode = prime * hashCode + ((getPackagingGroupId() == null) ? 0 : getPackagingGroupId().hashCode());
+ hashCode = prime * hashCode + ((getResourceId() == null) ? 0 : getResourceId().hashCode());
+ hashCode = prime * hashCode + ((getSourceArn() == null) ? 0 : getSourceArn().hashCode());
+ hashCode = prime * hashCode + ((getSourceRoleArn() == null) ? 0 : getSourceRoleArn().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DescribeAssetResult clone() {
+ try {
+ return (DescribeAssetResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribePackagingConfigurationRequest.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribePackagingConfigurationRequest.java
new file mode 100644
index 000000000000..4378644128bd
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribePackagingConfigurationRequest.java
@@ -0,0 +1,114 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DescribePackagingConfigurationRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ /** The ID of a MediaPackage VOD PackagingConfiguration resource. */
+ private String id;
+
+ /**
+ * The ID of a MediaPackage VOD PackagingConfiguration resource.
+ *
+ * @param id
+ * The ID of a MediaPackage VOD PackagingConfiguration resource.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The ID of a MediaPackage VOD PackagingConfiguration resource.
+ *
+ * @return The ID of a MediaPackage VOD PackagingConfiguration resource.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The ID of a MediaPackage VOD PackagingConfiguration resource.
+ *
+ * @param id
+ * The ID of a MediaPackage VOD PackagingConfiguration resource.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribePackagingConfigurationRequest withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getId() != null)
+ sb.append("Id: ").append(getId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DescribePackagingConfigurationRequest == false)
+ return false;
+ DescribePackagingConfigurationRequest other = (DescribePackagingConfigurationRequest) obj;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DescribePackagingConfigurationRequest clone() {
+ return (DescribePackagingConfigurationRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribePackagingConfigurationResult.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribePackagingConfigurationResult.java
new file mode 100644
index 000000000000..0f77b48696cb
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribePackagingConfigurationResult.java
@@ -0,0 +1,343 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DescribePackagingConfigurationResult extends com.amazonaws.AmazonWebServiceResult implements Serializable,
+ Cloneable {
+
+ /** The ARN of the PackagingConfiguration. */
+ private String arn;
+
+ private CmafPackage cmafPackage;
+
+ private DashPackage dashPackage;
+
+ private HlsPackage hlsPackage;
+ /** The ID of the PackagingConfiguration. */
+ private String id;
+
+ private MssPackage mssPackage;
+ /** The ID of a PackagingGroup. */
+ private String packagingGroupId;
+
+ /**
+ * The ARN of the PackagingConfiguration.
+ *
+ * @param arn
+ * The ARN of the PackagingConfiguration.
+ */
+
+ public void setArn(String arn) {
+ this.arn = arn;
+ }
+
+ /**
+ * The ARN of the PackagingConfiguration.
+ *
+ * @return The ARN of the PackagingConfiguration.
+ */
+
+ public String getArn() {
+ return this.arn;
+ }
+
+ /**
+ * The ARN of the PackagingConfiguration.
+ *
+ * @param arn
+ * The ARN of the PackagingConfiguration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribePackagingConfigurationResult withArn(String arn) {
+ setArn(arn);
+ return this;
+ }
+
+ /**
+ * @param cmafPackage
+ */
+
+ public void setCmafPackage(CmafPackage cmafPackage) {
+ this.cmafPackage = cmafPackage;
+ }
+
+ /**
+ * @return
+ */
+
+ public CmafPackage getCmafPackage() {
+ return this.cmafPackage;
+ }
+
+ /**
+ * @param cmafPackage
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribePackagingConfigurationResult withCmafPackage(CmafPackage cmafPackage) {
+ setCmafPackage(cmafPackage);
+ return this;
+ }
+
+ /**
+ * @param dashPackage
+ */
+
+ public void setDashPackage(DashPackage dashPackage) {
+ this.dashPackage = dashPackage;
+ }
+
+ /**
+ * @return
+ */
+
+ public DashPackage getDashPackage() {
+ return this.dashPackage;
+ }
+
+ /**
+ * @param dashPackage
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribePackagingConfigurationResult withDashPackage(DashPackage dashPackage) {
+ setDashPackage(dashPackage);
+ return this;
+ }
+
+ /**
+ * @param hlsPackage
+ */
+
+ public void setHlsPackage(HlsPackage hlsPackage) {
+ this.hlsPackage = hlsPackage;
+ }
+
+ /**
+ * @return
+ */
+
+ public HlsPackage getHlsPackage() {
+ return this.hlsPackage;
+ }
+
+ /**
+ * @param hlsPackage
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribePackagingConfigurationResult withHlsPackage(HlsPackage hlsPackage) {
+ setHlsPackage(hlsPackage);
+ return this;
+ }
+
+ /**
+ * The ID of the PackagingConfiguration.
+ *
+ * @param id
+ * The ID of the PackagingConfiguration.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The ID of the PackagingConfiguration.
+ *
+ * @return The ID of the PackagingConfiguration.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The ID of the PackagingConfiguration.
+ *
+ * @param id
+ * The ID of the PackagingConfiguration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribePackagingConfigurationResult withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * @param mssPackage
+ */
+
+ public void setMssPackage(MssPackage mssPackage) {
+ this.mssPackage = mssPackage;
+ }
+
+ /**
+ * @return
+ */
+
+ public MssPackage getMssPackage() {
+ return this.mssPackage;
+ }
+
+ /**
+ * @param mssPackage
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribePackagingConfigurationResult withMssPackage(MssPackage mssPackage) {
+ setMssPackage(mssPackage);
+ return this;
+ }
+
+ /**
+ * The ID of a PackagingGroup.
+ *
+ * @param packagingGroupId
+ * The ID of a PackagingGroup.
+ */
+
+ public void setPackagingGroupId(String packagingGroupId) {
+ this.packagingGroupId = packagingGroupId;
+ }
+
+ /**
+ * The ID of a PackagingGroup.
+ *
+ * @return The ID of a PackagingGroup.
+ */
+
+ public String getPackagingGroupId() {
+ return this.packagingGroupId;
+ }
+
+ /**
+ * The ID of a PackagingGroup.
+ *
+ * @param packagingGroupId
+ * The ID of a PackagingGroup.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribePackagingConfigurationResult withPackagingGroupId(String packagingGroupId) {
+ setPackagingGroupId(packagingGroupId);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getArn() != null)
+ sb.append("Arn: ").append(getArn()).append(",");
+ if (getCmafPackage() != null)
+ sb.append("CmafPackage: ").append(getCmafPackage()).append(",");
+ if (getDashPackage() != null)
+ sb.append("DashPackage: ").append(getDashPackage()).append(",");
+ if (getHlsPackage() != null)
+ sb.append("HlsPackage: ").append(getHlsPackage()).append(",");
+ if (getId() != null)
+ sb.append("Id: ").append(getId()).append(",");
+ if (getMssPackage() != null)
+ sb.append("MssPackage: ").append(getMssPackage()).append(",");
+ if (getPackagingGroupId() != null)
+ sb.append("PackagingGroupId: ").append(getPackagingGroupId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DescribePackagingConfigurationResult == false)
+ return false;
+ DescribePackagingConfigurationResult other = (DescribePackagingConfigurationResult) obj;
+ if (other.getArn() == null ^ this.getArn() == null)
+ return false;
+ if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
+ return false;
+ if (other.getCmafPackage() == null ^ this.getCmafPackage() == null)
+ return false;
+ if (other.getCmafPackage() != null && other.getCmafPackage().equals(this.getCmafPackage()) == false)
+ return false;
+ if (other.getDashPackage() == null ^ this.getDashPackage() == null)
+ return false;
+ if (other.getDashPackage() != null && other.getDashPackage().equals(this.getDashPackage()) == false)
+ return false;
+ if (other.getHlsPackage() == null ^ this.getHlsPackage() == null)
+ return false;
+ if (other.getHlsPackage() != null && other.getHlsPackage().equals(this.getHlsPackage()) == false)
+ return false;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ if (other.getMssPackage() == null ^ this.getMssPackage() == null)
+ return false;
+ if (other.getMssPackage() != null && other.getMssPackage().equals(this.getMssPackage()) == false)
+ return false;
+ if (other.getPackagingGroupId() == null ^ this.getPackagingGroupId() == null)
+ return false;
+ if (other.getPackagingGroupId() != null && other.getPackagingGroupId().equals(this.getPackagingGroupId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
+ hashCode = prime * hashCode + ((getCmafPackage() == null) ? 0 : getCmafPackage().hashCode());
+ hashCode = prime * hashCode + ((getDashPackage() == null) ? 0 : getDashPackage().hashCode());
+ hashCode = prime * hashCode + ((getHlsPackage() == null) ? 0 : getHlsPackage().hashCode());
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ hashCode = prime * hashCode + ((getMssPackage() == null) ? 0 : getMssPackage().hashCode());
+ hashCode = prime * hashCode + ((getPackagingGroupId() == null) ? 0 : getPackagingGroupId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DescribePackagingConfigurationResult clone() {
+ try {
+ return (DescribePackagingConfigurationResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribePackagingGroupRequest.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribePackagingGroupRequest.java
new file mode 100644
index 000000000000..9ff06fbb07ab
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribePackagingGroupRequest.java
@@ -0,0 +1,114 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DescribePackagingGroupRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ /** The ID of a MediaPackage VOD PackagingGroup resource. */
+ private String id;
+
+ /**
+ * The ID of a MediaPackage VOD PackagingGroup resource.
+ *
+ * @param id
+ * The ID of a MediaPackage VOD PackagingGroup resource.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The ID of a MediaPackage VOD PackagingGroup resource.
+ *
+ * @return The ID of a MediaPackage VOD PackagingGroup resource.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The ID of a MediaPackage VOD PackagingGroup resource.
+ *
+ * @param id
+ * The ID of a MediaPackage VOD PackagingGroup resource.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribePackagingGroupRequest withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getId() != null)
+ sb.append("Id: ").append(getId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DescribePackagingGroupRequest == false)
+ return false;
+ DescribePackagingGroupRequest other = (DescribePackagingGroupRequest) obj;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DescribePackagingGroupRequest clone() {
+ return (DescribePackagingGroupRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribePackagingGroupResult.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribePackagingGroupResult.java
new file mode 100644
index 000000000000..d792c4dc30b5
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/DescribePackagingGroupResult.java
@@ -0,0 +1,159 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class DescribePackagingGroupResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ /** The ARN of the PackagingGroup. */
+ private String arn;
+ /** The ID of the PackagingGroup. */
+ private String id;
+
+ /**
+ * The ARN of the PackagingGroup.
+ *
+ * @param arn
+ * The ARN of the PackagingGroup.
+ */
+
+ public void setArn(String arn) {
+ this.arn = arn;
+ }
+
+ /**
+ * The ARN of the PackagingGroup.
+ *
+ * @return The ARN of the PackagingGroup.
+ */
+
+ public String getArn() {
+ return this.arn;
+ }
+
+ /**
+ * The ARN of the PackagingGroup.
+ *
+ * @param arn
+ * The ARN of the PackagingGroup.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribePackagingGroupResult withArn(String arn) {
+ setArn(arn);
+ return this;
+ }
+
+ /**
+ * The ID of the PackagingGroup.
+ *
+ * @param id
+ * The ID of the PackagingGroup.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The ID of the PackagingGroup.
+ *
+ * @return The ID of the PackagingGroup.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The ID of the PackagingGroup.
+ *
+ * @param id
+ * The ID of the PackagingGroup.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public DescribePackagingGroupResult withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getArn() != null)
+ sb.append("Arn: ").append(getArn()).append(",");
+ if (getId() != null)
+ sb.append("Id: ").append(getId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof DescribePackagingGroupResult == false)
+ return false;
+ DescribePackagingGroupResult other = (DescribePackagingGroupResult) obj;
+ if (other.getArn() == null ^ this.getArn() == null)
+ return false;
+ if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
+ return false;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public DescribePackagingGroupResult clone() {
+ try {
+ return (DescribePackagingGroupResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/EgressEndpoint.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/EgressEndpoint.java
new file mode 100644
index 000000000000..14e7c6203009
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/EgressEndpoint.java
@@ -0,0 +1,167 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * The endpoint URL used to access an Asset using one PackagingConfiguration.
+ *
+ * @see AWS
+ * API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class EgressEndpoint implements Serializable, Cloneable, StructuredPojo {
+
+ /** The ID of the PackagingConfiguration being applied to the Asset. */
+ private String packagingConfigurationId;
+ /** The URL of the parent manifest for the repackaged Asset. */
+ private String url;
+
+ /**
+ * The ID of the PackagingConfiguration being applied to the Asset.
+ *
+ * @param packagingConfigurationId
+ * The ID of the PackagingConfiguration being applied to the Asset.
+ */
+
+ public void setPackagingConfigurationId(String packagingConfigurationId) {
+ this.packagingConfigurationId = packagingConfigurationId;
+ }
+
+ /**
+ * The ID of the PackagingConfiguration being applied to the Asset.
+ *
+ * @return The ID of the PackagingConfiguration being applied to the Asset.
+ */
+
+ public String getPackagingConfigurationId() {
+ return this.packagingConfigurationId;
+ }
+
+ /**
+ * The ID of the PackagingConfiguration being applied to the Asset.
+ *
+ * @param packagingConfigurationId
+ * The ID of the PackagingConfiguration being applied to the Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public EgressEndpoint withPackagingConfigurationId(String packagingConfigurationId) {
+ setPackagingConfigurationId(packagingConfigurationId);
+ return this;
+ }
+
+ /**
+ * The URL of the parent manifest for the repackaged Asset.
+ *
+ * @param url
+ * The URL of the parent manifest for the repackaged Asset.
+ */
+
+ public void setUrl(String url) {
+ this.url = url;
+ }
+
+ /**
+ * The URL of the parent manifest for the repackaged Asset.
+ *
+ * @return The URL of the parent manifest for the repackaged Asset.
+ */
+
+ public String getUrl() {
+ return this.url;
+ }
+
+ /**
+ * The URL of the parent manifest for the repackaged Asset.
+ *
+ * @param url
+ * The URL of the parent manifest for the repackaged Asset.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public EgressEndpoint withUrl(String url) {
+ setUrl(url);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getPackagingConfigurationId() != null)
+ sb.append("PackagingConfigurationId: ").append(getPackagingConfigurationId()).append(",");
+ if (getUrl() != null)
+ sb.append("Url: ").append(getUrl());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof EgressEndpoint == false)
+ return false;
+ EgressEndpoint other = (EgressEndpoint) obj;
+ if (other.getPackagingConfigurationId() == null ^ this.getPackagingConfigurationId() == null)
+ return false;
+ if (other.getPackagingConfigurationId() != null && other.getPackagingConfigurationId().equals(this.getPackagingConfigurationId()) == false)
+ return false;
+ if (other.getUrl() == null ^ this.getUrl() == null)
+ return false;
+ if (other.getUrl() != null && other.getUrl().equals(this.getUrl()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getPackagingConfigurationId() == null) ? 0 : getPackagingConfigurationId().hashCode());
+ hashCode = prime * hashCode + ((getUrl() == null) ? 0 : getUrl().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public EgressEndpoint clone() {
+ try {
+ return (EgressEndpoint) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.EgressEndpointMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/EncryptionMethod.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/EncryptionMethod.java
new file mode 100644
index 000000000000..2a58b82c983c
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/EncryptionMethod.java
@@ -0,0 +1,60 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import javax.annotation.Generated;
+
+/**
+ *
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public enum EncryptionMethod {
+
+ AES_128("AES_128"),
+ SAMPLE_AES("SAMPLE_AES");
+
+ private String value;
+
+ private EncryptionMethod(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String toString() {
+ return this.value;
+ }
+
+ /**
+ * Use this in place of valueOf.
+ *
+ * @param value
+ * real value
+ * @return EncryptionMethod corresponding to the value
+ *
+ * @throws IllegalArgumentException
+ * If the specified value does not map to one of the known values in this enum.
+ */
+ public static EncryptionMethod fromValue(String value) {
+ if (value == null || "".equals(value)) {
+ throw new IllegalArgumentException("Value cannot be null or empty!");
+ }
+
+ for (EncryptionMethod enumEntry : EncryptionMethod.values()) {
+ if (enumEntry.toString().equals(value)) {
+ return enumEntry;
+ }
+ }
+
+ throw new IllegalArgumentException("Cannot create enum from " + value + " value!");
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ForbiddenException.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ForbiddenException.java
new file mode 100644
index 000000000000..af4c1bc8539b
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ForbiddenException.java
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import javax.annotation.Generated;
+
+/**
+ * The client is not authorized to access the requested resource.
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ForbiddenException extends com.amazonaws.services.mediapackagevod.model.AWSMediaPackageVodException {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Constructs a new ForbiddenException with the specified error message.
+ *
+ * @param message
+ * Describes the error encountered.
+ */
+ public ForbiddenException(String message) {
+ super(message);
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/HlsEncryption.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/HlsEncryption.java
new file mode 100644
index 000000000000..8491cd259991
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/HlsEncryption.java
@@ -0,0 +1,176 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * An HTTP Live Streaming (HLS) encryption configuration.
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class HlsEncryption implements Serializable, Cloneable, StructuredPojo {
+
+ /** The encryption method to use. */
+ private String encryptionMethod;
+
+ private SpekeKeyProvider spekeKeyProvider;
+
+ /**
+ * The encryption method to use.
+ *
+ * @param encryptionMethod
+ * The encryption method to use.
+ * @see EncryptionMethod
+ */
+
+ public void setEncryptionMethod(String encryptionMethod) {
+ this.encryptionMethod = encryptionMethod;
+ }
+
+ /**
+ * The encryption method to use.
+ *
+ * @return The encryption method to use.
+ * @see EncryptionMethod
+ */
+
+ public String getEncryptionMethod() {
+ return this.encryptionMethod;
+ }
+
+ /**
+ * The encryption method to use.
+ *
+ * @param encryptionMethod
+ * The encryption method to use.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see EncryptionMethod
+ */
+
+ public HlsEncryption withEncryptionMethod(String encryptionMethod) {
+ setEncryptionMethod(encryptionMethod);
+ return this;
+ }
+
+ /**
+ * The encryption method to use.
+ *
+ * @param encryptionMethod
+ * The encryption method to use.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see EncryptionMethod
+ */
+
+ public HlsEncryption withEncryptionMethod(EncryptionMethod encryptionMethod) {
+ this.encryptionMethod = encryptionMethod.toString();
+ return this;
+ }
+
+ /**
+ * @param spekeKeyProvider
+ */
+
+ public void setSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider) {
+ this.spekeKeyProvider = spekeKeyProvider;
+ }
+
+ /**
+ * @return
+ */
+
+ public SpekeKeyProvider getSpekeKeyProvider() {
+ return this.spekeKeyProvider;
+ }
+
+ /**
+ * @param spekeKeyProvider
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public HlsEncryption withSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider) {
+ setSpekeKeyProvider(spekeKeyProvider);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getEncryptionMethod() != null)
+ sb.append("EncryptionMethod: ").append(getEncryptionMethod()).append(",");
+ if (getSpekeKeyProvider() != null)
+ sb.append("SpekeKeyProvider: ").append(getSpekeKeyProvider());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof HlsEncryption == false)
+ return false;
+ HlsEncryption other = (HlsEncryption) obj;
+ if (other.getEncryptionMethod() == null ^ this.getEncryptionMethod() == null)
+ return false;
+ if (other.getEncryptionMethod() != null && other.getEncryptionMethod().equals(this.getEncryptionMethod()) == false)
+ return false;
+ if (other.getSpekeKeyProvider() == null ^ this.getSpekeKeyProvider() == null)
+ return false;
+ if (other.getSpekeKeyProvider() != null && other.getSpekeKeyProvider().equals(this.getSpekeKeyProvider()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getEncryptionMethod() == null) ? 0 : getEncryptionMethod().hashCode());
+ hashCode = prime * hashCode + ((getSpekeKeyProvider() == null) ? 0 : getSpekeKeyProvider().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public HlsEncryption clone() {
+ try {
+ return (HlsEncryption) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.HlsEncryptionMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/HlsManifest.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/HlsManifest.java
new file mode 100644
index 000000000000..dd217d3f6ef1
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/HlsManifest.java
@@ -0,0 +1,431 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * An HTTP Live Streaming (HLS) manifest configuration.
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class HlsManifest implements Serializable, Cloneable, StructuredPojo {
+
+ /**
+ * This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad
+ * markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments)
+ * taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and
+ * blackout tags based on SCTE-35 messages in the input source.
+ */
+ private String adMarkers;
+ /** When enabled, an I-Frame only stream will be included in the output. */
+ private Boolean includeIframeOnlyStream;
+ /** An optional string to include in the name of the manifest. */
+ private String manifestName;
+ /**
+ * The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an
+ * interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the
+ * content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted
+ * into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if
+ * any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output.
+ */
+ private Integer programDateTimeIntervalSeconds;
+ /** When enabled, the EXT-X-KEY tag will be repeated in output manifests. */
+ private Boolean repeatExtXKey;
+
+ private StreamSelection streamSelection;
+
+ /**
+ * This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad
+ * markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments)
+ * taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and
+ * blackout tags based on SCTE-35 messages in the input source.
+ *
+ * @param adMarkers
+ * This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all
+ * SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad
+ * markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED"
+ * generates ad markers and blackout tags based on SCTE-35 messages in the input source.
+ * @see AdMarkers
+ */
+
+ public void setAdMarkers(String adMarkers) {
+ this.adMarkers = adMarkers;
+ }
+
+ /**
+ * This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad
+ * markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments)
+ * taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and
+ * blackout tags based on SCTE-35 messages in the input source.
+ *
+ * @return This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all
+ * SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad
+ * markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED"
+ * generates ad markers and blackout tags based on SCTE-35 messages in the input source.
+ * @see AdMarkers
+ */
+
+ public String getAdMarkers() {
+ return this.adMarkers;
+ }
+
+ /**
+ * This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad
+ * markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments)
+ * taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and
+ * blackout tags based on SCTE-35 messages in the input source.
+ *
+ * @param adMarkers
+ * This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all
+ * SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad
+ * markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED"
+ * generates ad markers and blackout tags based on SCTE-35 messages in the input source.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see AdMarkers
+ */
+
+ public HlsManifest withAdMarkers(String adMarkers) {
+ setAdMarkers(adMarkers);
+ return this;
+ }
+
+ /**
+ * This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all SCTE-35 ad
+ * markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad markers (comments)
+ * taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED" generates ad markers and
+ * blackout tags based on SCTE-35 messages in the input source.
+ *
+ * @param adMarkers
+ * This setting controls how ad markers are included in the packaged OriginEndpoint. "NONE" will omit all
+ * SCTE-35 ad markers from the output. "PASSTHROUGH" causes the manifest to contain a copy of the SCTE-35 ad
+ * markers (comments) taken directly from the input HTTP Live Streaming (HLS) manifest. "SCTE35_ENHANCED"
+ * generates ad markers and blackout tags based on SCTE-35 messages in the input source.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see AdMarkers
+ */
+
+ public HlsManifest withAdMarkers(AdMarkers adMarkers) {
+ this.adMarkers = adMarkers.toString();
+ return this;
+ }
+
+ /**
+ * When enabled, an I-Frame only stream will be included in the output.
+ *
+ * @param includeIframeOnlyStream
+ * When enabled, an I-Frame only stream will be included in the output.
+ */
+
+ public void setIncludeIframeOnlyStream(Boolean includeIframeOnlyStream) {
+ this.includeIframeOnlyStream = includeIframeOnlyStream;
+ }
+
+ /**
+ * When enabled, an I-Frame only stream will be included in the output.
+ *
+ * @return When enabled, an I-Frame only stream will be included in the output.
+ */
+
+ public Boolean getIncludeIframeOnlyStream() {
+ return this.includeIframeOnlyStream;
+ }
+
+ /**
+ * When enabled, an I-Frame only stream will be included in the output.
+ *
+ * @param includeIframeOnlyStream
+ * When enabled, an I-Frame only stream will be included in the output.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public HlsManifest withIncludeIframeOnlyStream(Boolean includeIframeOnlyStream) {
+ setIncludeIframeOnlyStream(includeIframeOnlyStream);
+ return this;
+ }
+
+ /**
+ * When enabled, an I-Frame only stream will be included in the output.
+ *
+ * @return When enabled, an I-Frame only stream will be included in the output.
+ */
+
+ public Boolean isIncludeIframeOnlyStream() {
+ return this.includeIframeOnlyStream;
+ }
+
+ /**
+ * An optional string to include in the name of the manifest.
+ *
+ * @param manifestName
+ * An optional string to include in the name of the manifest.
+ */
+
+ public void setManifestName(String manifestName) {
+ this.manifestName = manifestName;
+ }
+
+ /**
+ * An optional string to include in the name of the manifest.
+ *
+ * @return An optional string to include in the name of the manifest.
+ */
+
+ public String getManifestName() {
+ return this.manifestName;
+ }
+
+ /**
+ * An optional string to include in the name of the manifest.
+ *
+ * @param manifestName
+ * An optional string to include in the name of the manifest.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public HlsManifest withManifestName(String manifestName) {
+ setManifestName(manifestName);
+ return this;
+ }
+
+ /**
+ * The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an
+ * interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the
+ * content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted
+ * into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if
+ * any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output.
+ *
+ * @param programDateTimeIntervalSeconds
+ * The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally,
+ * when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the
+ * ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME
+ * tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that
+ * irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it
+ * will be passed through to HLS output.
+ */
+
+ public void setProgramDateTimeIntervalSeconds(Integer programDateTimeIntervalSeconds) {
+ this.programDateTimeIntervalSeconds = programDateTimeIntervalSeconds;
+ }
+
+ /**
+ * The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an
+ * interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the
+ * content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted
+ * into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if
+ * any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output.
+ *
+ * @return The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally,
+ * when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the
+ * ingest time of the content. If the interval is not specified, or set to 0, then no
+ * EXT-X-PROGRAM-DATE-TIME tags will be inserted into manifests and no ID3Timed Metadata messages will be
+ * generated. Note that irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live
+ * Streaming (HLS) input, it will be passed through to HLS output.
+ */
+
+ public Integer getProgramDateTimeIntervalSeconds() {
+ return this.programDateTimeIntervalSeconds;
+ }
+
+ /**
+ * The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally, when an
+ * interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the ingest time of the
+ * content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME tags will be inserted
+ * into manifests and no ID3Timed Metadata messages will be generated. Note that irrespective of this parameter, if
+ * any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it will be passed through to HLS output.
+ *
+ * @param programDateTimeIntervalSeconds
+ * The interval (in seconds) between each EXT-X-PROGRAM-DATE-TIME tag inserted into manifests. Additionally,
+ * when an interval is specified ID3Timed Metadata messages will be generated every 5 seconds using the
+ * ingest time of the content. If the interval is not specified, or set to 0, then no EXT-X-PROGRAM-DATE-TIME
+ * tags will be inserted into manifests and no ID3Timed Metadata messages will be generated. Note that
+ * irrespective of this parameter, if any ID3 Timed Metadata is found in HTTP Live Streaming (HLS) input, it
+ * will be passed through to HLS output.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public HlsManifest withProgramDateTimeIntervalSeconds(Integer programDateTimeIntervalSeconds) {
+ setProgramDateTimeIntervalSeconds(programDateTimeIntervalSeconds);
+ return this;
+ }
+
+ /**
+ * When enabled, the EXT-X-KEY tag will be repeated in output manifests.
+ *
+ * @param repeatExtXKey
+ * When enabled, the EXT-X-KEY tag will be repeated in output manifests.
+ */
+
+ public void setRepeatExtXKey(Boolean repeatExtXKey) {
+ this.repeatExtXKey = repeatExtXKey;
+ }
+
+ /**
+ * When enabled, the EXT-X-KEY tag will be repeated in output manifests.
+ *
+ * @return When enabled, the EXT-X-KEY tag will be repeated in output manifests.
+ */
+
+ public Boolean getRepeatExtXKey() {
+ return this.repeatExtXKey;
+ }
+
+ /**
+ * When enabled, the EXT-X-KEY tag will be repeated in output manifests.
+ *
+ * @param repeatExtXKey
+ * When enabled, the EXT-X-KEY tag will be repeated in output manifests.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public HlsManifest withRepeatExtXKey(Boolean repeatExtXKey) {
+ setRepeatExtXKey(repeatExtXKey);
+ return this;
+ }
+
+ /**
+ * When enabled, the EXT-X-KEY tag will be repeated in output manifests.
+ *
+ * @return When enabled, the EXT-X-KEY tag will be repeated in output manifests.
+ */
+
+ public Boolean isRepeatExtXKey() {
+ return this.repeatExtXKey;
+ }
+
+ /**
+ * @param streamSelection
+ */
+
+ public void setStreamSelection(StreamSelection streamSelection) {
+ this.streamSelection = streamSelection;
+ }
+
+ /**
+ * @return
+ */
+
+ public StreamSelection getStreamSelection() {
+ return this.streamSelection;
+ }
+
+ /**
+ * @param streamSelection
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public HlsManifest withStreamSelection(StreamSelection streamSelection) {
+ setStreamSelection(streamSelection);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getAdMarkers() != null)
+ sb.append("AdMarkers: ").append(getAdMarkers()).append(",");
+ if (getIncludeIframeOnlyStream() != null)
+ sb.append("IncludeIframeOnlyStream: ").append(getIncludeIframeOnlyStream()).append(",");
+ if (getManifestName() != null)
+ sb.append("ManifestName: ").append(getManifestName()).append(",");
+ if (getProgramDateTimeIntervalSeconds() != null)
+ sb.append("ProgramDateTimeIntervalSeconds: ").append(getProgramDateTimeIntervalSeconds()).append(",");
+ if (getRepeatExtXKey() != null)
+ sb.append("RepeatExtXKey: ").append(getRepeatExtXKey()).append(",");
+ if (getStreamSelection() != null)
+ sb.append("StreamSelection: ").append(getStreamSelection());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof HlsManifest == false)
+ return false;
+ HlsManifest other = (HlsManifest) obj;
+ if (other.getAdMarkers() == null ^ this.getAdMarkers() == null)
+ return false;
+ if (other.getAdMarkers() != null && other.getAdMarkers().equals(this.getAdMarkers()) == false)
+ return false;
+ if (other.getIncludeIframeOnlyStream() == null ^ this.getIncludeIframeOnlyStream() == null)
+ return false;
+ if (other.getIncludeIframeOnlyStream() != null && other.getIncludeIframeOnlyStream().equals(this.getIncludeIframeOnlyStream()) == false)
+ return false;
+ if (other.getManifestName() == null ^ this.getManifestName() == null)
+ return false;
+ if (other.getManifestName() != null && other.getManifestName().equals(this.getManifestName()) == false)
+ return false;
+ if (other.getProgramDateTimeIntervalSeconds() == null ^ this.getProgramDateTimeIntervalSeconds() == null)
+ return false;
+ if (other.getProgramDateTimeIntervalSeconds() != null
+ && other.getProgramDateTimeIntervalSeconds().equals(this.getProgramDateTimeIntervalSeconds()) == false)
+ return false;
+ if (other.getRepeatExtXKey() == null ^ this.getRepeatExtXKey() == null)
+ return false;
+ if (other.getRepeatExtXKey() != null && other.getRepeatExtXKey().equals(this.getRepeatExtXKey()) == false)
+ return false;
+ if (other.getStreamSelection() == null ^ this.getStreamSelection() == null)
+ return false;
+ if (other.getStreamSelection() != null && other.getStreamSelection().equals(this.getStreamSelection()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getAdMarkers() == null) ? 0 : getAdMarkers().hashCode());
+ hashCode = prime * hashCode + ((getIncludeIframeOnlyStream() == null) ? 0 : getIncludeIframeOnlyStream().hashCode());
+ hashCode = prime * hashCode + ((getManifestName() == null) ? 0 : getManifestName().hashCode());
+ hashCode = prime * hashCode + ((getProgramDateTimeIntervalSeconds() == null) ? 0 : getProgramDateTimeIntervalSeconds().hashCode());
+ hashCode = prime * hashCode + ((getRepeatExtXKey() == null) ? 0 : getRepeatExtXKey().hashCode());
+ hashCode = prime * hashCode + ((getStreamSelection() == null) ? 0 : getStreamSelection().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public HlsManifest clone() {
+ try {
+ return (HlsManifest) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.HlsManifestMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/HlsPackage.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/HlsPackage.java
new file mode 100644
index 000000000000..242bd8161d7e
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/HlsPackage.java
@@ -0,0 +1,291 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * An HTTP Live Streaming (HLS) packaging configuration.
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class HlsPackage implements Serializable, Cloneable, StructuredPojo {
+
+ private HlsEncryption encryption;
+ /** A list of HLS manifest configurations. */
+ private java.util.List hlsManifests;
+ /**
+ * Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source
+ * fragment duration.
+ */
+ private Integer segmentDurationSeconds;
+ /** When enabled, audio streams will be placed in rendition groups in the output. */
+ private Boolean useAudioRenditionGroup;
+
+ /**
+ * @param encryption
+ */
+
+ public void setEncryption(HlsEncryption encryption) {
+ this.encryption = encryption;
+ }
+
+ /**
+ * @return
+ */
+
+ public HlsEncryption getEncryption() {
+ return this.encryption;
+ }
+
+ /**
+ * @param encryption
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public HlsPackage withEncryption(HlsEncryption encryption) {
+ setEncryption(encryption);
+ return this;
+ }
+
+ /**
+ * A list of HLS manifest configurations.
+ *
+ * @return A list of HLS manifest configurations.
+ */
+
+ public java.util.List getHlsManifests() {
+ return hlsManifests;
+ }
+
+ /**
+ * A list of HLS manifest configurations.
+ *
+ * @param hlsManifests
+ * A list of HLS manifest configurations.
+ */
+
+ public void setHlsManifests(java.util.Collection hlsManifests) {
+ if (hlsManifests == null) {
+ this.hlsManifests = null;
+ return;
+ }
+
+ this.hlsManifests = new java.util.ArrayList(hlsManifests);
+ }
+
+ /**
+ * A list of HLS manifest configurations.
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setHlsManifests(java.util.Collection)} or {@link #withHlsManifests(java.util.Collection)} if you want to
+ * override the existing values.
+ *
+ *
+ * @param hlsManifests
+ * A list of HLS manifest configurations.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public HlsPackage withHlsManifests(HlsManifest... hlsManifests) {
+ if (this.hlsManifests == null) {
+ setHlsManifests(new java.util.ArrayList(hlsManifests.length));
+ }
+ for (HlsManifest ele : hlsManifests) {
+ this.hlsManifests.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * A list of HLS manifest configurations.
+ *
+ * @param hlsManifests
+ * A list of HLS manifest configurations.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public HlsPackage withHlsManifests(java.util.Collection hlsManifests) {
+ setHlsManifests(hlsManifests);
+ return this;
+ }
+
+ /**
+ * Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source
+ * fragment duration.
+ *
+ * @param segmentDurationSeconds
+ * Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the
+ * source fragment duration.
+ */
+
+ public void setSegmentDurationSeconds(Integer segmentDurationSeconds) {
+ this.segmentDurationSeconds = segmentDurationSeconds;
+ }
+
+ /**
+ * Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source
+ * fragment duration.
+ *
+ * @return Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the
+ * source fragment duration.
+ */
+
+ public Integer getSegmentDurationSeconds() {
+ return this.segmentDurationSeconds;
+ }
+
+ /**
+ * Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the source
+ * fragment duration.
+ *
+ * @param segmentDurationSeconds
+ * Duration (in seconds) of each fragment. Actual fragments will be rounded to the nearest multiple of the
+ * source fragment duration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public HlsPackage withSegmentDurationSeconds(Integer segmentDurationSeconds) {
+ setSegmentDurationSeconds(segmentDurationSeconds);
+ return this;
+ }
+
+ /**
+ * When enabled, audio streams will be placed in rendition groups in the output.
+ *
+ * @param useAudioRenditionGroup
+ * When enabled, audio streams will be placed in rendition groups in the output.
+ */
+
+ public void setUseAudioRenditionGroup(Boolean useAudioRenditionGroup) {
+ this.useAudioRenditionGroup = useAudioRenditionGroup;
+ }
+
+ /**
+ * When enabled, audio streams will be placed in rendition groups in the output.
+ *
+ * @return When enabled, audio streams will be placed in rendition groups in the output.
+ */
+
+ public Boolean getUseAudioRenditionGroup() {
+ return this.useAudioRenditionGroup;
+ }
+
+ /**
+ * When enabled, audio streams will be placed in rendition groups in the output.
+ *
+ * @param useAudioRenditionGroup
+ * When enabled, audio streams will be placed in rendition groups in the output.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public HlsPackage withUseAudioRenditionGroup(Boolean useAudioRenditionGroup) {
+ setUseAudioRenditionGroup(useAudioRenditionGroup);
+ return this;
+ }
+
+ /**
+ * When enabled, audio streams will be placed in rendition groups in the output.
+ *
+ * @return When enabled, audio streams will be placed in rendition groups in the output.
+ */
+
+ public Boolean isUseAudioRenditionGroup() {
+ return this.useAudioRenditionGroup;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getEncryption() != null)
+ sb.append("Encryption: ").append(getEncryption()).append(",");
+ if (getHlsManifests() != null)
+ sb.append("HlsManifests: ").append(getHlsManifests()).append(",");
+ if (getSegmentDurationSeconds() != null)
+ sb.append("SegmentDurationSeconds: ").append(getSegmentDurationSeconds()).append(",");
+ if (getUseAudioRenditionGroup() != null)
+ sb.append("UseAudioRenditionGroup: ").append(getUseAudioRenditionGroup());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof HlsPackage == false)
+ return false;
+ HlsPackage other = (HlsPackage) obj;
+ if (other.getEncryption() == null ^ this.getEncryption() == null)
+ return false;
+ if (other.getEncryption() != null && other.getEncryption().equals(this.getEncryption()) == false)
+ return false;
+ if (other.getHlsManifests() == null ^ this.getHlsManifests() == null)
+ return false;
+ if (other.getHlsManifests() != null && other.getHlsManifests().equals(this.getHlsManifests()) == false)
+ return false;
+ if (other.getSegmentDurationSeconds() == null ^ this.getSegmentDurationSeconds() == null)
+ return false;
+ if (other.getSegmentDurationSeconds() != null && other.getSegmentDurationSeconds().equals(this.getSegmentDurationSeconds()) == false)
+ return false;
+ if (other.getUseAudioRenditionGroup() == null ^ this.getUseAudioRenditionGroup() == null)
+ return false;
+ if (other.getUseAudioRenditionGroup() != null && other.getUseAudioRenditionGroup().equals(this.getUseAudioRenditionGroup()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getEncryption() == null) ? 0 : getEncryption().hashCode());
+ hashCode = prime * hashCode + ((getHlsManifests() == null) ? 0 : getHlsManifests().hashCode());
+ hashCode = prime * hashCode + ((getSegmentDurationSeconds() == null) ? 0 : getSegmentDurationSeconds().hashCode());
+ hashCode = prime * hashCode + ((getUseAudioRenditionGroup() == null) ? 0 : getUseAudioRenditionGroup().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public HlsPackage clone() {
+ try {
+ return (HlsPackage) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.HlsPackageMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/InternalServerErrorException.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/InternalServerErrorException.java
new file mode 100644
index 000000000000..6610073cc08d
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/InternalServerErrorException.java
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import javax.annotation.Generated;
+
+/**
+ * An unexpected error occurred.
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class InternalServerErrorException extends com.amazonaws.services.mediapackagevod.model.AWSMediaPackageVodException {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Constructs a new InternalServerErrorException with the specified error message.
+ *
+ * @param message
+ * Describes the error encountered.
+ */
+ public InternalServerErrorException(String message) {
+ super(message);
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListAssetsRequest.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListAssetsRequest.java
new file mode 100644
index 000000000000..98c4edfb19d8
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListAssetsRequest.java
@@ -0,0 +1,200 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ListAssetsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ /** Upper bound on number of records to return. */
+ private Integer maxResults;
+ /** A token used to resume pagination from the end of a previous request. */
+ private String nextToken;
+ /** Returns Assets associated with the specified PackagingGroup. */
+ private String packagingGroupId;
+
+ /**
+ * Upper bound on number of records to return.
+ *
+ * @param maxResults
+ * Upper bound on number of records to return.
+ */
+
+ public void setMaxResults(Integer maxResults) {
+ this.maxResults = maxResults;
+ }
+
+ /**
+ * Upper bound on number of records to return.
+ *
+ * @return Upper bound on number of records to return.
+ */
+
+ public Integer getMaxResults() {
+ return this.maxResults;
+ }
+
+ /**
+ * Upper bound on number of records to return.
+ *
+ * @param maxResults
+ * Upper bound on number of records to return.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListAssetsRequest withMaxResults(Integer maxResults) {
+ setMaxResults(maxResults);
+ return this;
+ }
+
+ /**
+ * A token used to resume pagination from the end of a previous request.
+ *
+ * @param nextToken
+ * A token used to resume pagination from the end of a previous request.
+ */
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ /**
+ * A token used to resume pagination from the end of a previous request.
+ *
+ * @return A token used to resume pagination from the end of a previous request.
+ */
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ /**
+ * A token used to resume pagination from the end of a previous request.
+ *
+ * @param nextToken
+ * A token used to resume pagination from the end of a previous request.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListAssetsRequest withNextToken(String nextToken) {
+ setNextToken(nextToken);
+ return this;
+ }
+
+ /**
+ * Returns Assets associated with the specified PackagingGroup.
+ *
+ * @param packagingGroupId
+ * Returns Assets associated with the specified PackagingGroup.
+ */
+
+ public void setPackagingGroupId(String packagingGroupId) {
+ this.packagingGroupId = packagingGroupId;
+ }
+
+ /**
+ * Returns Assets associated with the specified PackagingGroup.
+ *
+ * @return Returns Assets associated with the specified PackagingGroup.
+ */
+
+ public String getPackagingGroupId() {
+ return this.packagingGroupId;
+ }
+
+ /**
+ * Returns Assets associated with the specified PackagingGroup.
+ *
+ * @param packagingGroupId
+ * Returns Assets associated with the specified PackagingGroup.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListAssetsRequest withPackagingGroupId(String packagingGroupId) {
+ setPackagingGroupId(packagingGroupId);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getMaxResults() != null)
+ sb.append("MaxResults: ").append(getMaxResults()).append(",");
+ if (getNextToken() != null)
+ sb.append("NextToken: ").append(getNextToken()).append(",");
+ if (getPackagingGroupId() != null)
+ sb.append("PackagingGroupId: ").append(getPackagingGroupId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof ListAssetsRequest == false)
+ return false;
+ ListAssetsRequest other = (ListAssetsRequest) obj;
+ if (other.getMaxResults() == null ^ this.getMaxResults() == null)
+ return false;
+ if (other.getMaxResults() != null && other.getMaxResults().equals(this.getMaxResults()) == false)
+ return false;
+ if (other.getNextToken() == null ^ this.getNextToken() == null)
+ return false;
+ if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false)
+ return false;
+ if (other.getPackagingGroupId() == null ^ this.getPackagingGroupId() == null)
+ return false;
+ if (other.getPackagingGroupId() != null && other.getPackagingGroupId().equals(this.getPackagingGroupId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode());
+ hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode());
+ hashCode = prime * hashCode + ((getPackagingGroupId() == null) ? 0 : getPackagingGroupId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public ListAssetsRequest clone() {
+ return (ListAssetsRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListAssetsResult.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListAssetsResult.java
new file mode 100644
index 000000000000..1e57d57509f2
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListAssetsResult.java
@@ -0,0 +1,187 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ListAssetsResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ /** A list of MediaPackage VOD Asset resources. */
+ private java.util.List assets;
+ /** A token that can be used to resume pagination from the end of the collection. */
+ private String nextToken;
+
+ /**
+ * A list of MediaPackage VOD Asset resources.
+ *
+ * @return A list of MediaPackage VOD Asset resources.
+ */
+
+ public java.util.List getAssets() {
+ return assets;
+ }
+
+ /**
+ * A list of MediaPackage VOD Asset resources.
+ *
+ * @param assets
+ * A list of MediaPackage VOD Asset resources.
+ */
+
+ public void setAssets(java.util.Collection assets) {
+ if (assets == null) {
+ this.assets = null;
+ return;
+ }
+
+ this.assets = new java.util.ArrayList(assets);
+ }
+
+ /**
+ * A list of MediaPackage VOD Asset resources.
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setAssets(java.util.Collection)} or {@link #withAssets(java.util.Collection)} if you want to override the
+ * existing values.
+ *
+ *
+ * @param assets
+ * A list of MediaPackage VOD Asset resources.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListAssetsResult withAssets(AssetShallow... assets) {
+ if (this.assets == null) {
+ setAssets(new java.util.ArrayList(assets.length));
+ }
+ for (AssetShallow ele : assets) {
+ this.assets.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * A list of MediaPackage VOD Asset resources.
+ *
+ * @param assets
+ * A list of MediaPackage VOD Asset resources.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListAssetsResult withAssets(java.util.Collection assets) {
+ setAssets(assets);
+ return this;
+ }
+
+ /**
+ * A token that can be used to resume pagination from the end of the collection.
+ *
+ * @param nextToken
+ * A token that can be used to resume pagination from the end of the collection.
+ */
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ /**
+ * A token that can be used to resume pagination from the end of the collection.
+ *
+ * @return A token that can be used to resume pagination from the end of the collection.
+ */
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ /**
+ * A token that can be used to resume pagination from the end of the collection.
+ *
+ * @param nextToken
+ * A token that can be used to resume pagination from the end of the collection.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListAssetsResult withNextToken(String nextToken) {
+ setNextToken(nextToken);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getAssets() != null)
+ sb.append("Assets: ").append(getAssets()).append(",");
+ if (getNextToken() != null)
+ sb.append("NextToken: ").append(getNextToken());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof ListAssetsResult == false)
+ return false;
+ ListAssetsResult other = (ListAssetsResult) obj;
+ if (other.getAssets() == null ^ this.getAssets() == null)
+ return false;
+ if (other.getAssets() != null && other.getAssets().equals(this.getAssets()) == false)
+ return false;
+ if (other.getNextToken() == null ^ this.getNextToken() == null)
+ return false;
+ if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getAssets() == null) ? 0 : getAssets().hashCode());
+ hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public ListAssetsResult clone() {
+ try {
+ return (ListAssetsResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListPackagingConfigurationsRequest.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListPackagingConfigurationsRequest.java
new file mode 100644
index 000000000000..9cfdafcbce4b
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListPackagingConfigurationsRequest.java
@@ -0,0 +1,200 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ListPackagingConfigurationsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ /** Upper bound on number of records to return. */
+ private Integer maxResults;
+ /** A token used to resume pagination from the end of a previous request. */
+ private String nextToken;
+ /** Returns MediaPackage VOD PackagingConfigurations associated with the specified PackagingGroup. */
+ private String packagingGroupId;
+
+ /**
+ * Upper bound on number of records to return.
+ *
+ * @param maxResults
+ * Upper bound on number of records to return.
+ */
+
+ public void setMaxResults(Integer maxResults) {
+ this.maxResults = maxResults;
+ }
+
+ /**
+ * Upper bound on number of records to return.
+ *
+ * @return Upper bound on number of records to return.
+ */
+
+ public Integer getMaxResults() {
+ return this.maxResults;
+ }
+
+ /**
+ * Upper bound on number of records to return.
+ *
+ * @param maxResults
+ * Upper bound on number of records to return.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListPackagingConfigurationsRequest withMaxResults(Integer maxResults) {
+ setMaxResults(maxResults);
+ return this;
+ }
+
+ /**
+ * A token used to resume pagination from the end of a previous request.
+ *
+ * @param nextToken
+ * A token used to resume pagination from the end of a previous request.
+ */
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ /**
+ * A token used to resume pagination from the end of a previous request.
+ *
+ * @return A token used to resume pagination from the end of a previous request.
+ */
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ /**
+ * A token used to resume pagination from the end of a previous request.
+ *
+ * @param nextToken
+ * A token used to resume pagination from the end of a previous request.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListPackagingConfigurationsRequest withNextToken(String nextToken) {
+ setNextToken(nextToken);
+ return this;
+ }
+
+ /**
+ * Returns MediaPackage VOD PackagingConfigurations associated with the specified PackagingGroup.
+ *
+ * @param packagingGroupId
+ * Returns MediaPackage VOD PackagingConfigurations associated with the specified PackagingGroup.
+ */
+
+ public void setPackagingGroupId(String packagingGroupId) {
+ this.packagingGroupId = packagingGroupId;
+ }
+
+ /**
+ * Returns MediaPackage VOD PackagingConfigurations associated with the specified PackagingGroup.
+ *
+ * @return Returns MediaPackage VOD PackagingConfigurations associated with the specified PackagingGroup.
+ */
+
+ public String getPackagingGroupId() {
+ return this.packagingGroupId;
+ }
+
+ /**
+ * Returns MediaPackage VOD PackagingConfigurations associated with the specified PackagingGroup.
+ *
+ * @param packagingGroupId
+ * Returns MediaPackage VOD PackagingConfigurations associated with the specified PackagingGroup.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListPackagingConfigurationsRequest withPackagingGroupId(String packagingGroupId) {
+ setPackagingGroupId(packagingGroupId);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getMaxResults() != null)
+ sb.append("MaxResults: ").append(getMaxResults()).append(",");
+ if (getNextToken() != null)
+ sb.append("NextToken: ").append(getNextToken()).append(",");
+ if (getPackagingGroupId() != null)
+ sb.append("PackagingGroupId: ").append(getPackagingGroupId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof ListPackagingConfigurationsRequest == false)
+ return false;
+ ListPackagingConfigurationsRequest other = (ListPackagingConfigurationsRequest) obj;
+ if (other.getMaxResults() == null ^ this.getMaxResults() == null)
+ return false;
+ if (other.getMaxResults() != null && other.getMaxResults().equals(this.getMaxResults()) == false)
+ return false;
+ if (other.getNextToken() == null ^ this.getNextToken() == null)
+ return false;
+ if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false)
+ return false;
+ if (other.getPackagingGroupId() == null ^ this.getPackagingGroupId() == null)
+ return false;
+ if (other.getPackagingGroupId() != null && other.getPackagingGroupId().equals(this.getPackagingGroupId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode());
+ hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode());
+ hashCode = prime * hashCode + ((getPackagingGroupId() == null) ? 0 : getPackagingGroupId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public ListPackagingConfigurationsRequest clone() {
+ return (ListPackagingConfigurationsRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListPackagingConfigurationsResult.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListPackagingConfigurationsResult.java
new file mode 100644
index 000000000000..90909869b0d4
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListPackagingConfigurationsResult.java
@@ -0,0 +1,187 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ListPackagingConfigurationsResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ /** A token that can be used to resume pagination from the end of the collection. */
+ private String nextToken;
+ /** A list of MediaPackage VOD PackagingConfiguration resources. */
+ private java.util.List packagingConfigurations;
+
+ /**
+ * A token that can be used to resume pagination from the end of the collection.
+ *
+ * @param nextToken
+ * A token that can be used to resume pagination from the end of the collection.
+ */
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ /**
+ * A token that can be used to resume pagination from the end of the collection.
+ *
+ * @return A token that can be used to resume pagination from the end of the collection.
+ */
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ /**
+ * A token that can be used to resume pagination from the end of the collection.
+ *
+ * @param nextToken
+ * A token that can be used to resume pagination from the end of the collection.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListPackagingConfigurationsResult withNextToken(String nextToken) {
+ setNextToken(nextToken);
+ return this;
+ }
+
+ /**
+ * A list of MediaPackage VOD PackagingConfiguration resources.
+ *
+ * @return A list of MediaPackage VOD PackagingConfiguration resources.
+ */
+
+ public java.util.List getPackagingConfigurations() {
+ return packagingConfigurations;
+ }
+
+ /**
+ * A list of MediaPackage VOD PackagingConfiguration resources.
+ *
+ * @param packagingConfigurations
+ * A list of MediaPackage VOD PackagingConfiguration resources.
+ */
+
+ public void setPackagingConfigurations(java.util.Collection packagingConfigurations) {
+ if (packagingConfigurations == null) {
+ this.packagingConfigurations = null;
+ return;
+ }
+
+ this.packagingConfigurations = new java.util.ArrayList(packagingConfigurations);
+ }
+
+ /**
+ * A list of MediaPackage VOD PackagingConfiguration resources.
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setPackagingConfigurations(java.util.Collection)} or
+ * {@link #withPackagingConfigurations(java.util.Collection)} if you want to override the existing values.
+ *
+ *
+ * @param packagingConfigurations
+ * A list of MediaPackage VOD PackagingConfiguration resources.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListPackagingConfigurationsResult withPackagingConfigurations(PackagingConfiguration... packagingConfigurations) {
+ if (this.packagingConfigurations == null) {
+ setPackagingConfigurations(new java.util.ArrayList(packagingConfigurations.length));
+ }
+ for (PackagingConfiguration ele : packagingConfigurations) {
+ this.packagingConfigurations.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * A list of MediaPackage VOD PackagingConfiguration resources.
+ *
+ * @param packagingConfigurations
+ * A list of MediaPackage VOD PackagingConfiguration resources.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListPackagingConfigurationsResult withPackagingConfigurations(java.util.Collection packagingConfigurations) {
+ setPackagingConfigurations(packagingConfigurations);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getNextToken() != null)
+ sb.append("NextToken: ").append(getNextToken()).append(",");
+ if (getPackagingConfigurations() != null)
+ sb.append("PackagingConfigurations: ").append(getPackagingConfigurations());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof ListPackagingConfigurationsResult == false)
+ return false;
+ ListPackagingConfigurationsResult other = (ListPackagingConfigurationsResult) obj;
+ if (other.getNextToken() == null ^ this.getNextToken() == null)
+ return false;
+ if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false)
+ return false;
+ if (other.getPackagingConfigurations() == null ^ this.getPackagingConfigurations() == null)
+ return false;
+ if (other.getPackagingConfigurations() != null && other.getPackagingConfigurations().equals(this.getPackagingConfigurations()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode());
+ hashCode = prime * hashCode + ((getPackagingConfigurations() == null) ? 0 : getPackagingConfigurations().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public ListPackagingConfigurationsResult clone() {
+ try {
+ return (ListPackagingConfigurationsResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListPackagingGroupsRequest.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListPackagingGroupsRequest.java
new file mode 100644
index 000000000000..fe39685281cb
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListPackagingGroupsRequest.java
@@ -0,0 +1,157 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+import com.amazonaws.AmazonWebServiceRequest;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ListPackagingGroupsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {
+
+ /** Upper bound on number of records to return. */
+ private Integer maxResults;
+ /** A token used to resume pagination from the end of a previous request. */
+ private String nextToken;
+
+ /**
+ * Upper bound on number of records to return.
+ *
+ * @param maxResults
+ * Upper bound on number of records to return.
+ */
+
+ public void setMaxResults(Integer maxResults) {
+ this.maxResults = maxResults;
+ }
+
+ /**
+ * Upper bound on number of records to return.
+ *
+ * @return Upper bound on number of records to return.
+ */
+
+ public Integer getMaxResults() {
+ return this.maxResults;
+ }
+
+ /**
+ * Upper bound on number of records to return.
+ *
+ * @param maxResults
+ * Upper bound on number of records to return.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListPackagingGroupsRequest withMaxResults(Integer maxResults) {
+ setMaxResults(maxResults);
+ return this;
+ }
+
+ /**
+ * A token used to resume pagination from the end of a previous request.
+ *
+ * @param nextToken
+ * A token used to resume pagination from the end of a previous request.
+ */
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ /**
+ * A token used to resume pagination from the end of a previous request.
+ *
+ * @return A token used to resume pagination from the end of a previous request.
+ */
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ /**
+ * A token used to resume pagination from the end of a previous request.
+ *
+ * @param nextToken
+ * A token used to resume pagination from the end of a previous request.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListPackagingGroupsRequest withNextToken(String nextToken) {
+ setNextToken(nextToken);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getMaxResults() != null)
+ sb.append("MaxResults: ").append(getMaxResults()).append(",");
+ if (getNextToken() != null)
+ sb.append("NextToken: ").append(getNextToken());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof ListPackagingGroupsRequest == false)
+ return false;
+ ListPackagingGroupsRequest other = (ListPackagingGroupsRequest) obj;
+ if (other.getMaxResults() == null ^ this.getMaxResults() == null)
+ return false;
+ if (other.getMaxResults() != null && other.getMaxResults().equals(this.getMaxResults()) == false)
+ return false;
+ if (other.getNextToken() == null ^ this.getNextToken() == null)
+ return false;
+ if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode());
+ hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public ListPackagingGroupsRequest clone() {
+ return (ListPackagingGroupsRequest) super.clone();
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListPackagingGroupsResult.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListPackagingGroupsResult.java
new file mode 100644
index 000000000000..f862366010a7
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ListPackagingGroupsResult.java
@@ -0,0 +1,187 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+
+/**
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ListPackagingGroupsResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable {
+
+ /** A token that can be used to resume pagination from the end of the collection. */
+ private String nextToken;
+ /** A list of MediaPackage VOD PackagingGroup resources. */
+ private java.util.List packagingGroups;
+
+ /**
+ * A token that can be used to resume pagination from the end of the collection.
+ *
+ * @param nextToken
+ * A token that can be used to resume pagination from the end of the collection.
+ */
+
+ public void setNextToken(String nextToken) {
+ this.nextToken = nextToken;
+ }
+
+ /**
+ * A token that can be used to resume pagination from the end of the collection.
+ *
+ * @return A token that can be used to resume pagination from the end of the collection.
+ */
+
+ public String getNextToken() {
+ return this.nextToken;
+ }
+
+ /**
+ * A token that can be used to resume pagination from the end of the collection.
+ *
+ * @param nextToken
+ * A token that can be used to resume pagination from the end of the collection.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListPackagingGroupsResult withNextToken(String nextToken) {
+ setNextToken(nextToken);
+ return this;
+ }
+
+ /**
+ * A list of MediaPackage VOD PackagingGroup resources.
+ *
+ * @return A list of MediaPackage VOD PackagingGroup resources.
+ */
+
+ public java.util.List getPackagingGroups() {
+ return packagingGroups;
+ }
+
+ /**
+ * A list of MediaPackage VOD PackagingGroup resources.
+ *
+ * @param packagingGroups
+ * A list of MediaPackage VOD PackagingGroup resources.
+ */
+
+ public void setPackagingGroups(java.util.Collection packagingGroups) {
+ if (packagingGroups == null) {
+ this.packagingGroups = null;
+ return;
+ }
+
+ this.packagingGroups = new java.util.ArrayList(packagingGroups);
+ }
+
+ /**
+ * A list of MediaPackage VOD PackagingGroup resources.
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setPackagingGroups(java.util.Collection)} or {@link #withPackagingGroups(java.util.Collection)} if you
+ * want to override the existing values.
+ *
+ *
+ * @param packagingGroups
+ * A list of MediaPackage VOD PackagingGroup resources.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListPackagingGroupsResult withPackagingGroups(PackagingGroup... packagingGroups) {
+ if (this.packagingGroups == null) {
+ setPackagingGroups(new java.util.ArrayList(packagingGroups.length));
+ }
+ for (PackagingGroup ele : packagingGroups) {
+ this.packagingGroups.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * A list of MediaPackage VOD PackagingGroup resources.
+ *
+ * @param packagingGroups
+ * A list of MediaPackage VOD PackagingGroup resources.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public ListPackagingGroupsResult withPackagingGroups(java.util.Collection packagingGroups) {
+ setPackagingGroups(packagingGroups);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getNextToken() != null)
+ sb.append("NextToken: ").append(getNextToken()).append(",");
+ if (getPackagingGroups() != null)
+ sb.append("PackagingGroups: ").append(getPackagingGroups());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof ListPackagingGroupsResult == false)
+ return false;
+ ListPackagingGroupsResult other = (ListPackagingGroupsResult) obj;
+ if (other.getNextToken() == null ^ this.getNextToken() == null)
+ return false;
+ if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false)
+ return false;
+ if (other.getPackagingGroups() == null ^ this.getPackagingGroups() == null)
+ return false;
+ if (other.getPackagingGroups() != null && other.getPackagingGroups().equals(this.getPackagingGroups()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode());
+ hashCode = prime * hashCode + ((getPackagingGroups() == null) ? 0 : getPackagingGroups().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public ListPackagingGroupsResult clone() {
+ try {
+ return (ListPackagingGroupsResult) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/MssEncryption.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/MssEncryption.java
new file mode 100644
index 000000000000..3e0568fc8b56
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/MssEncryption.java
@@ -0,0 +1,115 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * A Microsoft Smooth Streaming (MSS) encryption configuration.
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class MssEncryption implements Serializable, Cloneable, StructuredPojo {
+
+ private SpekeKeyProvider spekeKeyProvider;
+
+ /**
+ * @param spekeKeyProvider
+ */
+
+ public void setSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider) {
+ this.spekeKeyProvider = spekeKeyProvider;
+ }
+
+ /**
+ * @return
+ */
+
+ public SpekeKeyProvider getSpekeKeyProvider() {
+ return this.spekeKeyProvider;
+ }
+
+ /**
+ * @param spekeKeyProvider
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public MssEncryption withSpekeKeyProvider(SpekeKeyProvider spekeKeyProvider) {
+ setSpekeKeyProvider(spekeKeyProvider);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getSpekeKeyProvider() != null)
+ sb.append("SpekeKeyProvider: ").append(getSpekeKeyProvider());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof MssEncryption == false)
+ return false;
+ MssEncryption other = (MssEncryption) obj;
+ if (other.getSpekeKeyProvider() == null ^ this.getSpekeKeyProvider() == null)
+ return false;
+ if (other.getSpekeKeyProvider() != null && other.getSpekeKeyProvider().equals(this.getSpekeKeyProvider()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getSpekeKeyProvider() == null) ? 0 : getSpekeKeyProvider().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public MssEncryption clone() {
+ try {
+ return (MssEncryption) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.MssEncryptionMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/MssManifest.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/MssManifest.java
new file mode 100644
index 000000000000..7e5e3b3b9e3d
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/MssManifest.java
@@ -0,0 +1,159 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * A Microsoft Smooth Streaming (MSS) manifest configuration.
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class MssManifest implements Serializable, Cloneable, StructuredPojo {
+
+ /** An optional string to include in the name of the manifest. */
+ private String manifestName;
+
+ private StreamSelection streamSelection;
+
+ /**
+ * An optional string to include in the name of the manifest.
+ *
+ * @param manifestName
+ * An optional string to include in the name of the manifest.
+ */
+
+ public void setManifestName(String manifestName) {
+ this.manifestName = manifestName;
+ }
+
+ /**
+ * An optional string to include in the name of the manifest.
+ *
+ * @return An optional string to include in the name of the manifest.
+ */
+
+ public String getManifestName() {
+ return this.manifestName;
+ }
+
+ /**
+ * An optional string to include in the name of the manifest.
+ *
+ * @param manifestName
+ * An optional string to include in the name of the manifest.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public MssManifest withManifestName(String manifestName) {
+ setManifestName(manifestName);
+ return this;
+ }
+
+ /**
+ * @param streamSelection
+ */
+
+ public void setStreamSelection(StreamSelection streamSelection) {
+ this.streamSelection = streamSelection;
+ }
+
+ /**
+ * @return
+ */
+
+ public StreamSelection getStreamSelection() {
+ return this.streamSelection;
+ }
+
+ /**
+ * @param streamSelection
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public MssManifest withStreamSelection(StreamSelection streamSelection) {
+ setStreamSelection(streamSelection);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getManifestName() != null)
+ sb.append("ManifestName: ").append(getManifestName()).append(",");
+ if (getStreamSelection() != null)
+ sb.append("StreamSelection: ").append(getStreamSelection());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof MssManifest == false)
+ return false;
+ MssManifest other = (MssManifest) obj;
+ if (other.getManifestName() == null ^ this.getManifestName() == null)
+ return false;
+ if (other.getManifestName() != null && other.getManifestName().equals(this.getManifestName()) == false)
+ return false;
+ if (other.getStreamSelection() == null ^ this.getStreamSelection() == null)
+ return false;
+ if (other.getStreamSelection() != null && other.getStreamSelection().equals(this.getStreamSelection()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getManifestName() == null) ? 0 : getManifestName().hashCode());
+ hashCode = prime * hashCode + ((getStreamSelection() == null) ? 0 : getStreamSelection().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public MssManifest clone() {
+ try {
+ return (MssManifest) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.MssManifestMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/MssPackage.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/MssPackage.java
new file mode 100644
index 000000000000..00d2b4b9f8d6
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/MssPackage.java
@@ -0,0 +1,229 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * A Microsoft Smooth Streaming (MSS) PackagingConfiguration.
+ *
+ * @see AWS API
+ * Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class MssPackage implements Serializable, Cloneable, StructuredPojo {
+
+ private MssEncryption encryption;
+ /** A list of MSS manifest configurations. */
+ private java.util.List mssManifests;
+ /** The duration (in seconds) of each segment. */
+ private Integer segmentDurationSeconds;
+
+ /**
+ * @param encryption
+ */
+
+ public void setEncryption(MssEncryption encryption) {
+ this.encryption = encryption;
+ }
+
+ /**
+ * @return
+ */
+
+ public MssEncryption getEncryption() {
+ return this.encryption;
+ }
+
+ /**
+ * @param encryption
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public MssPackage withEncryption(MssEncryption encryption) {
+ setEncryption(encryption);
+ return this;
+ }
+
+ /**
+ * A list of MSS manifest configurations.
+ *
+ * @return A list of MSS manifest configurations.
+ */
+
+ public java.util.List getMssManifests() {
+ return mssManifests;
+ }
+
+ /**
+ * A list of MSS manifest configurations.
+ *
+ * @param mssManifests
+ * A list of MSS manifest configurations.
+ */
+
+ public void setMssManifests(java.util.Collection mssManifests) {
+ if (mssManifests == null) {
+ this.mssManifests = null;
+ return;
+ }
+
+ this.mssManifests = new java.util.ArrayList(mssManifests);
+ }
+
+ /**
+ * A list of MSS manifest configurations.
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setMssManifests(java.util.Collection)} or {@link #withMssManifests(java.util.Collection)} if you want to
+ * override the existing values.
+ *
+ *
+ * @param mssManifests
+ * A list of MSS manifest configurations.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public MssPackage withMssManifests(MssManifest... mssManifests) {
+ if (this.mssManifests == null) {
+ setMssManifests(new java.util.ArrayList(mssManifests.length));
+ }
+ for (MssManifest ele : mssManifests) {
+ this.mssManifests.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * A list of MSS manifest configurations.
+ *
+ * @param mssManifests
+ * A list of MSS manifest configurations.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public MssPackage withMssManifests(java.util.Collection mssManifests) {
+ setMssManifests(mssManifests);
+ return this;
+ }
+
+ /**
+ * The duration (in seconds) of each segment.
+ *
+ * @param segmentDurationSeconds
+ * The duration (in seconds) of each segment.
+ */
+
+ public void setSegmentDurationSeconds(Integer segmentDurationSeconds) {
+ this.segmentDurationSeconds = segmentDurationSeconds;
+ }
+
+ /**
+ * The duration (in seconds) of each segment.
+ *
+ * @return The duration (in seconds) of each segment.
+ */
+
+ public Integer getSegmentDurationSeconds() {
+ return this.segmentDurationSeconds;
+ }
+
+ /**
+ * The duration (in seconds) of each segment.
+ *
+ * @param segmentDurationSeconds
+ * The duration (in seconds) of each segment.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public MssPackage withSegmentDurationSeconds(Integer segmentDurationSeconds) {
+ setSegmentDurationSeconds(segmentDurationSeconds);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getEncryption() != null)
+ sb.append("Encryption: ").append(getEncryption()).append(",");
+ if (getMssManifests() != null)
+ sb.append("MssManifests: ").append(getMssManifests()).append(",");
+ if (getSegmentDurationSeconds() != null)
+ sb.append("SegmentDurationSeconds: ").append(getSegmentDurationSeconds());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof MssPackage == false)
+ return false;
+ MssPackage other = (MssPackage) obj;
+ if (other.getEncryption() == null ^ this.getEncryption() == null)
+ return false;
+ if (other.getEncryption() != null && other.getEncryption().equals(this.getEncryption()) == false)
+ return false;
+ if (other.getMssManifests() == null ^ this.getMssManifests() == null)
+ return false;
+ if (other.getMssManifests() != null && other.getMssManifests().equals(this.getMssManifests()) == false)
+ return false;
+ if (other.getSegmentDurationSeconds() == null ^ this.getSegmentDurationSeconds() == null)
+ return false;
+ if (other.getSegmentDurationSeconds() != null && other.getSegmentDurationSeconds().equals(this.getSegmentDurationSeconds()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getEncryption() == null) ? 0 : getEncryption().hashCode());
+ hashCode = prime * hashCode + ((getMssManifests() == null) ? 0 : getMssManifests().hashCode());
+ hashCode = prime * hashCode + ((getSegmentDurationSeconds() == null) ? 0 : getSegmentDurationSeconds().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public MssPackage clone() {
+ try {
+ return (MssPackage) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.MssPackageMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/NotFoundException.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/NotFoundException.java
new file mode 100644
index 000000000000..0f98367e72dd
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/NotFoundException.java
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import javax.annotation.Generated;
+
+/**
+ * The requested resource does not exist.
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class NotFoundException extends com.amazonaws.services.mediapackagevod.model.AWSMediaPackageVodException {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Constructs a new NotFoundException with the specified error message.
+ *
+ * @param message
+ * Describes the error encountered.
+ */
+ public NotFoundException(String message) {
+ super(message);
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/PackagingConfiguration.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/PackagingConfiguration.java
new file mode 100644
index 000000000000..531778aa627c
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/PackagingConfiguration.java
@@ -0,0 +1,350 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * A MediaPackage VOD PackagingConfiguration resource.
+ *
+ * @see AWS API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class PackagingConfiguration implements Serializable, Cloneable, StructuredPojo {
+
+ /** The ARN of the PackagingConfiguration. */
+ private String arn;
+
+ private CmafPackage cmafPackage;
+
+ private DashPackage dashPackage;
+
+ private HlsPackage hlsPackage;
+ /** The ID of the PackagingConfiguration. */
+ private String id;
+
+ private MssPackage mssPackage;
+ /** The ID of a PackagingGroup. */
+ private String packagingGroupId;
+
+ /**
+ * The ARN of the PackagingConfiguration.
+ *
+ * @param arn
+ * The ARN of the PackagingConfiguration.
+ */
+
+ public void setArn(String arn) {
+ this.arn = arn;
+ }
+
+ /**
+ * The ARN of the PackagingConfiguration.
+ *
+ * @return The ARN of the PackagingConfiguration.
+ */
+
+ public String getArn() {
+ return this.arn;
+ }
+
+ /**
+ * The ARN of the PackagingConfiguration.
+ *
+ * @param arn
+ * The ARN of the PackagingConfiguration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public PackagingConfiguration withArn(String arn) {
+ setArn(arn);
+ return this;
+ }
+
+ /**
+ * @param cmafPackage
+ */
+
+ public void setCmafPackage(CmafPackage cmafPackage) {
+ this.cmafPackage = cmafPackage;
+ }
+
+ /**
+ * @return
+ */
+
+ public CmafPackage getCmafPackage() {
+ return this.cmafPackage;
+ }
+
+ /**
+ * @param cmafPackage
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public PackagingConfiguration withCmafPackage(CmafPackage cmafPackage) {
+ setCmafPackage(cmafPackage);
+ return this;
+ }
+
+ /**
+ * @param dashPackage
+ */
+
+ public void setDashPackage(DashPackage dashPackage) {
+ this.dashPackage = dashPackage;
+ }
+
+ /**
+ * @return
+ */
+
+ public DashPackage getDashPackage() {
+ return this.dashPackage;
+ }
+
+ /**
+ * @param dashPackage
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public PackagingConfiguration withDashPackage(DashPackage dashPackage) {
+ setDashPackage(dashPackage);
+ return this;
+ }
+
+ /**
+ * @param hlsPackage
+ */
+
+ public void setHlsPackage(HlsPackage hlsPackage) {
+ this.hlsPackage = hlsPackage;
+ }
+
+ /**
+ * @return
+ */
+
+ public HlsPackage getHlsPackage() {
+ return this.hlsPackage;
+ }
+
+ /**
+ * @param hlsPackage
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public PackagingConfiguration withHlsPackage(HlsPackage hlsPackage) {
+ setHlsPackage(hlsPackage);
+ return this;
+ }
+
+ /**
+ * The ID of the PackagingConfiguration.
+ *
+ * @param id
+ * The ID of the PackagingConfiguration.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The ID of the PackagingConfiguration.
+ *
+ * @return The ID of the PackagingConfiguration.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The ID of the PackagingConfiguration.
+ *
+ * @param id
+ * The ID of the PackagingConfiguration.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public PackagingConfiguration withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * @param mssPackage
+ */
+
+ public void setMssPackage(MssPackage mssPackage) {
+ this.mssPackage = mssPackage;
+ }
+
+ /**
+ * @return
+ */
+
+ public MssPackage getMssPackage() {
+ return this.mssPackage;
+ }
+
+ /**
+ * @param mssPackage
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public PackagingConfiguration withMssPackage(MssPackage mssPackage) {
+ setMssPackage(mssPackage);
+ return this;
+ }
+
+ /**
+ * The ID of a PackagingGroup.
+ *
+ * @param packagingGroupId
+ * The ID of a PackagingGroup.
+ */
+
+ public void setPackagingGroupId(String packagingGroupId) {
+ this.packagingGroupId = packagingGroupId;
+ }
+
+ /**
+ * The ID of a PackagingGroup.
+ *
+ * @return The ID of a PackagingGroup.
+ */
+
+ public String getPackagingGroupId() {
+ return this.packagingGroupId;
+ }
+
+ /**
+ * The ID of a PackagingGroup.
+ *
+ * @param packagingGroupId
+ * The ID of a PackagingGroup.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public PackagingConfiguration withPackagingGroupId(String packagingGroupId) {
+ setPackagingGroupId(packagingGroupId);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getArn() != null)
+ sb.append("Arn: ").append(getArn()).append(",");
+ if (getCmafPackage() != null)
+ sb.append("CmafPackage: ").append(getCmafPackage()).append(",");
+ if (getDashPackage() != null)
+ sb.append("DashPackage: ").append(getDashPackage()).append(",");
+ if (getHlsPackage() != null)
+ sb.append("HlsPackage: ").append(getHlsPackage()).append(",");
+ if (getId() != null)
+ sb.append("Id: ").append(getId()).append(",");
+ if (getMssPackage() != null)
+ sb.append("MssPackage: ").append(getMssPackage()).append(",");
+ if (getPackagingGroupId() != null)
+ sb.append("PackagingGroupId: ").append(getPackagingGroupId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof PackagingConfiguration == false)
+ return false;
+ PackagingConfiguration other = (PackagingConfiguration) obj;
+ if (other.getArn() == null ^ this.getArn() == null)
+ return false;
+ if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
+ return false;
+ if (other.getCmafPackage() == null ^ this.getCmafPackage() == null)
+ return false;
+ if (other.getCmafPackage() != null && other.getCmafPackage().equals(this.getCmafPackage()) == false)
+ return false;
+ if (other.getDashPackage() == null ^ this.getDashPackage() == null)
+ return false;
+ if (other.getDashPackage() != null && other.getDashPackage().equals(this.getDashPackage()) == false)
+ return false;
+ if (other.getHlsPackage() == null ^ this.getHlsPackage() == null)
+ return false;
+ if (other.getHlsPackage() != null && other.getHlsPackage().equals(this.getHlsPackage()) == false)
+ return false;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ if (other.getMssPackage() == null ^ this.getMssPackage() == null)
+ return false;
+ if (other.getMssPackage() != null && other.getMssPackage().equals(this.getMssPackage()) == false)
+ return false;
+ if (other.getPackagingGroupId() == null ^ this.getPackagingGroupId() == null)
+ return false;
+ if (other.getPackagingGroupId() != null && other.getPackagingGroupId().equals(this.getPackagingGroupId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
+ hashCode = prime * hashCode + ((getCmafPackage() == null) ? 0 : getCmafPackage().hashCode());
+ hashCode = prime * hashCode + ((getDashPackage() == null) ? 0 : getDashPackage().hashCode());
+ hashCode = prime * hashCode + ((getHlsPackage() == null) ? 0 : getHlsPackage().hashCode());
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ hashCode = prime * hashCode + ((getMssPackage() == null) ? 0 : getMssPackage().hashCode());
+ hashCode = prime * hashCode + ((getPackagingGroupId() == null) ? 0 : getPackagingGroupId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public PackagingConfiguration clone() {
+ try {
+ return (PackagingConfiguration) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.PackagingConfigurationMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/PackagingGroup.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/PackagingGroup.java
new file mode 100644
index 000000000000..5b01805058b0
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/PackagingGroup.java
@@ -0,0 +1,167 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * A MediaPackage VOD PackagingGroup resource.
+ *
+ * @see AWS
+ * API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class PackagingGroup implements Serializable, Cloneable, StructuredPojo {
+
+ /** The ARN of the PackagingGroup. */
+ private String arn;
+ /** The ID of the PackagingGroup. */
+ private String id;
+
+ /**
+ * The ARN of the PackagingGroup.
+ *
+ * @param arn
+ * The ARN of the PackagingGroup.
+ */
+
+ public void setArn(String arn) {
+ this.arn = arn;
+ }
+
+ /**
+ * The ARN of the PackagingGroup.
+ *
+ * @return The ARN of the PackagingGroup.
+ */
+
+ public String getArn() {
+ return this.arn;
+ }
+
+ /**
+ * The ARN of the PackagingGroup.
+ *
+ * @param arn
+ * The ARN of the PackagingGroup.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public PackagingGroup withArn(String arn) {
+ setArn(arn);
+ return this;
+ }
+
+ /**
+ * The ID of the PackagingGroup.
+ *
+ * @param id
+ * The ID of the PackagingGroup.
+ */
+
+ public void setId(String id) {
+ this.id = id;
+ }
+
+ /**
+ * The ID of the PackagingGroup.
+ *
+ * @return The ID of the PackagingGroup.
+ */
+
+ public String getId() {
+ return this.id;
+ }
+
+ /**
+ * The ID of the PackagingGroup.
+ *
+ * @param id
+ * The ID of the PackagingGroup.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public PackagingGroup withId(String id) {
+ setId(id);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getArn() != null)
+ sb.append("Arn: ").append(getArn()).append(",");
+ if (getId() != null)
+ sb.append("Id: ").append(getId());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof PackagingGroup == false)
+ return false;
+ PackagingGroup other = (PackagingGroup) obj;
+ if (other.getArn() == null ^ this.getArn() == null)
+ return false;
+ if (other.getArn() != null && other.getArn().equals(this.getArn()) == false)
+ return false;
+ if (other.getId() == null ^ this.getId() == null)
+ return false;
+ if (other.getId() != null && other.getId().equals(this.getId()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode());
+ hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public PackagingGroup clone() {
+ try {
+ return (PackagingGroup) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.PackagingGroupMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/Profile.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/Profile.java
new file mode 100644
index 000000000000..07a776e7354a
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/Profile.java
@@ -0,0 +1,60 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import javax.annotation.Generated;
+
+/**
+ *
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public enum Profile {
+
+ NONE("NONE"),
+ HBBTV_1_5("HBBTV_1_5");
+
+ private String value;
+
+ private Profile(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String toString() {
+ return this.value;
+ }
+
+ /**
+ * Use this in place of valueOf.
+ *
+ * @param value
+ * real value
+ * @return Profile corresponding to the value
+ *
+ * @throws IllegalArgumentException
+ * If the specified value does not map to one of the known values in this enum.
+ */
+ public static Profile fromValue(String value) {
+ if (value == null || "".equals(value)) {
+ throw new IllegalArgumentException("Value cannot be null or empty!");
+ }
+
+ for (Profile enumEntry : Profile.values()) {
+ if (enumEntry.toString().equals(value)) {
+ return enumEntry;
+ }
+ }
+
+ throw new IllegalArgumentException("Cannot create enum from " + value + " value!");
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ServiceUnavailableException.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ServiceUnavailableException.java
new file mode 100644
index 000000000000..1bc229778ada
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/ServiceUnavailableException.java
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import javax.annotation.Generated;
+
+/**
+ * An unexpected error occurred.
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class ServiceUnavailableException extends com.amazonaws.services.mediapackagevod.model.AWSMediaPackageVodException {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Constructs a new ServiceUnavailableException with the specified error message.
+ *
+ * @param message
+ * Describes the error encountered.
+ */
+ public ServiceUnavailableException(String message) {
+ super(message);
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/SpekeKeyProvider.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/SpekeKeyProvider.java
new file mode 100644
index 000000000000..074a64f92daf
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/SpekeKeyProvider.java
@@ -0,0 +1,248 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * A configuration for accessing an external Secure Packager and Encoder Key Exchange (SPEKE) service that will provide
+ * encryption keys.
+ *
+ * @see AWS
+ * API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class SpekeKeyProvider implements Serializable, Cloneable, StructuredPojo {
+
+ /**
+ * An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key
+ * provider service.
+ */
+ private String roleArn;
+ /** The system IDs to include in key requests. */
+ private java.util.List systemIds;
+ /** The URL of the external key provider service. */
+ private String url;
+
+ /**
+ * An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key
+ * provider service.
+ *
+ * @param roleArn
+ * An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing
+ * the key provider service.
+ */
+
+ public void setRoleArn(String roleArn) {
+ this.roleArn = roleArn;
+ }
+
+ /**
+ * An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key
+ * provider service.
+ *
+ * @return An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing
+ * the key provider service.
+ */
+
+ public String getRoleArn() {
+ return this.roleArn;
+ }
+
+ /**
+ * An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing the key
+ * provider service.
+ *
+ * @param roleArn
+ * An Amazon Resource Name (ARN) of an IAM role that AWS Elemental MediaPackage will assume when accessing
+ * the key provider service.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public SpekeKeyProvider withRoleArn(String roleArn) {
+ setRoleArn(roleArn);
+ return this;
+ }
+
+ /**
+ * The system IDs to include in key requests.
+ *
+ * @return The system IDs to include in key requests.
+ */
+
+ public java.util.List getSystemIds() {
+ return systemIds;
+ }
+
+ /**
+ * The system IDs to include in key requests.
+ *
+ * @param systemIds
+ * The system IDs to include in key requests.
+ */
+
+ public void setSystemIds(java.util.Collection systemIds) {
+ if (systemIds == null) {
+ this.systemIds = null;
+ return;
+ }
+
+ this.systemIds = new java.util.ArrayList(systemIds);
+ }
+
+ /**
+ * The system IDs to include in key requests.
+ *
+ * NOTE: This method appends the values to the existing list (if any). Use
+ * {@link #setSystemIds(java.util.Collection)} or {@link #withSystemIds(java.util.Collection)} if you want to
+ * override the existing values.
+ *
+ *
+ * @param systemIds
+ * The system IDs to include in key requests.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public SpekeKeyProvider withSystemIds(String... systemIds) {
+ if (this.systemIds == null) {
+ setSystemIds(new java.util.ArrayList(systemIds.length));
+ }
+ for (String ele : systemIds) {
+ this.systemIds.add(ele);
+ }
+ return this;
+ }
+
+ /**
+ * The system IDs to include in key requests.
+ *
+ * @param systemIds
+ * The system IDs to include in key requests.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public SpekeKeyProvider withSystemIds(java.util.Collection systemIds) {
+ setSystemIds(systemIds);
+ return this;
+ }
+
+ /**
+ * The URL of the external key provider service.
+ *
+ * @param url
+ * The URL of the external key provider service.
+ */
+
+ public void setUrl(String url) {
+ this.url = url;
+ }
+
+ /**
+ * The URL of the external key provider service.
+ *
+ * @return The URL of the external key provider service.
+ */
+
+ public String getUrl() {
+ return this.url;
+ }
+
+ /**
+ * The URL of the external key provider service.
+ *
+ * @param url
+ * The URL of the external key provider service.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public SpekeKeyProvider withUrl(String url) {
+ setUrl(url);
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getRoleArn() != null)
+ sb.append("RoleArn: ").append(getRoleArn()).append(",");
+ if (getSystemIds() != null)
+ sb.append("SystemIds: ").append(getSystemIds()).append(",");
+ if (getUrl() != null)
+ sb.append("Url: ").append(getUrl());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof SpekeKeyProvider == false)
+ return false;
+ SpekeKeyProvider other = (SpekeKeyProvider) obj;
+ if (other.getRoleArn() == null ^ this.getRoleArn() == null)
+ return false;
+ if (other.getRoleArn() != null && other.getRoleArn().equals(this.getRoleArn()) == false)
+ return false;
+ if (other.getSystemIds() == null ^ this.getSystemIds() == null)
+ return false;
+ if (other.getSystemIds() != null && other.getSystemIds().equals(this.getSystemIds()) == false)
+ return false;
+ if (other.getUrl() == null ^ this.getUrl() == null)
+ return false;
+ if (other.getUrl() != null && other.getUrl().equals(this.getUrl()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getRoleArn() == null) ? 0 : getRoleArn().hashCode());
+ hashCode = prime * hashCode + ((getSystemIds() == null) ? 0 : getSystemIds().hashCode());
+ hashCode = prime * hashCode + ((getUrl() == null) ? 0 : getUrl().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public SpekeKeyProvider clone() {
+ try {
+ return (SpekeKeyProvider) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.SpekeKeyProviderMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/StreamOrder.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/StreamOrder.java
new file mode 100644
index 000000000000..b0598b3f6d8e
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/StreamOrder.java
@@ -0,0 +1,61 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import javax.annotation.Generated;
+
+/**
+ *
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public enum StreamOrder {
+
+ ORIGINAL("ORIGINAL"),
+ VIDEO_BITRATE_ASCENDING("VIDEO_BITRATE_ASCENDING"),
+ VIDEO_BITRATE_DESCENDING("VIDEO_BITRATE_DESCENDING");
+
+ private String value;
+
+ private StreamOrder(String value) {
+ this.value = value;
+ }
+
+ @Override
+ public String toString() {
+ return this.value;
+ }
+
+ /**
+ * Use this in place of valueOf.
+ *
+ * @param value
+ * real value
+ * @return StreamOrder corresponding to the value
+ *
+ * @throws IllegalArgumentException
+ * If the specified value does not map to one of the known values in this enum.
+ */
+ public static StreamOrder fromValue(String value) {
+ if (value == null || "".equals(value)) {
+ throw new IllegalArgumentException("Value cannot be null or empty!");
+ }
+
+ for (StreamOrder enumEntry : StreamOrder.values()) {
+ if (enumEntry.toString().equals(value)) {
+ return enumEntry;
+ }
+ }
+
+ throw new IllegalArgumentException("Cannot create enum from " + value + " value!");
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/StreamSelection.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/StreamSelection.java
new file mode 100644
index 000000000000..5756673df611
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/StreamSelection.java
@@ -0,0 +1,227 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import java.io.Serializable;
+import javax.annotation.Generated;
+import com.amazonaws.protocol.StructuredPojo;
+import com.amazonaws.protocol.ProtocolMarshaller;
+
+/**
+ * A StreamSelection configuration.
+ *
+ * @see AWS
+ * API Documentation
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class StreamSelection implements Serializable, Cloneable, StructuredPojo {
+
+ /** The maximum video bitrate (bps) to include in output. */
+ private Integer maxVideoBitsPerSecond;
+ /** The minimum video bitrate (bps) to include in output. */
+ private Integer minVideoBitsPerSecond;
+ /** A directive that determines the order of streams in the output. */
+ private String streamOrder;
+
+ /**
+ * The maximum video bitrate (bps) to include in output.
+ *
+ * @param maxVideoBitsPerSecond
+ * The maximum video bitrate (bps) to include in output.
+ */
+
+ public void setMaxVideoBitsPerSecond(Integer maxVideoBitsPerSecond) {
+ this.maxVideoBitsPerSecond = maxVideoBitsPerSecond;
+ }
+
+ /**
+ * The maximum video bitrate (bps) to include in output.
+ *
+ * @return The maximum video bitrate (bps) to include in output.
+ */
+
+ public Integer getMaxVideoBitsPerSecond() {
+ return this.maxVideoBitsPerSecond;
+ }
+
+ /**
+ * The maximum video bitrate (bps) to include in output.
+ *
+ * @param maxVideoBitsPerSecond
+ * The maximum video bitrate (bps) to include in output.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public StreamSelection withMaxVideoBitsPerSecond(Integer maxVideoBitsPerSecond) {
+ setMaxVideoBitsPerSecond(maxVideoBitsPerSecond);
+ return this;
+ }
+
+ /**
+ * The minimum video bitrate (bps) to include in output.
+ *
+ * @param minVideoBitsPerSecond
+ * The minimum video bitrate (bps) to include in output.
+ */
+
+ public void setMinVideoBitsPerSecond(Integer minVideoBitsPerSecond) {
+ this.minVideoBitsPerSecond = minVideoBitsPerSecond;
+ }
+
+ /**
+ * The minimum video bitrate (bps) to include in output.
+ *
+ * @return The minimum video bitrate (bps) to include in output.
+ */
+
+ public Integer getMinVideoBitsPerSecond() {
+ return this.minVideoBitsPerSecond;
+ }
+
+ /**
+ * The minimum video bitrate (bps) to include in output.
+ *
+ * @param minVideoBitsPerSecond
+ * The minimum video bitrate (bps) to include in output.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ */
+
+ public StreamSelection withMinVideoBitsPerSecond(Integer minVideoBitsPerSecond) {
+ setMinVideoBitsPerSecond(minVideoBitsPerSecond);
+ return this;
+ }
+
+ /**
+ * A directive that determines the order of streams in the output.
+ *
+ * @param streamOrder
+ * A directive that determines the order of streams in the output.
+ * @see StreamOrder
+ */
+
+ public void setStreamOrder(String streamOrder) {
+ this.streamOrder = streamOrder;
+ }
+
+ /**
+ * A directive that determines the order of streams in the output.
+ *
+ * @return A directive that determines the order of streams in the output.
+ * @see StreamOrder
+ */
+
+ public String getStreamOrder() {
+ return this.streamOrder;
+ }
+
+ /**
+ * A directive that determines the order of streams in the output.
+ *
+ * @param streamOrder
+ * A directive that determines the order of streams in the output.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see StreamOrder
+ */
+
+ public StreamSelection withStreamOrder(String streamOrder) {
+ setStreamOrder(streamOrder);
+ return this;
+ }
+
+ /**
+ * A directive that determines the order of streams in the output.
+ *
+ * @param streamOrder
+ * A directive that determines the order of streams in the output.
+ * @return Returns a reference to this object so that method calls can be chained together.
+ * @see StreamOrder
+ */
+
+ public StreamSelection withStreamOrder(StreamOrder streamOrder) {
+ this.streamOrder = streamOrder.toString();
+ return this;
+ }
+
+ /**
+ * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
+ * redacted from this string using a placeholder value.
+ *
+ * @return A string representation of this object.
+ *
+ * @see java.lang.Object#toString()
+ */
+ @Override
+ public String toString() {
+ StringBuilder sb = new StringBuilder();
+ sb.append("{");
+ if (getMaxVideoBitsPerSecond() != null)
+ sb.append("MaxVideoBitsPerSecond: ").append(getMaxVideoBitsPerSecond()).append(",");
+ if (getMinVideoBitsPerSecond() != null)
+ sb.append("MinVideoBitsPerSecond: ").append(getMinVideoBitsPerSecond()).append(",");
+ if (getStreamOrder() != null)
+ sb.append("StreamOrder: ").append(getStreamOrder());
+ sb.append("}");
+ return sb.toString();
+ }
+
+ @Override
+ public boolean equals(Object obj) {
+ if (this == obj)
+ return true;
+ if (obj == null)
+ return false;
+
+ if (obj instanceof StreamSelection == false)
+ return false;
+ StreamSelection other = (StreamSelection) obj;
+ if (other.getMaxVideoBitsPerSecond() == null ^ this.getMaxVideoBitsPerSecond() == null)
+ return false;
+ if (other.getMaxVideoBitsPerSecond() != null && other.getMaxVideoBitsPerSecond().equals(this.getMaxVideoBitsPerSecond()) == false)
+ return false;
+ if (other.getMinVideoBitsPerSecond() == null ^ this.getMinVideoBitsPerSecond() == null)
+ return false;
+ if (other.getMinVideoBitsPerSecond() != null && other.getMinVideoBitsPerSecond().equals(this.getMinVideoBitsPerSecond()) == false)
+ return false;
+ if (other.getStreamOrder() == null ^ this.getStreamOrder() == null)
+ return false;
+ if (other.getStreamOrder() != null && other.getStreamOrder().equals(this.getStreamOrder()) == false)
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ final int prime = 31;
+ int hashCode = 1;
+
+ hashCode = prime * hashCode + ((getMaxVideoBitsPerSecond() == null) ? 0 : getMaxVideoBitsPerSecond().hashCode());
+ hashCode = prime * hashCode + ((getMinVideoBitsPerSecond() == null) ? 0 : getMinVideoBitsPerSecond().hashCode());
+ hashCode = prime * hashCode + ((getStreamOrder() == null) ? 0 : getStreamOrder().hashCode());
+ return hashCode;
+ }
+
+ @Override
+ public StreamSelection clone() {
+ try {
+ return (StreamSelection) super.clone();
+ } catch (CloneNotSupportedException e) {
+ throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
+ }
+ }
+
+ @com.amazonaws.annotation.SdkInternalApi
+ @Override
+ public void marshall(ProtocolMarshaller protocolMarshaller) {
+ com.amazonaws.services.mediapackagevod.model.transform.StreamSelectionMarshaller.getInstance().marshall(this, protocolMarshaller);
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/TooManyRequestsException.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/TooManyRequestsException.java
new file mode 100644
index 000000000000..d3f86282abde
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/TooManyRequestsException.java
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import javax.annotation.Generated;
+
+/**
+ * The client has exceeded their resource or throttling limits.
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class TooManyRequestsException extends com.amazonaws.services.mediapackagevod.model.AWSMediaPackageVodException {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Constructs a new TooManyRequestsException with the specified error message.
+ *
+ * @param message
+ * Describes the error encountered.
+ */
+ public TooManyRequestsException(String message) {
+ super(message);
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/UnprocessableEntityException.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/UnprocessableEntityException.java
new file mode 100644
index 000000000000..de9ff654968e
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/UnprocessableEntityException.java
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model;
+
+import javax.annotation.Generated;
+
+/**
+ * The parameters sent in the request are not valid.
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class UnprocessableEntityException extends com.amazonaws.services.mediapackagevod.model.AWSMediaPackageVodException {
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Constructs a new UnprocessableEntityException with the specified error message.
+ *
+ * @param message
+ * Describes the error encountered.
+ */
+ public UnprocessableEntityException(String message) {
+ super(message);
+ }
+
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/transform/AssetShallowJsonUnmarshaller.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/transform/AssetShallowJsonUnmarshaller.java
new file mode 100644
index 000000000000..83ff13064caf
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/transform/AssetShallowJsonUnmarshaller.java
@@ -0,0 +1,94 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model.transform;
+
+import java.math.*;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.services.mediapackagevod.model.*;
+import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
+import com.amazonaws.transform.*;
+
+import com.fasterxml.jackson.core.JsonToken;
+import static com.fasterxml.jackson.core.JsonToken.*;
+
+/**
+ * AssetShallow JSON Unmarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+public class AssetShallowJsonUnmarshaller implements Unmarshaller {
+
+ public AssetShallow unmarshall(JsonUnmarshallerContext context) throws Exception {
+ AssetShallow assetShallow = new AssetShallow();
+
+ int originalDepth = context.getCurrentDepth();
+ String currentParentElement = context.getCurrentParentElement();
+ int targetDepth = originalDepth + 1;
+
+ JsonToken token = context.getCurrentToken();
+ if (token == null)
+ token = context.nextToken();
+ if (token == VALUE_NULL) {
+ return null;
+ }
+
+ while (true) {
+ if (token == null)
+ break;
+
+ if (token == FIELD_NAME || token == START_OBJECT) {
+ if (context.testExpression("arn", targetDepth)) {
+ context.nextToken();
+ assetShallow.setArn(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ if (context.testExpression("id", targetDepth)) {
+ context.nextToken();
+ assetShallow.setId(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ if (context.testExpression("packagingGroupId", targetDepth)) {
+ context.nextToken();
+ assetShallow.setPackagingGroupId(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ if (context.testExpression("resourceId", targetDepth)) {
+ context.nextToken();
+ assetShallow.setResourceId(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ if (context.testExpression("sourceArn", targetDepth)) {
+ context.nextToken();
+ assetShallow.setSourceArn(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ if (context.testExpression("sourceRoleArn", targetDepth)) {
+ context.nextToken();
+ assetShallow.setSourceRoleArn(context.getUnmarshaller(String.class).unmarshall(context));
+ }
+ } else if (token == END_ARRAY || token == END_OBJECT) {
+ if (context.getLastParsedParentElement() == null || context.getLastParsedParentElement().equals(currentParentElement)) {
+ if (context.getCurrentDepth() <= originalDepth)
+ break;
+ }
+ }
+ token = context.nextToken();
+ }
+
+ return assetShallow;
+ }
+
+ private static AssetShallowJsonUnmarshaller instance;
+
+ public static AssetShallowJsonUnmarshaller getInstance() {
+ if (instance == null)
+ instance = new AssetShallowJsonUnmarshaller();
+ return instance;
+ }
+}
diff --git a/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/transform/AssetShallowMarshaller.java b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/transform/AssetShallowMarshaller.java
new file mode 100644
index 000000000000..c7921d86c936
--- /dev/null
+++ b/aws-java-sdk-mediapackagevod/src/main/java/com/amazonaws/services/mediapackagevod/model/transform/AssetShallowMarshaller.java
@@ -0,0 +1,70 @@
+/*
+ * Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
+ * the License. A copy of the License is located at
+ *
+ * http://aws.amazon.com/apache2.0
+ *
+ * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
+ * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ */
+package com.amazonaws.services.mediapackagevod.model.transform;
+
+import javax.annotation.Generated;
+
+import com.amazonaws.SdkClientException;
+import com.amazonaws.services.mediapackagevod.model.*;
+
+import com.amazonaws.protocol.*;
+import com.amazonaws.annotation.SdkInternalApi;
+
+/**
+ * AssetShallowMarshaller
+ */
+@Generated("com.amazonaws:aws-java-sdk-code-generator")
+@SdkInternalApi
+public class AssetShallowMarshaller {
+
+ private static final MarshallingInfo ARN_BINDING = MarshallingInfo.builder(MarshallingType.STRING).marshallLocation(MarshallLocation.PAYLOAD)
+ .marshallLocationName("arn").build();
+ private static final MarshallingInfo