Class TestTypeRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.cloudformation.model.CloudFormationRequest
-
- software.amazon.awssdk.services.cloudformation.model.TestTypeRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<TestTypeRequest.Builder,TestTypeRequest>
@Generated("software.amazon.awssdk:codegen") public final class TestTypeRequest extends CloudFormationRequest implements ToCopyableBuilder<TestTypeRequest.Builder,TestTypeRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTestTypeRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the extension.static TestTypeRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlogDeliveryBucket()The S3 bucket to which CloudFormation delivers the contract test execution logs.List<SdkField<?>>sdkFields()static Class<? extends TestTypeRequest.Builder>serializableBuilderClass()TestTypeRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.ThirdPartyTypetype()The type of the extension to test.StringtypeAsString()The type of the extension to test.StringtypeName()The name of the extension to test.StringversionId()The version of the extension to test.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify
Arn, orTypeNameandType.- Returns:
- The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify
Arn, orTypeNameandType.
-
type
public final ThirdPartyType type()
The type of the extension to test.
Conditional: You must specify
Arn, orTypeNameandType.If the service returns an enum value that is not available in the current SDK version,
typewill returnThirdPartyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the extension to test.
Conditional: You must specify
Arn, orTypeNameandType. - See Also:
ThirdPartyType
-
typeAsString
public final String typeAsString()
The type of the extension to test.
Conditional: You must specify
Arn, orTypeNameandType.If the service returns an enum value that is not available in the current SDK version,
typewill returnThirdPartyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the extension to test.
Conditional: You must specify
Arn, orTypeNameandType. - See Also:
ThirdPartyType
-
typeName
public final String typeName()
The name of the extension to test.
Conditional: You must specify
Arn, orTypeNameandType.- Returns:
- The name of the extension to test.
Conditional: You must specify
Arn, orTypeNameandType.
-
versionId
public final String versionId()
The version of the extension to test.
You can specify the version id with either
Arn, or withTypeNameandType.If you don't specify a version, CloudFormation uses the default version of the extension in this account and Region for testing.
- Returns:
- The version of the extension to test.
You can specify the version id with either
Arn, or withTypeNameandType.If you don't specify a version, CloudFormation uses the default version of the extension in this account and Region for testing.
-
logDeliveryBucket
public final String logDeliveryBucket()
The S3 bucket to which CloudFormation delivers the contract test execution logs.
CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a test type status of
PASSEDorFAILED.The user calling
TestTypemust be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions:-
GetObject -
PutObject
For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide.
- Returns:
- The S3 bucket to which CloudFormation delivers the contract test execution logs.
CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a test type status of
PASSEDorFAILED.The user calling
TestTypemust be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions:-
GetObject -
PutObject
For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the Amazon Web Services Identity and Access Management User Guide.
-
-
-
toBuilder
public TestTypeRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TestTypeRequest.Builder,TestTypeRequest>- Specified by:
toBuilderin classCloudFormationRequest
-
builder
public static TestTypeRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends TestTypeRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-