Class AwsSmokeTestModel
- java.lang.Object
- 
- software.amazon.smithy.aws.smoketests.model.AwsSmokeTestModel
 
- 
 public final class AwsSmokeTestModel extends java.lang.ObjectProvides methods for interfacing with Java representations of the different kinds of vendor params shapes used in smoke tests for AWS services.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<AwsVendorParams>getAwsVendorParams(SmokeTestCase forTestCase)Gets the vendor params for the givenforTestCaseasAwsVendorParams.static java.util.Optional<S3VendorParams>getS3VendorParams(SmokeTestCase forTestCase)Gets the vendor params for the givenforTestCaseasS3VendorParams.static booleanhasAwsVendorParams(SmokeTestCase testCase)static booleanhasS3VendorParams(SmokeTestCase testCase)
 
- 
- 
- 
Method Detail- 
hasAwsVendorParamspublic static boolean hasAwsVendorParams(SmokeTestCase testCase) - Parameters:
- testCase- The test case to check.
- Returns:
- trueif the- testCase's- SmokeTestCase.getVendorParams()are- AwsVendorParams.
 
 - 
hasS3VendorParamspublic static boolean hasS3VendorParams(SmokeTestCase testCase) - Parameters:
- testCase- The test case to check.
- Returns:
- trueif the- testCase's- SmokeTestCase.getVendorParams()are- S3VendorParams.
 
 - 
getAwsVendorParamspublic static java.util.Optional<AwsVendorParams> getAwsVendorParams(SmokeTestCase forTestCase) 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.
 
 - 
getS3VendorParamspublic static java.util.Optional<S3VendorParams> getS3VendorParams(SmokeTestCase forTestCase) 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.
 
 
- 
 
-