public static class CreateContainerRepositoryDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateContainerRepositoryDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to create the resource.
compartmentId
- the value to setpublic CreateContainerRepositoryDetails.Builder displayName(String displayName)
The container repository name.
displayName
- the value to setpublic CreateContainerRepositoryDetails.Builder isImmutable(Boolean isImmutable)
Whether the repository is immutable. Images cannot be overwritten in an immutable repository.
isImmutable
- the value to setpublic CreateContainerRepositoryDetails.Builder isPublic(Boolean isPublic)
Whether the repository is public. A public repository allows unauthenticated access.
isPublic
- the value to setpublic CreateContainerRepositoryDetails.Builder readme(ContainerRepositoryReadme readme)
public CreateContainerRepositoryDetails.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 CreateContainerRepositoryDetails.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 CreateContainerRepositoryDetails build()
public CreateContainerRepositoryDetails.Builder copy(CreateContainerRepositoryDetails model)
Copyright © 2016–2024. All rights reserved.