public static class SearchAssociatedResourcesDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SearchAssociatedResourcesDetails.Builder |
associationTypes(List<String> associationTypes)
Association types filter to be searched for finding associated resources.
|
SearchAssociatedResourcesDetails |
build() |
SearchAssociatedResourcesDetails.Builder |
compartmentId(String compartmentId)
Compartment Identifier
OCID.
|
SearchAssociatedResourcesDetails.Builder |
copy(SearchAssociatedResourcesDetails model) |
SearchAssociatedResourcesDetails.Builder |
limitLevel(Integer limitLevel)
The field which determines the depth of hierarchy while searching for associated
resources.
|
SearchAssociatedResourcesDetails.Builder |
resourceId(String resourceId)
Monitored resource identifier for which the associated resources should be fetched.
|
SearchAssociatedResourcesDetails.Builder |
resourceType(String resourceType)
A filter to return associated resources that match resources of type.
|
public SearchAssociatedResourcesDetails.Builder compartmentId(String compartmentId)
Compartment Identifier OCID.
compartmentId
- the value to setpublic SearchAssociatedResourcesDetails.Builder resourceType(String resourceType)
A filter to return associated resources that match resources of type. Either resourceId or resourceType should be provided.
resourceType
- the value to setpublic SearchAssociatedResourcesDetails.Builder resourceId(String resourceId)
Monitored resource identifier for which the associated resources should be fetched. Either resourceId or resourceType should be provided.
resourceId
- the value to setpublic SearchAssociatedResourcesDetails.Builder limitLevel(Integer limitLevel)
The field which determines the depth of hierarchy while searching for associated resources. Possible values - 0 for all levels. And positive number to indicate different levels. Default value is 1, which indicates 1st level associations.
limitLevel
- the value to setpublic SearchAssociatedResourcesDetails.Builder associationTypes(List<String> associationTypes)
Association types filter to be searched for finding associated resources.
associationTypes
- the value to setpublic SearchAssociatedResourcesDetails build()
public SearchAssociatedResourcesDetails.Builder copy(SearchAssociatedResourcesDetails model)
Copyright © 2016–2024. All rights reserved.