Class MembershipPersistenceAsyncRequestState.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class MembershipPersistenceAsyncRequestState.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for MembershipPersistenceAsyncRequestState instances.
-
-
Field Summary
Fields Modifier and Type Field Description public MembershipPersistenceAsyncRequest
request
public MembershipPersistenceAsyncRequest.Builder
requestBuilder
public int
numberOfRetriesSoFar
public Instant
lastFailedOn
-
Method Summary
Modifier and Type Method Description MembershipPersistenceAsyncRequest
getRequest()
Gets the value of the 'request' field. MembershipPersistenceAsyncRequestState.Builder
setRequest(MembershipPersistenceAsyncRequest value)
Sets the value of the 'request' field. MembershipPersistenceAsyncRequest.Builder
getRequestBuilder()
Gets the Builder instance for the 'request' field and creates one if it doesn't exist yet. MembershipPersistenceAsyncRequestState.Builder
setRequestBuilder(MembershipPersistenceAsyncRequest.Builder value)
Sets the Builder instance for the 'request' field The request. int
getNumberOfRetriesSoFar()
Gets the value of the 'numberOfRetriesSoFar' field. MembershipPersistenceAsyncRequestState.Builder
setNumberOfRetriesSoFar(int value)
Sets the value of the 'numberOfRetriesSoFar' field. Instant
getLastFailedOn()
Gets the value of the 'lastFailedOn' field. MembershipPersistenceAsyncRequestState.Builder
setLastFailedOn(Instant value)
Sets the value of the 'lastFailedOn' field. boolean
hasRequest()
Checks whether the 'request' field has been set. boolean
hasRequestBuilder()
Checks whether the 'request' field has an active Builder instance The request. MembershipPersistenceAsyncRequestState.Builder
clearRequest()
Clears the value of the 'request' field. boolean
hasNumberOfRetriesSoFar()
Checks whether the 'numberOfRetriesSoFar' field has been set. MembershipPersistenceAsyncRequestState.Builder
clearNumberOfRetriesSoFar()
Clears the value of the 'numberOfRetriesSoFar' field. boolean
hasLastFailedOn()
Checks whether the 'lastFailedOn' field has been set. MembershipPersistenceAsyncRequestState.Builder
clearLastFailedOn()
Clears the value of the 'lastFailedOn' field. MembershipPersistenceAsyncRequestState
build()
-
-
Method Detail
-
getRequest
MembershipPersistenceAsyncRequest getRequest()
Gets the value of the 'request' field. The request.
-
setRequest
MembershipPersistenceAsyncRequestState.Builder setRequest(MembershipPersistenceAsyncRequest value)
Sets the value of the 'request' field. The request.
- Parameters:
value
- The value of 'request'.
-
getRequestBuilder
MembershipPersistenceAsyncRequest.Builder getRequestBuilder()
Gets the Builder instance for the 'request' field and creates one if it doesn't exist yet. The request.
-
setRequestBuilder
MembershipPersistenceAsyncRequestState.Builder setRequestBuilder(MembershipPersistenceAsyncRequest.Builder value)
Sets the Builder instance for the 'request' field The request.
- Parameters:
value
- The builder instance that must be set.
-
getNumberOfRetriesSoFar
int getNumberOfRetriesSoFar()
Gets the value of the 'numberOfRetriesSoFar' field. The number of times this request failed so far.
-
setNumberOfRetriesSoFar
MembershipPersistenceAsyncRequestState.Builder setNumberOfRetriesSoFar(int value)
Sets the value of the 'numberOfRetriesSoFar' field. The number of times this request failed so far.
- Parameters:
value
- The value of 'numberOfRetriesSoFar'.
-
getLastFailedOn
Instant getLastFailedOn()
Gets the value of the 'lastFailedOn' field. The time in which the request had last failed.
-
setLastFailedOn
MembershipPersistenceAsyncRequestState.Builder setLastFailedOn(Instant value)
Sets the value of the 'lastFailedOn' field. The time in which the request had last failed.
- Parameters:
value
- The value of 'lastFailedOn'.
-
hasRequest
boolean hasRequest()
Checks whether the 'request' field has been set. The request.
-
hasRequestBuilder
boolean hasRequestBuilder()
Checks whether the 'request' field has an active Builder instance The request.
-
clearRequest
MembershipPersistenceAsyncRequestState.Builder clearRequest()
Clears the value of the 'request' field. The request.
-
hasNumberOfRetriesSoFar
boolean hasNumberOfRetriesSoFar()
Checks whether the 'numberOfRetriesSoFar' field has been set. The number of times this request failed so far.
-
clearNumberOfRetriesSoFar
MembershipPersistenceAsyncRequestState.Builder clearNumberOfRetriesSoFar()
Clears the value of the 'numberOfRetriesSoFar' field. The number of times this request failed so far.
-
hasLastFailedOn
boolean hasLastFailedOn()
Checks whether the 'lastFailedOn' field has been set. The time in which the request had last failed.
-
clearLastFailedOn
MembershipPersistenceAsyncRequestState.Builder clearLastFailedOn()
Clears the value of the 'lastFailedOn' field. The time in which the request had last failed.
-
-
-
-