Class ApiMetadata.Builder
- java.lang.Object
- 
- com.oracle.bmc.apiaccesscontrol.model.ApiMetadata.Builder
 
- 
- Enclosing class:
- ApiMetadata
 
 public static class ApiMetadata.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiMetadata.BuilderapiName(String apiName)The name of the api to execute the api request.ApiMetadatabuild()ApiMetadata.Buildercopy(ApiMetadata model)ApiMetadata.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ApiMetadata.BuilderdisplayName(String displayName)The operation Name of the api.ApiMetadata.BuilderentityType(String entityType)ResourceType to which the apiMetadata belongs to.ApiMetadata.Builderfields(List<String> fields)List of the fields that is use while calling post or put for the data.ApiMetadata.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ApiMetadata.Builderid(String id)The OCID of the ApiDetail.ApiMetadata.BuilderlifecycleDetails(String lifecycleDetails)A message that describes the current state of the ApiMetadata in more detail.ApiMetadata.BuilderlifecycleState(ApiMetadata.LifecycleState lifecycleState)The current state of the ApiMetadata.ApiMetadata.Builderpath(String path)rest path of the api.ApiMetadata.BuilderserviceName(String serviceName)The service Name to which the api belongs to.ApiMetadata.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ApiMetadata.BuildertimeCreated(Date timeCreated)The date and time the PrivilegedApiControl was created, in the format defined by RFC 3339.ApiMetadata.BuildertimeDeleted(Date timeDeleted)The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339.ApiMetadata.BuildertimeUpdated(Date timeUpdated)The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339.
 
- 
- 
- 
Method Detail- 
idpublic ApiMetadata.Builder id(String id) The OCID of the ApiDetail.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
serviceNamepublic ApiMetadata.Builder serviceName(String serviceName) The service Name to which the api belongs to.- Parameters:
- serviceName- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ApiMetadata.Builder displayName(String displayName) The operation Name of the api.The name must be unique. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
pathpublic ApiMetadata.Builder path(String path) rest path of the api.- Parameters:
- path- the value to set
- Returns:
- this builder
 
 - 
entityTypepublic ApiMetadata.Builder entityType(String entityType) ResourceType to which the apiMetadata belongs to.- Parameters:
- entityType- the value to set
- Returns:
- this builder
 
 - 
apiNamepublic ApiMetadata.Builder apiName(String apiName) The name of the api to execute the api request.- Parameters:
- apiName- the value to set
- Returns:
- this builder
 
 - 
fieldspublic ApiMetadata.Builder fields(List<String> fields) List of the fields that is use while calling post or put for the data.- Parameters:
- fields- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ApiMetadata.Builder timeCreated(Date timeCreated) The date and time the PrivilegedApiControl was created, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic ApiMetadata.Builder timeUpdated(Date timeUpdated) The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
timeDeletedpublic ApiMetadata.Builder timeDeleted(Date timeDeleted) The date and time the PrivilegedApiControl was marked for delete, in the format defined by RFC 3339.Example: 2016-08-25T21:10:29.600Z - Parameters:
- timeDeleted- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ApiMetadata.Builder lifecycleState(ApiMetadata.LifecycleState lifecycleState) The current state of the ApiMetadata.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic ApiMetadata.Builder lifecycleDetails(String lifecycleDetails) A message that describes the current state of the ApiMetadata in more detail.For example, can be used to provide actionable information for a resource in the Failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic ApiMetadata.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"} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic ApiMetadata.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"}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic ApiMetadata.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic ApiMetadata build() 
 - 
copypublic ApiMetadata.Builder copy(ApiMetadata model) 
 
- 
 
-