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