public static class NamedCredentialSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NamedCredentialSummary |
build() |
NamedCredentialSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment in which the named credential resides.
|
NamedCredentialSummary.Builder |
copy(NamedCredentialSummary model) |
NamedCredentialSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
NamedCredentialSummary.Builder |
description(String description)
The information specified by the user about the named credential.
|
NamedCredentialSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
NamedCredentialSummary.Builder |
id(String id)
The OCID of the
named credential.
|
NamedCredentialSummary.Builder |
lifecycleDetails(String lifecycleDetails)
The details of the lifecycle state.
|
NamedCredentialSummary.Builder |
lifecycleState(LifecycleStates lifecycleState)
The current lifecycle state of the named credential.
|
NamedCredentialSummary.Builder |
name(String name)
The name of the named credential.
|
NamedCredentialSummary.Builder |
scope(NamedCredentialScope scope)
The scope of the named credential.
|
NamedCredentialSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
NamedCredentialSummary.Builder |
timeCreated(Date timeCreated)
The date and time the named credential was created.
|
NamedCredentialSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the named credential was last updated.
|
NamedCredentialSummary.Builder |
type(ResourceType type)
The type of resource associated with the named credential.
|
public NamedCredentialSummary.Builder id(String id)
The OCID of the named credential.
id
- the value to setpublic NamedCredentialSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment in which the named credential resides.
compartmentId
- the value to setpublic NamedCredentialSummary.Builder name(String name)
The name of the named credential. Valid characters are uppercase or lowercase letters, numbers, and “_”. The name of the named credential cannot be modified. It must be unique in the compartment and must begin with an alphabetic character.
name
- the value to setpublic NamedCredentialSummary.Builder description(String description)
The information specified by the user about the named credential.
description
- the value to setpublic NamedCredentialSummary.Builder scope(NamedCredentialScope scope)
The scope of the named credential.
scope
- the value to setpublic NamedCredentialSummary.Builder type(ResourceType type)
The type of resource associated with the named credential.
type
- the value to setpublic NamedCredentialSummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current lifecycle state of the named credential.
lifecycleState
- the value to setpublic NamedCredentialSummary.Builder lifecycleDetails(String lifecycleDetails)
The details of the lifecycle state.
lifecycleDetails
- the value to setpublic NamedCredentialSummary.Builder timeCreated(Date timeCreated)
The date and time the named credential was created.
timeCreated
- the value to setpublic NamedCredentialSummary.Builder timeUpdated(Date timeUpdated)
The date and time the named credential was last updated.
timeUpdated
- the value to setpublic NamedCredentialSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. For more information, see Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic NamedCredentialSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For
more information, see Resource
Tags. Example:
{"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic NamedCredentialSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic NamedCredentialSummary build()
public NamedCredentialSummary.Builder copy(NamedCredentialSummary model)
Copyright © 2016–2024. All rights reserved.