Package com.oracle.bmc.cloudbridge.model
Class AgentDependency.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudbridge.model.AgentDependency.Builder
-
- Enclosing class:
- AgentDependency
public static class AgentDependency.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentDependency.Builder
bucket(String bucket)
Object storage bucket where the Agent dependency is uploaded.AgentDependency
build()
AgentDependency.Builder
checksum(String checksum)
The checksum associated with the dependency object returned by Object Storage.AgentDependency.Builder
compartmentId(String compartmentId)
Compartment identifierAgentDependency.Builder
copy(AgentDependency model)
AgentDependency.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.AgentDependency.Builder
dependencyName(String dependencyName)
Name of the dependency type.AgentDependency.Builder
dependencyVersion(String dependencyVersion)
Version of the Agent dependency.AgentDependency.Builder
description(String description)
Description about the Agent dependency.AgentDependency.Builder
displayName(String displayName)
Display name of the Agent dependency.AgentDependency.Builder
eTag(String eTag)
The eTag associated with the dependency object returned by Object Storage.AgentDependency.Builder
freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.AgentDependency.Builder
id(String id)
Unique identifier that is immutable on creation.AgentDependency.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.AgentDependency.Builder
lifecycleState(AgentDependency.LifecycleState lifecycleState)
The current state of AgentDependency.AgentDependency.Builder
namespace(String namespace)
Object storage namespace associated with the customer’s tenancy.AgentDependency.Builder
objectName(String objectName)
Name of the dependency object uploaded by the customer.AgentDependency.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.AgentDependency.Builder
timeCreated(Date timeCreated)
The time when the AgentDependency was created.
-
-
-
Method Detail
-
id
public AgentDependency.Builder id(String id)
Unique identifier that is immutable on creation.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public AgentDependency.Builder displayName(String displayName)
Display name of the Agent dependency.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public AgentDependency.Builder compartmentId(String compartmentId)
Compartment identifier- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
dependencyName
public AgentDependency.Builder dependencyName(String dependencyName)
Name of the dependency type.This should match the whitelisted enum of dependency names.
- Parameters:
dependencyName
- the value to set- Returns:
- this builder
-
dependencyVersion
public AgentDependency.Builder dependencyVersion(String dependencyVersion)
Version of the Agent dependency.- Parameters:
dependencyVersion
- the value to set- Returns:
- this builder
-
description
public AgentDependency.Builder description(String description)
Description about the Agent dependency.- Parameters:
description
- the value to set- Returns:
- this builder
-
namespace
public AgentDependency.Builder namespace(String namespace)
Object storage namespace associated with the customer’s tenancy.- Parameters:
namespace
- the value to set- Returns:
- this builder
-
bucket
public AgentDependency.Builder bucket(String bucket)
Object storage bucket where the Agent dependency is uploaded.- Parameters:
bucket
- the value to set- Returns:
- this builder
-
objectName
public AgentDependency.Builder objectName(String objectName)
Name of the dependency object uploaded by the customer.- Parameters:
objectName
- the value to set- Returns:
- this builder
-
timeCreated
public AgentDependency.Builder timeCreated(Date timeCreated)
The time when the AgentDependency was created.An RFC3339 formatted datetime string.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
eTag
public AgentDependency.Builder eTag(String eTag)
The eTag associated with the dependency object returned by Object Storage.- Parameters:
eTag
- the value to set- Returns:
- this builder
-
checksum
public AgentDependency.Builder checksum(String checksum)
The checksum associated with the dependency object returned by Object Storage.- Parameters:
checksum
- the value to set- Returns:
- this builder
-
lifecycleState
public AgentDependency.Builder lifecycleState(AgentDependency.LifecycleState lifecycleState)
The current state of AgentDependency.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public AgentDependency.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.For example, it can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
freeformTags
public AgentDependency.Builder freeformTags(Map<String,String> freeformTags)
The freeform tags associated with this resource, if any.Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public AgentDependency.Builder definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags associated with this resource, if any.Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public AgentDependency.Builder systemTags(Map<String,Map<String,Object>> systemTags)
The system tags associated with this resource, if any.The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public AgentDependency build()
-
copy
public AgentDependency.Builder copy(AgentDependency model)
-
-