public static class Application.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Application.Builder |
applicationVersion(Integer applicationVersion)
The application’s version.
|
Application |
build() |
Application.Builder |
compartmentId(String compartmentId)
OCID of the compartment that this resource belongs to.
|
Application.Builder |
copy(Application model) |
Application.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
Application.Builder |
dependentObjectMetadata(List<PatchObjectMetadata> dependentObjectMetadata)
A list of dependent objects in this patch.
|
Application.Builder |
description(String description)
Detailed description for the object.
|
Application.Builder |
displayName(String displayName)
Free form text without any restriction on permitted characters.
|
Application.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Application.Builder |
id(String id)
OCID of the resource that is used to uniquely identify the application
|
Application.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.
|
Application.Builder |
key(String key)
Generated key that can be used in API calls to identify application.
|
Application.Builder |
keyMap(Map<String,String> keyMap)
A key map.
|
Application.Builder |
lifecycleState(Application.LifecycleState lifecycleState)
The current state of the workspace.
|
Application.Builder |
metadata(ObjectMetadata metadata) |
Application.Builder |
modelType(String modelType)
The object type.
|
Application.Builder |
modelVersion(String modelVersion)
The object’s model version.
|
Application.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
Application.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
Application.Builder |
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
|
Application.Builder |
parentRef(ParentReference parentRef) |
Application.Builder |
publishedObjectMetadata(Map<String,PatchObjectMetadata> publishedObjectMetadata)
A list of objects that are published or unpublished in this patch.
|
Application.Builder |
sourceApplicationInfo(SourceApplicationInfo sourceApplicationInfo) |
Application.Builder |
timeCreated(Date timeCreated)
The date and time the application was created, in the timestamp format defined by
RFC3339.
|
Application.Builder |
timePatched(Date timePatched)
The date and time the application was patched, in the timestamp format defined by
RFC3339.
|
Application.Builder |
timeUpdated(Date timeUpdated)
The date and time the application was updated, in the timestamp format defined by
RFC3339.
|
public Application.Builder key(String key)
Generated key that can be used in API calls to identify application.
key
- the value to setpublic Application.Builder modelType(String modelType)
The object type.
modelType
- the value to setpublic Application.Builder modelVersion(String modelVersion)
The object’s model version.
modelVersion
- the value to setpublic Application.Builder name(String name)
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
name
- the value to setpublic Application.Builder description(String description)
Detailed description for the object.
description
- the value to setpublic Application.Builder applicationVersion(Integer applicationVersion)
The application’s version.
applicationVersion
- the value to setpublic Application.Builder objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
objectStatus
- the value to setpublic Application.Builder identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
identifier
- the value to setpublic Application.Builder parentRef(ParentReference parentRef)
public Application.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
objectVersion
- the value to setpublic Application.Builder dependentObjectMetadata(List<PatchObjectMetadata> dependentObjectMetadata)
A list of dependent objects in this patch.
dependentObjectMetadata
- the value to setpublic Application.Builder publishedObjectMetadata(Map<String,PatchObjectMetadata> publishedObjectMetadata)
A list of objects that are published or unpublished in this patch.
publishedObjectMetadata
- the value to setpublic Application.Builder sourceApplicationInfo(SourceApplicationInfo sourceApplicationInfo)
public Application.Builder timePatched(Date timePatched)
The date and time the application was patched, in the timestamp format defined by RFC3339.
timePatched
- the value to setpublic Application.Builder id(String id)
OCID of the resource that is used to uniquely identify the application
id
- the value to setpublic Application.Builder compartmentId(String compartmentId)
OCID of the compartment that this resource belongs to. Defaults to compartment of the Workspace.
compartmentId
- the value to setpublic Application.Builder displayName(String displayName)
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
displayName
- the value to setpublic Application.Builder timeCreated(Date timeCreated)
The date and time the application was created, in the timestamp format defined by RFC3339.
timeCreated
- the value to setpublic Application.Builder timeUpdated(Date timeUpdated)
The date and time the application was updated, in the timestamp format defined by RFC3339. example: 2019-08-25T21:10:29.41Z
timeUpdated
- the value to setpublic Application.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"}
freeformTags
- the value to setpublic Application.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic Application.Builder lifecycleState(Application.LifecycleState lifecycleState)
The current state of the workspace.
lifecycleState
- the value to setpublic Application.Builder metadata(ObjectMetadata metadata)
public Application.Builder keyMap(Map<String,String> keyMap)
A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.
keyMap
- the value to setpublic Application build()
public Application.Builder copy(Application model)
Copyright © 2016–2024. All rights reserved.