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.

    • Constructor Detail

    • Method Detail

      • getRequestId

         String getRequestId()

        Gets the value of the 'requestId' field. GUID allocated by client to control key rotation.

        Returns:

        The value.

      • getTenantId

         String getTenantId()

        Gets the value of the 'tenantId' field. Specifies the specific tenant that owns the old key.

        Returns:

        The value.

      • 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.

      • 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.

      • 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.

      • 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.

      • 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.