Package com.oracle.bmc.cloudguard.model
Class ManagedListSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.model.ManagedListSummary.Builder
-
- Enclosing class:
- ManagedListSummary
public static class ManagedListSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedListSummarybuild()ManagedListSummary.BuildercompartmentId(String compartmentId)Compartment OCID where the resource is createdManagedListSummary.Buildercopy(ManagedListSummary model)ManagedListSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ManagedListSummary.Builderdescription(String description)Managed list descriptionManagedListSummary.BuilderdisplayName(String displayName)Managed list display nameManagedListSummary.BuilderfeedProvider(FeedProviderType feedProvider)Provider of the feedManagedListSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ManagedListSummary.Buildergroup(String group)Managed list type groupManagedListSummary.Builderid(String id)Unique identifier that can’t be changed after creationManagedListSummary.BuilderisEditable(Boolean isEditable)Is this list editable?ManagedListSummary.BuilderlifecycleState(LifecycleState lifecycleState)The current lifecycle state of the resourceManagedListSummary.BuilderlifecyleDetails(String lifecyleDetails)A message describing the current state in more detail.ManagedListSummary.BuilderlistItems(List<String> listItems)List of items in the managed listManagedListSummary.BuilderlistType(ManagedListType listType)Type of information stored in the managed listManagedListSummary.BuildersourceManagedListId(String sourceManagedListId)OCID of the source managed listManagedListSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ManagedListSummary.BuildertimeCreated(Date timeCreated)The date and time the managed list was created.ManagedListSummary.BuildertimeUpdated(Date timeUpdated)The date and time the managed list was last updated.
-
-
-
Method Detail
-
id
public ManagedListSummary.Builder id(String id)
Unique identifier that can’t be changed after creation- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public ManagedListSummary.Builder displayName(String displayName)
Managed list display name- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public ManagedListSummary.Builder description(String description)
Managed list description- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public ManagedListSummary.Builder compartmentId(String compartmentId)
Compartment OCID where the resource is created- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
sourceManagedListId
public ManagedListSummary.Builder sourceManagedListId(String sourceManagedListId)
OCID of the source managed list- Parameters:
sourceManagedListId- the value to set- Returns:
- this builder
-
listType
public ManagedListSummary.Builder listType(ManagedListType listType)
Type of information stored in the managed list- Parameters:
listType- the value to set- Returns:
- this builder
-
group
public ManagedListSummary.Builder group(String group)
Managed list type group- Parameters:
group- the value to set- Returns:
- this builder
-
feedProvider
public ManagedListSummary.Builder feedProvider(FeedProviderType feedProvider)
Provider of the feed- Parameters:
feedProvider- the value to set- Returns:
- this builder
-
isEditable
public ManagedListSummary.Builder isEditable(Boolean isEditable)
Is this list editable?- Parameters:
isEditable- the value to set- Returns:
- this builder
-
listItems
public ManagedListSummary.Builder listItems(List<String> listItems)
List of items in the managed list- Parameters:
listItems- the value to set- Returns:
- this builder
-
timeCreated
public ManagedListSummary.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 ManagedListSummary.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 ManagedListSummary.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecyleDetails
public ManagedListSummary.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 ManagedListSummary.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 ManagedListSummary.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 ManagedListSummary.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 ManagedListSummary build()
-
copy
public ManagedListSummary.Builder copy(ManagedListSummary model)
-
-