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 Summary
All 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
- 
hasAwsVendorParams
public static boolean hasAwsVendorParams(SmokeTestCase testCase)
- Parameters:
 testCase- The test case to check.- Returns:
 trueif thetestCase'sSmokeTestCase.getVendorParams()areAwsVendorParams.
 
- 
hasS3VendorParams
public static boolean hasS3VendorParams(SmokeTestCase testCase)
- Parameters:
 testCase- The test case to check.- Returns:
 trueif thetestCase'sSmokeTestCase.getVendorParams()areS3VendorParams.
 
- 
getAwsVendorParams
public 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. 
 
- 
getS3VendorParams
public 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. 
 
 - 
 
 -