Class RetryPolicy
- java.lang.Object
-
- software.amazon.awssdk.services.eventbridge.model.RetryPolicy
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RetryPolicy.Builder,RetryPolicy>
@Generated("software.amazon.awssdk:codegen") public final class RetryPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RetryPolicy.Builder,RetryPolicy>
A
RetryPolicyobject that includes information about the retry policy settings.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRetryPolicy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RetryPolicy.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaximumEventAgeInSeconds()The maximum amount of time, in seconds, to continue to make retry attempts.IntegermaximumRetryAttempts()The maximum number of retry attempts to make before the request fails.List<SdkField<?>>sdkFields()static Class<? extends RetryPolicy.Builder>serializableBuilderClass()RetryPolicy.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
maximumRetryAttempts
public final Integer maximumRetryAttempts()
The maximum number of retry attempts to make before the request fails. Retry attempts continue until either the maximum number of attempts is made or until the duration of the
MaximumEventAgeInSecondsis met.- Returns:
- The maximum number of retry attempts to make before the request fails. Retry attempts continue until
either the maximum number of attempts is made or until the duration of the
MaximumEventAgeInSecondsis met.
-
maximumEventAgeInSeconds
public final Integer maximumEventAgeInSeconds()
The maximum amount of time, in seconds, to continue to make retry attempts.
- Returns:
- The maximum amount of time, in seconds, to continue to make retry attempts.
-
toBuilder
public RetryPolicy.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RetryPolicy.Builder,RetryPolicy>
-
builder
public static RetryPolicy.Builder builder()
-
serializableBuilderClass
public static Class<? extends RetryPolicy.Builder> serializableBuilderClass()
-
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.
-
-