Class TokenSyncState.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class TokenSyncState.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for TokenSyncState instances.
-
-
Field Summary
Fields Modifier and Type Field Description public HoldingIdentity
holdingIdentity
public HoldingIdentity.Builder
holdingIdentityBuilder
public TokenSyncMode
mode
public TokenFullSyncState
fullSyncState
public TokenFullSyncState.Builder
fullSyncStateBuilder
public List<TokenPoolPeriodicSyncState>
periodicSyncState
public Instant
nextWakeup
public int
transientFailureCount
-
Method Summary
Modifier and Type Method Description HoldingIdentity
getHoldingIdentity()
Gets the value of the 'holdingIdentity' field. TokenSyncState.Builder
setHoldingIdentity(HoldingIdentity value)
Sets the value of the 'holdingIdentity' field. HoldingIdentity.Builder
getHoldingIdentityBuilder()
Gets the Builder instance for the 'holdingIdentity' field and creates one if it doesn't exist yet. TokenSyncState.Builder
setHoldingIdentityBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'holdingIdentity' field The holding identity of the user making the request TokenSyncMode
getMode()
Gets the value of the 'mode' field. TokenSyncState.Builder
setMode(TokenSyncMode value)
Sets the value of the 'mode' field. TokenFullSyncState
getFullSyncState()
Gets the value of the 'fullSyncState' field. TokenSyncState.Builder
setFullSyncState(TokenFullSyncState value)
Sets the value of the 'fullSyncState' field. TokenFullSyncState.Builder
getFullSyncStateBuilder()
Gets the Builder instance for the 'fullSyncState' field and creates one if it doesn't exist yet. TokenSyncState.Builder
setFullSyncStateBuilder(TokenFullSyncState.Builder value)
Sets the Builder instance for the 'fullSyncState' field The current state of a full sync List<TokenPoolPeriodicSyncState>
getPeriodicSyncState()
Gets the value of the 'periodicSyncState' field. TokenSyncState.Builder
setPeriodicSyncState(List<TokenPoolPeriodicSyncState> value)
Sets the value of the 'periodicSyncState' field. Instant
getNextWakeup()
Gets the value of the 'nextWakeup' field. TokenSyncState.Builder
setNextWakeup(Instant value)
Sets the value of the 'nextWakeup' field. int
getTransientFailureCount()
Gets the value of the 'transientFailureCount' field. TokenSyncState.Builder
setTransientFailureCount(int value)
Sets the value of the 'transientFailureCount' field. boolean
hasHoldingIdentity()
Checks whether the 'holdingIdentity' field has been set. boolean
hasHoldingIdentityBuilder()
Checks whether the 'holdingIdentity' field has an active Builder instance The holding identity of the user making the request TokenSyncState.Builder
clearHoldingIdentity()
Clears the value of the 'holdingIdentity' field. boolean
hasMode()
Checks whether the 'mode' field has been set. TokenSyncState.Builder
clearMode()
Clears the value of the 'mode' field. boolean
hasFullSyncState()
Checks whether the 'fullSyncState' field has been set. boolean
hasFullSyncStateBuilder()
Checks whether the 'fullSyncState' field has an active Builder instance The current state of a full sync TokenSyncState.Builder
clearFullSyncState()
Clears the value of the 'fullSyncState' field. boolean
hasPeriodicSyncState()
Checks whether the 'periodicSyncState' field has been set. TokenSyncState.Builder
clearPeriodicSyncState()
Clears the value of the 'periodicSyncState' field. boolean
hasNextWakeup()
Checks whether the 'nextWakeup' field has been set. TokenSyncState.Builder
clearNextWakeup()
Clears the value of the 'nextWakeup' field. boolean
hasTransientFailureCount()
Checks whether the 'transientFailureCount' field has been set. TokenSyncState.Builder
clearTransientFailureCount()
Clears the value of the 'transientFailureCount' field. TokenSyncState
build()
-
-
Method Detail
-
getHoldingIdentity
HoldingIdentity getHoldingIdentity()
Gets the value of the 'holdingIdentity' field. The holding identity of the user making the request
-
setHoldingIdentity
TokenSyncState.Builder setHoldingIdentity(HoldingIdentity value)
Sets the value of the 'holdingIdentity' field. The holding identity of the user making the request
- Parameters:
value
- The value of 'holdingIdentity'.
-
getHoldingIdentityBuilder
HoldingIdentity.Builder getHoldingIdentityBuilder()
Gets the Builder instance for the 'holdingIdentity' field and creates one if it doesn't exist yet. The holding identity of the user making the request
-
setHoldingIdentityBuilder
TokenSyncState.Builder setHoldingIdentityBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'holdingIdentity' field The holding identity of the user making the request
- Parameters:
value
- The builder instance that must be set.
-
getMode
TokenSyncMode getMode()
Gets the value of the 'mode' field. The current synchronization mode
-
setMode
TokenSyncState.Builder setMode(TokenSyncMode value)
Sets the value of the 'mode' field. The current synchronization mode
- Parameters:
value
- The value of 'mode'.
-
getFullSyncState
TokenFullSyncState getFullSyncState()
Gets the value of the 'fullSyncState' field. The current state of a full sync
-
setFullSyncState
TokenSyncState.Builder setFullSyncState(TokenFullSyncState value)
Sets the value of the 'fullSyncState' field. The current state of a full sync
- Parameters:
value
- The value of 'fullSyncState'.
-
getFullSyncStateBuilder
TokenFullSyncState.Builder getFullSyncStateBuilder()
Gets the Builder instance for the 'fullSyncState' field and creates one if it doesn't exist yet. The current state of a full sync
-
setFullSyncStateBuilder
TokenSyncState.Builder setFullSyncStateBuilder(TokenFullSyncState.Builder value)
Sets the Builder instance for the 'fullSyncState' field The current state of a full sync
- Parameters:
value
- The builder instance that must be set.
-
getPeriodicSyncState
List<TokenPoolPeriodicSyncState> getPeriodicSyncState()
Gets the value of the 'periodicSyncState' field. The current state of a periodic sync
-
setPeriodicSyncState
TokenSyncState.Builder setPeriodicSyncState(List<TokenPoolPeriodicSyncState> value)
Sets the value of the 'periodicSyncState' field. The current state of a periodic sync
- Parameters:
value
- The value of 'periodicSyncState'.
-
getNextWakeup
Instant getNextWakeup()
Gets the value of the 'nextWakeup' field. Date and time the next wake-up is required.
-
setNextWakeup
TokenSyncState.Builder setNextWakeup(Instant value)
Sets the value of the 'nextWakeup' field. Date and time the next wake-up is required.
- Parameters:
value
- The value of 'nextWakeup'.
-
getTransientFailureCount
int getTransientFailureCount()
Gets the value of the 'transientFailureCount' field. The number of times a transient failure has occurred.
-
setTransientFailureCount
TokenSyncState.Builder setTransientFailureCount(int value)
Sets the value of the 'transientFailureCount' field. The number of times a transient failure has occurred.
- Parameters:
value
- The value of 'transientFailureCount'.
-
hasHoldingIdentity
boolean hasHoldingIdentity()
Checks whether the 'holdingIdentity' field has been set. The holding identity of the user making the request
-
hasHoldingIdentityBuilder
boolean hasHoldingIdentityBuilder()
Checks whether the 'holdingIdentity' field has an active Builder instance The holding identity of the user making the request
-
clearHoldingIdentity
TokenSyncState.Builder clearHoldingIdentity()
Clears the value of the 'holdingIdentity' field. The holding identity of the user making the request
-
hasMode
boolean hasMode()
Checks whether the 'mode' field has been set. The current synchronization mode
-
clearMode
TokenSyncState.Builder clearMode()
Clears the value of the 'mode' field. The current synchronization mode
-
hasFullSyncState
boolean hasFullSyncState()
Checks whether the 'fullSyncState' field has been set. The current state of a full sync
-
hasFullSyncStateBuilder
boolean hasFullSyncStateBuilder()
Checks whether the 'fullSyncState' field has an active Builder instance The current state of a full sync
-
clearFullSyncState
TokenSyncState.Builder clearFullSyncState()
Clears the value of the 'fullSyncState' field. The current state of a full sync
-
hasPeriodicSyncState
boolean hasPeriodicSyncState()
Checks whether the 'periodicSyncState' field has been set. The current state of a periodic sync
-
clearPeriodicSyncState
TokenSyncState.Builder clearPeriodicSyncState()
Clears the value of the 'periodicSyncState' field. The current state of a periodic sync
-
hasNextWakeup
boolean hasNextWakeup()
Checks whether the 'nextWakeup' field has been set. Date and time the next wake-up is required.
-
clearNextWakeup
TokenSyncState.Builder clearNextWakeup()
Clears the value of the 'nextWakeup' field. Date and time the next wake-up is required.
-
hasTransientFailureCount
boolean hasTransientFailureCount()
Checks whether the 'transientFailureCount' field has been set. The number of times a transient failure has occurred.
-
clearTransientFailureCount
TokenSyncState.Builder clearTransientFailureCount()
Clears the value of the 'transientFailureCount' field. The number of times a transient failure has occurred.
-
build
TokenSyncState build()
-
-
-
-