Package com.oracle.bmc.fusionapps.model
Class KmsKeyInfo.Builder
- java.lang.Object
-
- com.oracle.bmc.fusionapps.model.KmsKeyInfo.Builder
-
- Enclosing class:
- KmsKeyInfo
public static class KmsKeyInfo.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KmsKeyInfo.Builder
activeKeyId(String activeKeyId)
current BYOK keyId facp is usingKmsKeyInfo.Builder
activeKeyVersion(String activeKeyVersion)
current key version facp is usingKmsKeyInfo
build()
KmsKeyInfo.Builder
copy(KmsKeyInfo model)
KmsKeyInfo.Builder
currentKeyLifecycleState(String currentKeyLifecycleState)
current key lifeCycleStateKmsKeyInfo.Builder
scheduledKeyId(String scheduledKeyId)
scheduled keyId to be updatedKmsKeyInfo.Builder
scheduledKeyStatus(KmsKeyInfo.ScheduledKeyStatus scheduledKeyStatus)
the scheduled key statusKmsKeyInfo.Builder
scheduledKeyVersion(String scheduledKeyVersion)
scheduled key version to be updated.KmsKeyInfo.Builder
scheduledLifecycleState(String scheduledLifecycleState)
scheduled key lifeCycle state to be updated.
-
-
-
Method Detail
-
activeKeyId
public KmsKeyInfo.Builder activeKeyId(String activeKeyId)
current BYOK keyId facp is using- Parameters:
activeKeyId
- the value to set- Returns:
- this builder
-
activeKeyVersion
public KmsKeyInfo.Builder activeKeyVersion(String activeKeyVersion)
current key version facp is using- Parameters:
activeKeyVersion
- the value to set- Returns:
- this builder
-
scheduledKeyId
public KmsKeyInfo.Builder scheduledKeyId(String scheduledKeyId)
scheduled keyId to be updated- Parameters:
scheduledKeyId
- the value to set- Returns:
- this builder
-
scheduledKeyVersion
public KmsKeyInfo.Builder scheduledKeyVersion(String scheduledKeyVersion)
scheduled key version to be updated.- Parameters:
scheduledKeyVersion
- the value to set- Returns:
- this builder
-
currentKeyLifecycleState
public KmsKeyInfo.Builder currentKeyLifecycleState(String currentKeyLifecycleState)
current key lifeCycleState- Parameters:
currentKeyLifecycleState
- the value to set- Returns:
- this builder
-
scheduledLifecycleState
public KmsKeyInfo.Builder scheduledLifecycleState(String scheduledLifecycleState)
scheduled key lifeCycle state to be updated.- Parameters:
scheduledLifecycleState
- the value to set- Returns:
- this builder
-
scheduledKeyStatus
public KmsKeyInfo.Builder scheduledKeyStatus(KmsKeyInfo.ScheduledKeyStatus scheduledKeyStatus)
the scheduled key status- Parameters:
scheduledKeyStatus
- the value to set- Returns:
- this builder
-
build
public KmsKeyInfo build()
-
copy
public KmsKeyInfo.Builder copy(KmsKeyInfo model)
-
-