Class ApmDomain.Builder
- java.lang.Object
-
- com.oracle.bmc.apmcontrolplane.model.ApmDomain.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApmDomainbuild()ApmDomain.BuildercompartmentId(String compartmentId)The OCID of the compartment corresponding to the APM domain.ApmDomain.Buildercopy(ApmDomain model)ApmDomain.BuilderdataUploadEndpoint(String dataUploadEndpoint)The endpoint where the APM agents upload their observations and metrics.ApmDomain.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ApmDomain.Builderdescription(String description)Description of the APM domain.ApmDomain.BuilderdisplayName(String displayName)Display name of the APM domain, which can be updated.ApmDomain.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ApmDomain.Builderid(String id)Unique identifier that is immutable on creation.ApmDomain.BuilderisFreeTier(Boolean isFreeTier)Indicates if this is an Always Free resource.ApmDomain.BuilderlifecycleState(LifecycleStates lifecycleState)The current lifecycle state of the APM domain.ApmDomain.BuildertimeCreated(Date timeCreated)The time the APM domain was created, expressed in RFC 3339 timestamp format.ApmDomain.BuildertimeUpdated(Date timeUpdated)The time the APM domain was updated, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
dataUploadEndpoint
public ApmDomain.Builder dataUploadEndpoint(String dataUploadEndpoint)
The endpoint where the APM agents upload their observations and metrics.- Parameters:
dataUploadEndpoint- the value to set- Returns:
- this builder
-
id
public ApmDomain.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public ApmDomain.Builder displayName(String displayName)
Display name of the APM domain, which can be updated.- Parameters:
displayName- the value to set- Returns:
- this builder
-
description
public ApmDomain.Builder description(String description)
Description of the APM domain.- Parameters:
description- the value to set- Returns:
- this builder
-
compartmentId
public ApmDomain.Builder compartmentId(String compartmentId)
The OCID of the compartment corresponding to the APM domain.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
lifecycleState
public ApmDomain.Builder lifecycleState(LifecycleStates lifecycleState)
The current lifecycle state of the APM domain.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
isFreeTier
public ApmDomain.Builder isFreeTier(Boolean isFreeTier)
Indicates if this is an Always Free resource.- Parameters:
isFreeTier- the value to set- Returns:
- this builder
-
timeCreated
public ApmDomain.Builder timeCreated(Date timeCreated)
The time the APM domain was created, expressed in RFC 3339 timestamp format.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public ApmDomain.Builder timeUpdated(Date timeUpdated)
The time the APM domain was updated, expressed in RFC 3339 timestamp format.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
freeformTags
public ApmDomain.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 ApmDomain.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
-
build
public ApmDomain build()
-
copy
public ApmDomain.Builder copy(ApmDomain model)
-
-