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