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 givenforTestCase
asAwsVendorParams
.static Optional<S3VendorParams>
getS3VendorParams
(SmokeTestCase forTestCase) Gets the vendor params for the givenforTestCase
asS3VendorParams
.static boolean
hasAwsVendorParams
(SmokeTestCase testCase) static boolean
hasS3VendorParams
(SmokeTestCase testCase)
-
Method Details
-
hasAwsVendorParams
- Parameters:
testCase
- The test case to check.- Returns:
true
if thetestCase
'sSmokeTestCase.getVendorParams()
areAwsVendorParams
.
-
hasS3VendorParams
- Parameters:
testCase
- The test case to check.- Returns:
true
if thetestCase
'sSmokeTestCase.getVendorParams()
areS3VendorParams
.
-
getAwsVendorParams
Gets the vendor params for the givenforTestCase
asAwsVendorParams
.The vendor params will be present if
hasAwsVendorParams(SmokeTestCase)
wastrue
for 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 givenforTestCase
asS3VendorParams
.The vendor params will be present if
hasS3VendorParams(SmokeTestCase)
wastrue
for the givenforTestCase
.- Parameters:
forTestCase
- The test case to get vendor params for.- Returns:
- The optionally present vendor params as
S3VendorParams
.
-