Class SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete.Builder
- java.lang.Object
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete.Builder
-
- Enclosing class:
- SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete
public static class SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(CollectionMetadata metadata, List<SetInstancePolicyDualAuthDeleteResourcesItem> resources)
Instantiates a new builder with required properties.Builder(SetInstancePoliciesOneOf setInstancePoliciesOneOfSetInstancePolicyDualAuthDelete)
Instantiates a new Builder from an existing SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete.Builder
addResources(SetInstancePolicyDualAuthDeleteResourcesItem resources)
Adds a new element to resources.SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete
build()
Builds a SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete.SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete.Builder
metadata(CollectionMetadata metadata)
Set the metadata.SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete.Builder
resources(List<SetInstancePolicyDualAuthDeleteResourcesItem> resources)
Set the resources.
-
-
-
Constructor Detail
-
Builder
public Builder(SetInstancePoliciesOneOf setInstancePoliciesOneOfSetInstancePolicyDualAuthDelete)
Instantiates a new Builder from an existing SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete instance.- Parameters:
setInstancePoliciesOneOfSetInstancePolicyDualAuthDelete
- the instance to initialize the Builder with
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(CollectionMetadata metadata, List<SetInstancePolicyDualAuthDeleteResourcesItem> resources)
Instantiates a new builder with required properties.- Parameters:
metadata
- the metadataresources
- the resources
-
-
Method Detail
-
build
public SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete build()
Builds a SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete.- Returns:
- the new SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete instance
-
addResources
public SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete.Builder addResources(SetInstancePolicyDualAuthDeleteResourcesItem resources)
Adds a new element to resources.- Parameters:
resources
- the new element to be added- Returns:
- the SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete builder
-
metadata
public SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete.Builder metadata(CollectionMetadata metadata)
Set the metadata.- Parameters:
metadata
- the metadata- Returns:
- the SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete builder
-
resources
public SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete.Builder resources(List<SetInstancePolicyDualAuthDeleteResourcesItem> resources)
Set the resources. Existing resources will be replaced.- Parameters:
resources
- the resources- Returns:
- the SetInstancePoliciesOneOfSetInstancePolicyDualAuthDelete builder
-
-