Class GenerateWrappingKeyRpcCommand.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class GenerateWrappingKeyRpcCommand.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for GenerateWrappingKeyRpcCommand instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
hsmId
public String
masterKeyAlias
public boolean
failIfExists
public KeyValuePairList
context
public KeyValuePairList.Builder
contextBuilder
-
Method Summary
Modifier and Type Method Description String
getHsmId()
Gets the value of the 'hsmId' field. GenerateWrappingKeyRpcCommand.Builder
setHsmId(String value)
Sets the value of the 'hsmId' field. String
getMasterKeyAlias()
Gets the value of the 'masterKeyAlias' field. GenerateWrappingKeyRpcCommand.Builder
setMasterKeyAlias(String value)
Sets the value of the 'masterKeyAlias' field. boolean
getFailIfExists()
Gets the value of the 'failIfExists' field. GenerateWrappingKeyRpcCommand.Builder
setFailIfExists(boolean value)
Sets the value of the 'failIfExists' field. KeyValuePairList
getContext()
Gets the value of the 'context' field. GenerateWrappingKeyRpcCommand.Builder
setContext(KeyValuePairList value)
Sets the value of the 'context' field. KeyValuePairList.Builder
getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. GenerateWrappingKeyRpcCommand.Builder
setContextBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'context' field The optional key/value operation specific context. boolean
hasHsmId()
Checks whether the 'hsmId' field has been set. GenerateWrappingKeyRpcCommand.Builder
clearHsmId()
Clears the value of the 'hsmId' field. boolean
hasMasterKeyAlias()
Checks whether the 'masterKeyAlias' field has been set. GenerateWrappingKeyRpcCommand.Builder
clearMasterKeyAlias()
Clears the value of the 'masterKeyAlias' field. boolean
hasFailIfExists()
Checks whether the 'failIfExists' field has been set. GenerateWrappingKeyRpcCommand.Builder
clearFailIfExists()
Clears the value of the 'failIfExists' field. boolean
hasContext()
Checks whether the 'context' field has been set. boolean
hasContextBuilder()
Checks whether the 'context' field has an active Builder instance The optional key/value operation specific context. GenerateWrappingKeyRpcCommand.Builder
clearContext()
Clears the value of the 'context' field. GenerateWrappingKeyRpcCommand
build()
-
-
Method Detail
-
getHsmId
String getHsmId()
Gets the value of the 'hsmId' field. The HSM id which the key is generated in.
-
setHsmId
GenerateWrappingKeyRpcCommand.Builder setHsmId(String value)
Sets the value of the 'hsmId' field. The HSM id which the key is generated in.
- Parameters:
value
- The value of 'hsmId'.
-
getMasterKeyAlias
String getMasterKeyAlias()
Gets the value of the 'masterKeyAlias' field. The alias of the key to be used as a wrapping key.
-
setMasterKeyAlias
GenerateWrappingKeyRpcCommand.Builder setMasterKeyAlias(String value)
Sets the value of the 'masterKeyAlias' field. The alias of the key to be used as a wrapping key.
- Parameters:
value
- The value of 'masterKeyAlias'.
-
getFailIfExists
boolean getFailIfExists()
Gets the value of the 'failIfExists' field. A flag indicating whether the method should fail if a key already exists under the provided alias or return normally without overriding the key.
-
setFailIfExists
GenerateWrappingKeyRpcCommand.Builder setFailIfExists(boolean value)
Sets the value of the 'failIfExists' field. A flag indicating whether the method should fail if a key already exists under the provided alias or return normally without overriding the key.
- Parameters:
value
- The value of 'failIfExists'.
-
getContext
KeyValuePairList getContext()
Gets the value of the 'context' field. The optional key/value operation specific context.
-
setContext
GenerateWrappingKeyRpcCommand.Builder setContext(KeyValuePairList value)
Sets the value of the 'context' field. The optional key/value operation specific context.
- Parameters:
value
- The value of 'context'.
-
getContextBuilder
KeyValuePairList.Builder getContextBuilder()
Gets the Builder instance for the 'context' field and creates one if it doesn't exist yet. The optional key/value operation specific context.
-
setContextBuilder
GenerateWrappingKeyRpcCommand.Builder setContextBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'context' field The optional key/value operation specific context.
- Parameters:
value
- The builder instance that must be set.
-
hasHsmId
boolean hasHsmId()
Checks whether the 'hsmId' field has been set. The HSM id which the key is generated in.
-
clearHsmId
GenerateWrappingKeyRpcCommand.Builder clearHsmId()
Clears the value of the 'hsmId' field. The HSM id which the key is generated in.
-
hasMasterKeyAlias
boolean hasMasterKeyAlias()
Checks whether the 'masterKeyAlias' field has been set. The alias of the key to be used as a wrapping key.
-
clearMasterKeyAlias
GenerateWrappingKeyRpcCommand.Builder clearMasterKeyAlias()
Clears the value of the 'masterKeyAlias' field. The alias of the key to be used as a wrapping key.
-
hasFailIfExists
boolean hasFailIfExists()
Checks whether the 'failIfExists' field has been set. A flag indicating whether the method should fail if a key already exists under the provided alias or return normally without overriding the key.
-
clearFailIfExists
GenerateWrappingKeyRpcCommand.Builder clearFailIfExists()
Clears the value of the 'failIfExists' field. A flag indicating whether the method should fail if a key already exists under the provided alias or return normally without overriding the key.
-
hasContext
boolean hasContext()
Checks whether the 'context' field has been set. The optional key/value operation specific context.
-
hasContextBuilder
boolean hasContextBuilder()
Checks whether the 'context' field has an active Builder instance The optional key/value operation specific context.
-
clearContext
GenerateWrappingKeyRpcCommand.Builder clearContext()
Clears the value of the 'context' field. The optional key/value operation specific context.
-
build
GenerateWrappingKeyRpcCommand build()
-
-
-
-