Class IndividualKeyRotationRequest.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class IndividualKeyRotationRequest.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for IndividualKeyRotationRequest instances.
-
-
Method Summary
Modifier and Type Method Description String
getRequestId()
Gets the value of the 'requestId' field. IndividualKeyRotationRequest.Builder
setRequestId(String value)
Sets the value of the 'requestId' field. String
getTenantId()
Gets the value of the 'tenantId' field. IndividualKeyRotationRequest.Builder
setTenantId(String value)
Sets the value of the 'tenantId' field. String
getTargetKeyAlias()
Gets the value of the 'targetKeyAlias' field. IndividualKeyRotationRequest.Builder
setTargetKeyAlias(String value)
Sets the value of the 'targetKeyAlias' field. String
getKeyUuid()
Gets the value of the 'keyUuid' field. IndividualKeyRotationRequest.Builder
setKeyUuid(String value)
Sets the value of the 'keyUuid' field. KeyType
getKeyType()
Gets the value of the 'keyType' field. IndividualKeyRotationRequest.Builder
setKeyType(KeyType value)
Sets the value of the 'keyType' field. boolean
hasRequestId()
Checks whether the 'requestId' field has been set. IndividualKeyRotationRequest.Builder
clearRequestId()
Clears the value of the 'requestId' field. boolean
hasTenantId()
Checks whether the 'tenantId' field has been set. IndividualKeyRotationRequest.Builder
clearTenantId()
Clears the value of the 'tenantId' field. boolean
hasTargetKeyAlias()
Checks whether the 'targetKeyAlias' field has been set. IndividualKeyRotationRequest.Builder
clearTargetKeyAlias()
Clears the value of the 'targetKeyAlias' field. boolean
hasKeyUuid()
Checks whether the 'keyUuid' field has been set. IndividualKeyRotationRequest.Builder
clearKeyUuid()
Clears the value of the 'keyUuid' field. boolean
hasKeyType()
Checks whether the 'keyType' field has been set. IndividualKeyRotationRequest.Builder
clearKeyType()
Clears the value of the 'keyType' field. IndividualKeyRotationRequest
build()
-
-
Method Detail
-
getRequestId
String getRequestId()
Gets the value of the 'requestId' field. GUID allocated by client to control key rotation.
- Returns:
The value.
-
setRequestId
IndividualKeyRotationRequest.Builder setRequestId(String value)
Sets the value of the 'requestId' field. GUID allocated by client to control key rotation.
- Parameters:
value
- The value of 'requestId'.- Returns:
This builder.
-
getTenantId
String getTenantId()
Gets the value of the 'tenantId' field. Specifies the specific tenant that owns the old key.
- Returns:
The value.
-
setTenantId
IndividualKeyRotationRequest.Builder setTenantId(String value)
Sets the value of the 'tenantId' field. Specifies the specific tenant that owns the old key.
- Parameters:
value
- The value of 'tenantId'.- Returns:
This builder.
-
getTargetKeyAlias
String getTargetKeyAlias()
Gets the value of the 'targetKeyAlias' field. Mandatory for unmanaged key rotation only, always null for managed key rotation. Specifies the wrapped key to rotate.
- Returns:
The value.
-
setTargetKeyAlias
IndividualKeyRotationRequest.Builder setTargetKeyAlias(String value)
Sets the value of the 'targetKeyAlias' field. Mandatory for unmanaged key rotation only, always null for managed key rotation. Specifies the wrapped key to rotate.
- Parameters:
value
- The value of 'targetKeyAlias'.- Returns:
This builder.
-
getKeyUuid
String getKeyUuid()
Gets the value of the 'keyUuid' field. Mandatory for managed key rotation only, always null for unmanaged key rotation. Specifies the managed wrapping key id to rotate.
- Returns:
The value.
-
setKeyUuid
IndividualKeyRotationRequest.Builder setKeyUuid(String value)
Sets the value of the 'keyUuid' field. Mandatory for managed key rotation only, always null for unmanaged key rotation. Specifies the managed wrapping key id to rotate.
- Parameters:
value
- The value of 'keyUuid'.- Returns:
This builder.
-
getKeyType
KeyType getKeyType()
Gets the value of the 'keyType' field. Type of the key to be rotated.
- Returns:
The value.
-
setKeyType
IndividualKeyRotationRequest.Builder setKeyType(KeyType value)
Sets the value of the 'keyType' field. Type of the key to be rotated.
- Parameters:
value
- The value of 'keyType'.- Returns:
This builder.
-
hasRequestId
boolean hasRequestId()
Checks whether the 'requestId' field has been set. GUID allocated by client to control key rotation.
- Returns:
True if the 'requestId' field has been set, false otherwise.
-
clearRequestId
IndividualKeyRotationRequest.Builder clearRequestId()
Clears the value of the 'requestId' field. GUID allocated by client to control key rotation.
- Returns:
This builder.
-
hasTenantId
boolean hasTenantId()
Checks whether the 'tenantId' field has been set. Specifies the specific tenant that owns the old key.
- Returns:
True if the 'tenantId' field has been set, false otherwise.
-
clearTenantId
IndividualKeyRotationRequest.Builder clearTenantId()
Clears the value of the 'tenantId' field. Specifies the specific tenant that owns the old key.
- Returns:
This builder.
-
hasTargetKeyAlias
boolean hasTargetKeyAlias()
Checks whether the 'targetKeyAlias' field has been set. Mandatory for unmanaged key rotation only, always null for managed key rotation. Specifies the wrapped key to rotate.
- Returns:
True if the 'targetKeyAlias' field has been set, false otherwise.
-
clearTargetKeyAlias
IndividualKeyRotationRequest.Builder clearTargetKeyAlias()
Clears the value of the 'targetKeyAlias' field. Mandatory for unmanaged key rotation only, always null for managed key rotation. Specifies the wrapped key to rotate.
- Returns:
This builder.
-
hasKeyUuid
boolean hasKeyUuid()
Checks whether the 'keyUuid' field has been set. Mandatory for managed key rotation only, always null for unmanaged key rotation. Specifies the managed wrapping key id to rotate.
- Returns:
True if the 'keyUuid' field has been set, false otherwise.
-
clearKeyUuid
IndividualKeyRotationRequest.Builder clearKeyUuid()
Clears the value of the 'keyUuid' field. Mandatory for managed key rotation only, always null for unmanaged key rotation. Specifies the managed wrapping key id to rotate.
- Returns:
This builder.
-
hasKeyType
boolean hasKeyType()
Checks whether the 'keyType' field has been set. Type of the key to be rotated.
- Returns:
True if the 'keyType' field has been set, false otherwise.
-
clearKeyType
IndividualKeyRotationRequest.Builder clearKeyType()
Clears the value of the 'keyType' field. Type of the key to be rotated.
- Returns:
This builder.
-
build
IndividualKeyRotationRequest build()
-
-
-
-