Class ApiMetadataSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.apiaccesscontrol.model.ApiMetadataSummary.Builder
-
- Enclosing class:
- ApiMetadataSummary
public static class ApiMetadataSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiMetadataSummary.BuilderapiName(String apiName)The name of the api to execute the api request.ApiMetadataSummary.Builderattributes(List<String> attributes)List of the fields that is use while calling post or put for the data.ApiMetadataSummarybuild()ApiMetadataSummary.Buildercopy(ApiMetadataSummary model)ApiMetadataSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ApiMetadataSummary.BuilderdisplayName(String displayName)Name of the Api.ApiMetadataSummary.BuilderentityType(String entityType)EntityType to which the apiMetadata belongs to.ApiMetadataSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.ApiMetadataSummary.Builderid(String id)The OCID of the ApiDetail.ApiMetadataSummary.BuilderlifecycleDetails(String lifecycleDetails)A message that describes the current state of the ApiMetadata in more detail.ApiMetadataSummary.BuilderlifecycleState(ApiMetadata.LifecycleState lifecycleState)The current state of the ApiMetadata.ApiMetadataSummary.BuilderserviceName(String serviceName)The service Name to which the Api belongs to.ApiMetadataSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.ApiMetadataSummary.BuildertimeCreated(Date timeCreated)The date and time the PrivilegedApiControl was created, in the format defined by RFC 3339.ApiMetadataSummary.BuildertimeUpdated(Date timeUpdated)The date and time the PrivilegedApiControl was updated, in the format defined by RFC 3339.
-
-
-
Method Detail
-
id
public ApiMetadataSummary.Builder id(String id)
The OCID of the ApiDetail.- Parameters:
id- the value to set- Returns:
- this builder
-
serviceName
public ApiMetadataSummary.Builder serviceName(String serviceName)
The service Name to which the Api belongs to.- Parameters:
serviceName- the value to set- Returns:
- this builder
-
displayName
public ApiMetadataSummary.Builder displayName(String displayName)
Name of the Api.- Parameters:
displayName- the value to set- Returns:
- this builder
-
entityType
public ApiMetadataSummary.Builder entityType(String entityType)
EntityType to which the apiMetadata belongs to.- Parameters:
entityType- the value to set- Returns:
- this builder
-
apiName
public ApiMetadataSummary.Builder apiName(String apiName)
The name of the api to execute the api request.- Parameters:
apiName- the value to set- Returns:
- this builder
-
attributes
public ApiMetadataSummary.Builder attributes(List<String> attributes)
List of the fields that is use while calling post or put for the data.- Parameters:
attributes- the value to set- Returns:
- this builder
-
timeCreated
public ApiMetadataSummary.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
-
timeUpdated
public ApiMetadataSummary.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
-
lifecycleState
public ApiMetadataSummary.Builder lifecycleState(ApiMetadata.LifecycleState lifecycleState)
The current state of the ApiMetadata.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public ApiMetadataSummary.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
-
freeformTags
public ApiMetadataSummary.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
-
definedTags
public ApiMetadataSummary.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
-
systemTags
public ApiMetadataSummary.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
-
build
public ApiMetadataSummary build()
-
copy
public ApiMetadataSummary.Builder copy(ApiMetadataSummary model)
-
-