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 interface
TestTypeRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
arn()
The Amazon Resource Name (ARN) of the extension.static TestTypeRequest.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
logDeliveryBucket()
The S3 bucket to which CloudFormation delivers the contract test execution logs.List<SdkField<?>>
sdkFields()
static Class<? extends TestTypeRequest.Builder>
serializableBuilderClass()
TestTypeRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.ThirdPartyType
type()
The type of the extension to test.String
typeAsString()
The type of the extension to test.String
typeName()
The name of the extension to test.String
versionId()
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
, orTypeName
andType
.- Returns:
- The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify
Arn
, orTypeName
andType
.
-
type
public final ThirdPartyType type()
The type of the extension to test.
Conditional: You must specify
Arn
, orTypeName
andType
.If the service returns an enum value that is not available in the current SDK version,
type
will 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
, orTypeName
andType
. - See Also:
ThirdPartyType
-
typeAsString
public final String typeAsString()
The type of the extension to test.
Conditional: You must specify
Arn
, orTypeName
andType
.If the service returns an enum value that is not available in the current SDK version,
type
will 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
, orTypeName
andType
. - See Also:
ThirdPartyType
-
typeName
public final String typeName()
The name of the extension to test.
Conditional: You must specify
Arn
, orTypeName
andType
.- Returns:
- The name of the extension to test.
Conditional: You must specify
Arn
, orTypeName
andType
.
-
versionId
public final String versionId()
The version of the extension to test.
You can specify the version id with either
Arn
, or withTypeName
andType
.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 withTypeName
andType
.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
PASSED
orFAILED
.The user calling
TestType
must 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
PASSED
orFAILED
.The user calling
TestType
must 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:
toBuilder
in interfaceToCopyableBuilder<TestTypeRequest.Builder,TestTypeRequest>
- Specified by:
toBuilder
in classCloudFormationRequest
-
builder
public static TestTypeRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends TestTypeRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
getValueForField
in classSdkRequest
-
-