Class SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes.Builder
- java.lang.Object
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes.Builder
-
- Enclosing class:
- SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes
public static class SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
-
-
-
Method Detail
-
build
public SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes build()
Builds a SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes.- Returns:
- the new SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes instance
-
addAllowedIp
public SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes.Builder addAllowedIp(String allowedIp)
Adds a new element to allowedIp.- Parameters:
allowedIp
- the new element to be added- Returns:
- the SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes builder
-
allowedNetwork
public SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes.Builder allowedNetwork(String allowedNetwork)
Set the allowedNetwork.- Parameters:
allowedNetwork
- the allowedNetwork- Returns:
- the SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes builder
-
allowedIp
public SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes.Builder allowedIp(List<String> allowedIp)
Set the allowedIp. Existing allowedIp will be replaced.- Parameters:
allowedIp
- the allowedIp- Returns:
- the SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes builder
-
createRootKey
public SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes.Builder createRootKey(Boolean createRootKey)
Set the createRootKey.- Parameters:
createRootKey
- the createRootKey- Returns:
- the SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes builder
-
createStandardKey
public SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes.Builder createStandardKey(Boolean createStandardKey)
Set the createStandardKey.- Parameters:
createStandardKey
- the createStandardKey- Returns:
- the SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes builder
-
importRootKey
public SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes.Builder importRootKey(Boolean importRootKey)
Set the importRootKey.- Parameters:
importRootKey
- the importRootKey- Returns:
- the SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes builder
-
importStandardKey
public SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes.Builder importStandardKey(Boolean importStandardKey)
Set the importStandardKey.- Parameters:
importStandardKey
- the importStandardKey- Returns:
- the SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes builder
-
enforceToken
public SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes.Builder enforceToken(Boolean enforceToken)
Set the enforceToken.- Parameters:
enforceToken
- the enforceToken- Returns:
- the SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes builder
-
intervalMonth
public SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes.Builder intervalMonth(long intervalMonth)
Set the intervalMonth.- Parameters:
intervalMonth
- the intervalMonth- Returns:
- the SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes builder
-
-