Class AwsSmokeTestModel
java.lang.Object
software.amazon.smithy.aws.smoketests.model.AwsSmokeTestModel
Provides methods for interfacing with Java representations of the different
kinds of vendor params shapes used in smoke tests for AWS services.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<AwsVendorParams>getAwsVendorParams(SmokeTestCase forTestCase) Gets the vendor params for the givenforTestCaseasAwsVendorParams.static Optional<S3VendorParams>getS3VendorParams(SmokeTestCase forTestCase) Gets the vendor params for the givenforTestCaseasS3VendorParams.static booleanhasAwsVendorParams(SmokeTestCase testCase) static booleanhasS3VendorParams(SmokeTestCase testCase)
-
Method Details
-
hasAwsVendorParams
- Parameters:
testCase- The test case to check.- Returns:
trueif thetestCase'sSmokeTestCase.getVendorParams()areAwsVendorParams.
-
hasS3VendorParams
- Parameters:
testCase- The test case to check.- Returns:
trueif thetestCase'sSmokeTestCase.getVendorParams()areS3VendorParams.
-
getAwsVendorParams
Gets the vendor params for the givenforTestCaseasAwsVendorParams.The vendor params will be present if
hasAwsVendorParams(SmokeTestCase)wastruefor the givenforTestCase.- Parameters:
forTestCase- The test case to get vendor params for.- Returns:
- The optionally present vendor params as
S3VendorParams.
-
getS3VendorParams
Gets the vendor params for the givenforTestCaseasS3VendorParams.The vendor params will be present if
hasS3VendorParams(SmokeTestCase)wastruefor the givenforTestCase.- Parameters:
forTestCase- The test case to get vendor params for.- Returns:
- The optionally present vendor params as
S3VendorParams.
-