Class NamedCredentialSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.managementagent.model.NamedCredentialSummary.Builder
-
- Enclosing class:
- NamedCredentialSummary
public static class NamedCredentialSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamedCredentialSummarybuild()NamedCredentialSummary.Buildercopy(NamedCredentialSummary model)NamedCredentialSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.NamedCredentialSummary.Builderdescription(String description)Description of the Named Credential.NamedCredentialSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.NamedCredentialSummary.Builderid(String id)Identifier for Named Credential.NamedCredentialSummary.BuilderlifecycleState(NamedCredential.LifecycleState lifecycleState)The current state of the named credentialNamedCredentialSummary.BuildermanagementAgentId(String managementAgentId)The Management Agent this named credential is associated with.NamedCredentialSummary.Buildername(String name)Name for Named Credential.NamedCredentialSummary.Builderproperties(List<NamedCredentialProperty> properties)Properties for the named credentialNamedCredentialSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)Usage of system tag keys.NamedCredentialSummary.BuildertimeCreated(Date timeCreated)The time the Named Credential was created.NamedCredentialSummary.BuildertimeUpdated(Date timeUpdated)The time the Named Credential data was last updated.NamedCredentialSummary.Buildertype(String type)Type of the Named Credential
-
-
-
Method Detail
-
id
public NamedCredentialSummary.Builder id(String id)
Identifier for Named Credential.This is the NamedCredential resource OCID.
- Parameters:
id- the value to set- Returns:
- this builder
-
name
public NamedCredentialSummary.Builder name(String name)
Name for Named Credential.This is unique for the Management Agent.
- Parameters:
name- the value to set- Returns:
- this builder
-
type
public NamedCredentialSummary.Builder type(String type)
Type of the Named Credential- Parameters:
type- the value to set- Returns:
- this builder
-
managementAgentId
public NamedCredentialSummary.Builder managementAgentId(String managementAgentId)
The Management Agent this named credential is associated with.This is the ManagementAgent resource OCID.
- Parameters:
managementAgentId- the value to set- Returns:
- this builder
-
description
public NamedCredentialSummary.Builder description(String description)
Description of the Named Credential.- Parameters:
description- the value to set- Returns:
- this builder
-
timeCreated
public NamedCredentialSummary.Builder timeCreated(Date timeCreated)
The time the Named Credential was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public NamedCredentialSummary.Builder timeUpdated(Date timeUpdated)
The time the Named Credential data was last updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
properties
public NamedCredentialSummary.Builder properties(List<NamedCredentialProperty> properties)
Properties for the named credential- Parameters:
properties- the value to set- Returns:
- this builder
-
lifecycleState
public NamedCredentialSummary.Builder lifecycleState(NamedCredential.LifecycleState lifecycleState)
The current state of the named credential- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
freeformTags
public NamedCredentialSummary.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 NamedCredentialSummary.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
-
systemTags
public NamedCredentialSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.These predefined keys are scoped to namespaces. Example: { “orcl-cloud”: { “free-tier-retained”: “true” } }
- Parameters:
systemTags- the value to set- Returns:
- this builder
-
build
public NamedCredentialSummary build()
-
copy
public NamedCredentialSummary.Builder copy(NamedCredentialSummary model)
-
-