public static class ManagedList.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ManagedList |
build() |
ManagedList.Builder |
compartmentId(String compartmentId)
Compartment OCID where the resource is created
|
ManagedList.Builder |
copy(ManagedList model) |
ManagedList.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ManagedList.Builder |
description(String description)
Managed list description
|
ManagedList.Builder |
displayName(String displayName)
Managed list display name
|
ManagedList.Builder |
feedProvider(FeedProviderType feedProvider)
Provider of the managed list feed
|
ManagedList.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ManagedList.Builder |
id(String id)
Unique identifier that can’t be changed after creation
|
ManagedList.Builder |
isEditable(Boolean isEditable)
Is this list editable?
|
ManagedList.Builder |
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource
|
ManagedList.Builder |
lifecyleDetails(String lifecyleDetails)
A message describing the current state in more detail.
|
ManagedList.Builder |
listItems(List<String> listItems)
List of items in the managed list
|
ManagedList.Builder |
listType(ManagedListType listType)
Type of information contained in the managed list
|
ManagedList.Builder |
sourceManagedListId(String sourceManagedListId)
OCID of the source managed list
|
ManagedList.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ManagedList.Builder |
timeCreated(Date timeCreated)
The date and time the managed list was created.
|
ManagedList.Builder |
timeUpdated(Date timeUpdated)
The date and time the managed list was last updated.
|
public ManagedList.Builder id(String id)
Unique identifier that can’t be changed after creation
id
- the value to setpublic ManagedList.Builder displayName(String displayName)
Managed list display name
displayName
- the value to setpublic ManagedList.Builder description(String description)
Managed list description
description
- the value to setpublic ManagedList.Builder compartmentId(String compartmentId)
Compartment OCID where the resource is created
compartmentId
- the value to setpublic ManagedList.Builder sourceManagedListId(String sourceManagedListId)
OCID of the source managed list
sourceManagedListId
- the value to setpublic ManagedList.Builder listType(ManagedListType listType)
Type of information contained in the managed list
listType
- the value to setpublic ManagedList.Builder listItems(List<String> listItems)
List of items in the managed list
listItems
- the value to setpublic ManagedList.Builder feedProvider(FeedProviderType feedProvider)
Provider of the managed list feed
feedProvider
- the value to setpublic ManagedList.Builder isEditable(Boolean isEditable)
Is this list editable?
isEditable
- the value to setpublic ManagedList.Builder timeCreated(Date timeCreated)
The date and time the managed list was created. Format defined by RFC3339.
timeCreated
- the value to setpublic ManagedList.Builder timeUpdated(Date timeUpdated)
The date and time the managed list was last updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic ManagedList.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the resource
lifecycleState
- the value to setpublic 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]
lifecyleDetails
- the value to setpublic 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.
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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"}}
systemTags
- the value to setpublic ManagedList build()
public ManagedList.Builder copy(ManagedList model)
Copyright © 2016–2024. All rights reserved.