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