Class RetryBuildBatchRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codebuild.model.CodeBuildRequest
-
- software.amazon.awssdk.services.codebuild.model.RetryBuildBatchRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RetryBuildBatchRequest.Builder,RetryBuildBatchRequest>
@Generated("software.amazon.awssdk:codegen") public final class RetryBuildBatchRequest extends CodeBuildRequest implements ToCopyableBuilder<RetryBuildBatchRequest.Builder,RetryBuildBatchRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRetryBuildBatchRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RetryBuildBatchRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()Specifies the identifier of the batch build to restart.StringidempotencyToken()A unique, case sensitive identifier you provide to ensure the idempotency of theRetryBuildBatchrequest.RetryBuildBatchTyperetryType()Specifies the type of retry to perform.StringretryTypeAsString()Specifies the type of retry to perform.List<SdkField<?>>sdkFields()static Class<? extends RetryBuildBatchRequest.Builder>serializableBuilderClass()RetryBuildBatchRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
id
public final String id()
Specifies the identifier of the batch build to restart.
- Returns:
- Specifies the identifier of the batch build to restart.
-
idempotencyToken
public final String idempotencyToken()
A unique, case sensitive identifier you provide to ensure the idempotency of the
RetryBuildBatchrequest. The token is included in theRetryBuildBatchrequest and is valid for five minutes. If you repeat theRetryBuildBatchrequest with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.- Returns:
- A unique, case sensitive identifier you provide to ensure the idempotency of the
RetryBuildBatchrequest. The token is included in theRetryBuildBatchrequest and is valid for five minutes. If you repeat theRetryBuildBatchrequest with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.
-
retryType
public final RetryBuildBatchType retryType()
Specifies the type of retry to perform.
If the service returns an enum value that is not available in the current SDK version,
retryTypewill returnRetryBuildBatchType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromretryTypeAsString().- Returns:
- Specifies the type of retry to perform.
- See Also:
RetryBuildBatchType
-
retryTypeAsString
public final String retryTypeAsString()
Specifies the type of retry to perform.
If the service returns an enum value that is not available in the current SDK version,
retryTypewill returnRetryBuildBatchType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromretryTypeAsString().- Returns:
- Specifies the type of retry to perform.
- See Also:
RetryBuildBatchType
-
toBuilder
public RetryBuildBatchRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RetryBuildBatchRequest.Builder,RetryBuildBatchRequest>- Specified by:
toBuilderin classCodeBuildRequest
-
builder
public static RetryBuildBatchRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends RetryBuildBatchRequest.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
-
-