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