public static class ContainerScanTarget.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ContainerScanTarget |
build() |
ContainerScanTarget.Builder |
compartmentId(String compartmentId)
The OCID
of the container scan target’s compartment
|
ContainerScanTarget.Builder |
containerScanRecipeId(String containerScanRecipeId)
ID of the container scan recipe this target applies.
|
ContainerScanTarget.Builder |
copy(ContainerScanTarget model) |
ContainerScanTarget.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ContainerScanTarget.Builder |
description(String description)
Target description.
|
ContainerScanTarget.Builder |
displayName(String displayName)
User friendly name of container scan target
|
ContainerScanTarget.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ContainerScanTarget.Builder |
id(String id)
The OCID
of container scan target.
|
ContainerScanTarget.Builder |
lifecycleState(LifecycleState lifecycleState)
The current state of the config.
|
ContainerScanTarget.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
ContainerScanTarget.Builder |
targetRegistry(ContainerScanRegistry targetRegistry) |
ContainerScanTarget.Builder |
timeCreated(Date timeCreated)
Date and time the target was created, format as described in RFC
3339
|
ContainerScanTarget.Builder |
timeUpdated(Date timeUpdated)
Date and time the target was last updated, format as described in RFC
3339
|
public ContainerScanTarget.Builder id(String id)
The OCID of container scan target. Immutable and generated on creation.
id
- the value to setpublic ContainerScanTarget.Builder displayName(String displayName)
User friendly name of container scan target
displayName
- the value to setpublic ContainerScanTarget.Builder description(String description)
Target description.
description
- the value to setpublic ContainerScanTarget.Builder compartmentId(String compartmentId)
The OCID of the container scan target’s compartment
compartmentId
- the value to setpublic ContainerScanTarget.Builder targetRegistry(ContainerScanRegistry targetRegistry)
public ContainerScanTarget.Builder containerScanRecipeId(String containerScanRecipeId)
ID of the container scan recipe this target applies.
containerScanRecipeId
- the value to setpublic ContainerScanTarget.Builder lifecycleState(LifecycleState lifecycleState)
The current state of the config.
lifecycleState
- the value to setpublic ContainerScanTarget.Builder timeCreated(Date timeCreated)
Date and time the target was created, format as described in RFC 3339
timeCreated
- the value to setpublic ContainerScanTarget.Builder timeUpdated(Date timeUpdated)
Date and time the target was last updated, format as described in RFC 3339
timeUpdated
- the value to setpublic ContainerScanTarget.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"}
freeformTags
- the value to setpublic ContainerScanTarget.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"}}
definedTags
- the value to setpublic ContainerScanTarget.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"}}
systemTags
- the value to setpublic ContainerScanTarget build()
public ContainerScanTarget.Builder copy(ContainerScanTarget model)
Copyright © 2016–2024. All rights reserved.