public static class DynamicGroup.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DynamicGroup |
build() |
DynamicGroup.Builder |
compartmentId(String compartmentId)
The OCID of the tenancy containing the group.
|
DynamicGroup.Builder |
copy(DynamicGroup model) |
DynamicGroup.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
DynamicGroup.Builder |
description(String description)
The description you assign to the group.
|
DynamicGroup.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
DynamicGroup.Builder |
id(String id)
The OCID of the group.
|
DynamicGroup.Builder |
inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState.
|
DynamicGroup.Builder |
lifecycleState(DynamicGroup.LifecycleState lifecycleState)
The group’s current state.
|
DynamicGroup.Builder |
matchingRule(String matchingRule)
A rule string that defines which instance certificates will be matched.
|
DynamicGroup.Builder |
name(String name)
The name you assign to the group during creation.
|
DynamicGroup.Builder |
timeCreated(Date timeCreated)
Date and time the group was created, in the format defined by RFC3339.
|
public DynamicGroup.Builder id(String id)
The OCID of the group.
id
- the value to setpublic DynamicGroup.Builder compartmentId(String compartmentId)
The OCID of the tenancy containing the group.
compartmentId
- the value to setpublic DynamicGroup.Builder name(String name)
The name you assign to the group during creation. The name must be unique across all groups in the tenancy and cannot be changed.
name
- the value to setpublic DynamicGroup.Builder description(String description)
The description you assign to the group. Does not have to be unique, and it’s changeable.
(For tenancies that support identity domains) You can have an empty description.
description
- the value to setpublic DynamicGroup.Builder matchingRule(String matchingRule)
A rule string that defines which instance certificates will be matched. For syntax, see Managing Dynamic Groups.
matchingRule
- the value to setpublic DynamicGroup.Builder timeCreated(Date timeCreated)
Date and time the group was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic DynamicGroup.Builder lifecycleState(DynamicGroup.LifecycleState lifecycleState)
The group’s current state. After creating a group, make sure its lifecycleState
changes from CREATING to ACTIVE before using it.
lifecycleState
- the value to setpublic DynamicGroup.Builder inactiveStatus(Long inactiveStatus)
The detailed status of INACTIVE lifecycleState.
inactiveStatus
- the value to setpublic DynamicGroup.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 DynamicGroup.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 DynamicGroup build()
public DynamicGroup.Builder copy(DynamicGroup model)
Copyright © 2016–2024. All rights reserved.