Class ApplicationSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.dataintegration.model.ApplicationSummary.Builder
-
- Enclosing class:
- ApplicationSummary
public static class ApplicationSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationSummary.BuilderapplicationVersion(Integer applicationVersion)The application’s version.ApplicationSummarybuild()ApplicationSummary.BuildercompartmentId(String compartmentId)OCID of the compartment that this resource belongs to.ApplicationSummary.Buildercopy(ApplicationSummary model)ApplicationSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Usage of predefined tag keys.ApplicationSummary.BuilderdependentObjectMetadata(List<PatchObjectMetadata> dependentObjectMetadata)A list of dependent objects in this patch.ApplicationSummary.Builderdescription(String description)Detailed description for the object.ApplicationSummary.BuilderdisplayName(String displayName)Free form text without any restriction on permitted characters.ApplicationSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ApplicationSummary.Builderid(String id)OCID of the resource that is used to uniquely identify the applicationApplicationSummary.Builderidentifier(String identifier)Value can only contain upper case letters, underscore, and numbers.ApplicationSummary.Builderkey(String key)Generated key that can be used in API calls to identify application.ApplicationSummary.BuilderkeyMap(Map<String,String> keyMap)A key map.ApplicationSummary.BuilderlifecycleState(ApplicationSummary.LifecycleState lifecycleState)The current state of the workspace.ApplicationSummary.Buildermetadata(ObjectMetadata metadata)ApplicationSummary.BuildermodelType(String modelType)The object type.ApplicationSummary.BuildermodelVersion(String modelVersion)The object’s model version.ApplicationSummary.Buildername(String name)Free form text without any restriction on permitted characters.ApplicationSummary.BuilderobjectStatus(Integer objectStatus)The status of an object that can be set to value 1 for shallow references across objects, other values reserved.ApplicationSummary.BuilderobjectVersion(Integer objectVersion)The version of the object that is used to track changes in the object instance.ApplicationSummary.BuilderparentRef(ParentReference parentRef)ApplicationSummary.BuilderpublishedObjectMetadata(Map<String,PatchObjectMetadata> publishedObjectMetadata)A list of objects that are published or unpublished in this patch.ApplicationSummary.BuildersourceApplicationInfo(SourceApplicationInfo sourceApplicationInfo)ApplicationSummary.BuildertimeCreated(Date timeCreated)The date and time the application was created, in the timestamp format defined by RFC3339.ApplicationSummary.BuildertimePatched(Date timePatched)The date and time the application was patched, in the timestamp format defined by RFC3339.ApplicationSummary.BuildertimeUpdated(Date timeUpdated)The date and time the application was updated, in the timestamp format defined by RFC3339.
-
-
-
Method Detail
-
key
public ApplicationSummary.Builder key(String key)
Generated key that can be used in API calls to identify application.- Parameters:
key- the value to set- Returns:
- this builder
-
modelType
public ApplicationSummary.Builder modelType(String modelType)
The object type.- Parameters:
modelType- the value to set- Returns:
- this builder
-
modelVersion
public ApplicationSummary.Builder modelVersion(String modelVersion)
The object’s model version.- Parameters:
modelVersion- the value to set- Returns:
- this builder
-
name
public ApplicationSummary.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.
- Parameters:
name- the value to set- Returns:
- this builder
-
description
public ApplicationSummary.Builder description(String description)
Detailed description for the object.- Parameters:
description- the value to set- Returns:
- this builder
-
applicationVersion
public ApplicationSummary.Builder applicationVersion(Integer applicationVersion)
The application’s version.- Parameters:
applicationVersion- the value to set- Returns:
- this builder
-
objectStatus
public ApplicationSummary.Builder objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.- Parameters:
objectStatus- the value to set- Returns:
- this builder
-
identifier
public ApplicationSummary.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.
- Parameters:
identifier- the value to set- Returns:
- this builder
-
parentRef
public ApplicationSummary.Builder parentRef(ParentReference parentRef)
-
objectVersion
public ApplicationSummary.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.- Parameters:
objectVersion- the value to set- Returns:
- this builder
-
dependentObjectMetadata
public ApplicationSummary.Builder dependentObjectMetadata(List<PatchObjectMetadata> dependentObjectMetadata)
A list of dependent objects in this patch.- Parameters:
dependentObjectMetadata- the value to set- Returns:
- this builder
-
publishedObjectMetadata
public ApplicationSummary.Builder publishedObjectMetadata(Map<String,PatchObjectMetadata> publishedObjectMetadata)
A list of objects that are published or unpublished in this patch.- Parameters:
publishedObjectMetadata- the value to set- Returns:
- this builder
-
sourceApplicationInfo
public ApplicationSummary.Builder sourceApplicationInfo(SourceApplicationInfo sourceApplicationInfo)
-
timePatched
public ApplicationSummary.Builder timePatched(Date timePatched)
The date and time the application was patched, in the timestamp format defined by RFC3339.- Parameters:
timePatched- the value to set- Returns:
- this builder
-
id
public ApplicationSummary.Builder id(String id)
OCID of the resource that is used to uniquely identify the application- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public ApplicationSummary.Builder compartmentId(String compartmentId)
OCID of the compartment that this resource belongs to.Defaults to compartment of the Workspace.
- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public ApplicationSummary.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.
- Parameters:
displayName- the value to set- Returns:
- this builder
-
timeCreated
public ApplicationSummary.Builder timeCreated(Date timeCreated)
The date and time the application was created, in the timestamp format defined by RFC3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ApplicationSummary.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
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public ApplicationSummary.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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public ApplicationSummary.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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
lifecycleState
public ApplicationSummary.Builder lifecycleState(ApplicationSummary.LifecycleState lifecycleState)
The current state of the workspace.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
metadata
public ApplicationSummary.Builder metadata(ObjectMetadata metadata)
-
keyMap
public ApplicationSummary.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.
- Parameters:
keyMap- the value to set- Returns:
- this builder
-
build
public ApplicationSummary build()
-
copy
public ApplicationSummary.Builder copy(ApplicationSummary model)
-
-