Package com.oracle.bmc.cloudguard.model
Class ManagedList.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.ManagedList.Builder
-
- Enclosing class:
- ManagedList
public static class ManagedList.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedListbuild()ManagedList.BuildercompartmentId(String compartmentId)Compartment OCID where the resource is createdManagedList.Buildercopy(ManagedList model)ManagedList.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ManagedList.Builderdescription(String description)Managed list descriptionManagedList.BuilderdisplayName(String displayName)Managed list display nameManagedList.BuilderfeedProvider(FeedProviderType feedProvider)Provider of the managed list feedManagedList.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ManagedList.Buildergroup(String group)Managed list type groupManagedList.Builderid(String id)Unique identifier that can’t be changed after creationManagedList.BuilderisEditable(Boolean isEditable)Is this list editable?ManagedList.BuilderlifecycleState(LifecycleState lifecycleState)The current lifecycle state of the resourceManagedList.BuilderlifecyleDetails(String lifecyleDetails)A message describing the current state in more detail.ManagedList.BuilderlistItems(List<String> listItems)List of items in the managed listManagedList.BuilderlistType(ManagedListType listType)Type of information contained in the managed listManagedList.BuildersourceManagedListId(String sourceManagedListId)OCID of the source managed listManagedList.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ManagedList.BuildertimeCreated(Date timeCreated)The date and time the managed list was created.ManagedList.BuildertimeUpdated(Date timeUpdated)The date and time the managed list was last updated.
-
-
-
Method Detail
-
id
public ManagedList.Builder id(String id)
Unique identifier that can’t be changed after creation- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public ManagedList.Builder displayName(String displayName)
Managed list display name- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public ManagedList.Builder description(String description)
Managed list description- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public ManagedList.Builder compartmentId(String compartmentId)
Compartment OCID where the resource is created- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
sourceManagedListId
public ManagedList.Builder sourceManagedListId(String sourceManagedListId)
OCID of the source managed list- Parameters:
sourceManagedListId- the value to set- Returns:
- this builder
-
listType
public ManagedList.Builder listType(ManagedListType listType)
Type of information contained in the managed list- Parameters:
listType- the value to set- Returns:
- this builder
-
listItems
public ManagedList.Builder listItems(List<String> listItems)
List of items in the managed list- Parameters:
listItems- the value to set- Returns:
- this builder
-
group
public ManagedList.Builder group(String group)
Managed list type group- Parameters:
group- the value to set- Returns:
- this builder
-
feedProvider
public ManagedList.Builder feedProvider(FeedProviderType feedProvider)
Provider of the managed list feed- Parameters:
feedProvider- the value to set- Returns:
- this builder
-
isEditable
public ManagedList.Builder isEditable(Boolean isEditable)
Is this list editable?- Parameters:
isEditable- the value to set- Returns:
- this builder
-
timeCreated
public ManagedList.Builder timeCreated(Date timeCreated)
The date and time the managed list was created.Format defined by RFC3339.
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ManagedList.Builder timeUpdated(Date timeUpdated)
The date and time the managed list was last updated.Format defined by RFC3339.
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
lifecycleState
public ManagedList.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecyleDetails
public ManagedList.Builder lifecyleDetails(String lifecyleDetails)
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state. [DEPRECATE]
- Parameters:
lifecyleDetails- the value to set- Returns:
- this builder
-
freeformTags
public ManagedList.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Avoid entering confidential information.
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ManagedList.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
systemTags
public ManagedList.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public ManagedList build()
-
copy
public ManagedList.Builder copy(ManagedList model)
-
-