Class KeyPolicyRotationRotation.Builder
- java.lang.Object
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.KeyPolicyRotationRotation.Builder
-
- Enclosing class:
- KeyPolicyRotationRotation
public static class KeyPolicyRotationRotation.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyPolicyRotationRotation
build()
Builds a KeyPolicyRotationRotation.KeyPolicyRotationRotation.Builder
enabled(Boolean enabled)
Set the enabled.KeyPolicyRotationRotation.Builder
intervalMonth(long intervalMonth)
Set the intervalMonth.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(Boolean enabled)
Instantiates a new builder with required properties.- Parameters:
enabled
- the enabled
-
-
Method Detail
-
build
public KeyPolicyRotationRotation build()
Builds a KeyPolicyRotationRotation.- Returns:
- the new KeyPolicyRotationRotation instance
-
enabled
public KeyPolicyRotationRotation.Builder enabled(Boolean enabled)
Set the enabled.- Parameters:
enabled
- the enabled- Returns:
- the KeyPolicyRotationRotation builder
-
intervalMonth
public KeyPolicyRotationRotation.Builder intervalMonth(long intervalMonth)
Set the intervalMonth.- Parameters:
intervalMonth
- the intervalMonth- Returns:
- the KeyPolicyRotationRotation builder
-
-