Class HSMAssociationInfo.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class HSMAssociationInfo.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for HSMAssociationInfo instances.
-
-
Method Summary
Modifier and Type Method Description String
getId()
Gets the value of the 'id' field. HSMAssociationInfo.Builder
setId(String value)
Sets the value of the 'id' field. String
getTenantId()
Gets the value of the 'tenantId' field. HSMAssociationInfo.Builder
setTenantId(String value)
Sets the value of the 'tenantId' field. String
getHsmId()
Gets the value of the 'hsmId' field. HSMAssociationInfo.Builder
setHsmId(String value)
Sets the value of the 'hsmId' field. String
getCategory()
Gets the value of the 'category' field. HSMAssociationInfo.Builder
setCategory(String value)
Sets the value of the 'category' field. String
getMasterKeyAlias()
Gets the value of the 'masterKeyAlias' field. HSMAssociationInfo.Builder
setMasterKeyAlias(String value)
Sets the value of the 'masterKeyAlias' field. long
getDeprecatedAt()
Gets the value of the 'deprecatedAt' field. HSMAssociationInfo.Builder
setDeprecatedAt(long value)
Sets the value of the 'deprecatedAt' field. boolean
hasId()
Checks whether the 'id' field has been set. HSMAssociationInfo.Builder
clearId()
Clears the value of the 'id' field. boolean
hasTenantId()
Checks whether the 'tenantId' field has been set. HSMAssociationInfo.Builder
clearTenantId()
Clears the value of the 'tenantId' field. boolean
hasHsmId()
Checks whether the 'hsmId' field has been set. HSMAssociationInfo.Builder
clearHsmId()
Clears the value of the 'hsmId' field. boolean
hasCategory()
Checks whether the 'category' field has been set. HSMAssociationInfo.Builder
clearCategory()
Clears the value of the 'category' field. boolean
hasMasterKeyAlias()
Checks whether the 'masterKeyAlias' field has been set. HSMAssociationInfo.Builder
clearMasterKeyAlias()
Clears the value of the 'masterKeyAlias' field. boolean
hasDeprecatedAt()
Checks whether the 'deprecatedAt' field has been set. HSMAssociationInfo.Builder
clearDeprecatedAt()
Clears the value of the 'deprecatedAt' field. HSMAssociationInfo
build()
-
-
Method Detail
-
setId
HSMAssociationInfo.Builder setId(String value)
Sets the value of the 'id' field. Association id.
- Parameters:
value
- The value of 'id'.
-
getTenantId
String getTenantId()
Gets the value of the 'tenantId' field. Association tenant id.
-
setTenantId
HSMAssociationInfo.Builder setTenantId(String value)
Sets the value of the 'tenantId' field. Association tenant id.
- Parameters:
value
- The value of 'tenantId'.
-
getHsmId
String getHsmId()
Gets the value of the 'hsmId' field. HSM id which handles the keys for this association.
-
setHsmId
HSMAssociationInfo.Builder setHsmId(String value)
Sets the value of the 'hsmId' field. HSM id which handles the keys for this association.
- Parameters:
value
- The value of 'hsmId'.
-
getCategory
String getCategory()
Gets the value of the 'category' field. The category, like TLS, LEDGER, etc., which assignment was made for.
-
setCategory
HSMAssociationInfo.Builder setCategory(String value)
Sets the value of the 'category' field. The category, like TLS, LEDGER, etc., which assignment was made for.
- Parameters:
value
- The value of 'category'.
-
getMasterKeyAlias
String getMasterKeyAlias()
Gets the value of the 'masterKeyAlias' field. The master key alias which is used for the keys.
-
setMasterKeyAlias
HSMAssociationInfo.Builder setMasterKeyAlias(String value)
Sets the value of the 'masterKeyAlias' field. The master key alias which is used for the keys.
- Parameters:
value
- The value of 'masterKeyAlias'.
-
getDeprecatedAt
long getDeprecatedAt()
Gets the value of the 'deprecatedAt' field. If greater than 0 - when the association was deprecated.
-
setDeprecatedAt
HSMAssociationInfo.Builder setDeprecatedAt(long value)
Sets the value of the 'deprecatedAt' field. If greater than 0 - when the association was deprecated.
- Parameters:
value
- The value of 'deprecatedAt'.
-
hasId
boolean hasId()
Checks whether the 'id' field has been set. Association id.
-
clearId
HSMAssociationInfo.Builder clearId()
Clears the value of the 'id' field. Association id.
-
hasTenantId
boolean hasTenantId()
Checks whether the 'tenantId' field has been set. Association tenant id.
-
clearTenantId
HSMAssociationInfo.Builder clearTenantId()
Clears the value of the 'tenantId' field. Association tenant id.
-
hasHsmId
boolean hasHsmId()
Checks whether the 'hsmId' field has been set. HSM id which handles the keys for this association.
-
clearHsmId
HSMAssociationInfo.Builder clearHsmId()
Clears the value of the 'hsmId' field. HSM id which handles the keys for this association.
-
hasCategory
boolean hasCategory()
Checks whether the 'category' field has been set. The category, like TLS, LEDGER, etc., which assignment was made for.
-
clearCategory
HSMAssociationInfo.Builder clearCategory()
Clears the value of the 'category' field. The category, like TLS, LEDGER, etc., which assignment was made for.
-
hasMasterKeyAlias
boolean hasMasterKeyAlias()
Checks whether the 'masterKeyAlias' field has been set. The master key alias which is used for the keys.
-
clearMasterKeyAlias
HSMAssociationInfo.Builder clearMasterKeyAlias()
Clears the value of the 'masterKeyAlias' field. The master key alias which is used for the keys.
-
hasDeprecatedAt
boolean hasDeprecatedAt()
Checks whether the 'deprecatedAt' field has been set. If greater than 0 - when the association was deprecated.
-
clearDeprecatedAt
HSMAssociationInfo.Builder clearDeprecatedAt()
Clears the value of the 'deprecatedAt' field. If greater than 0 - when the association was deprecated.
-
build
HSMAssociationInfo build()
-
-
-
-