Class SearchAssociatedResourcesDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.stackmonitoring.model.SearchAssociatedResourcesDetails.Builder
-
- Enclosing class:
- SearchAssociatedResourcesDetails
public static class SearchAssociatedResourcesDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchAssociatedResourcesDetails.BuilderassociationTypes(List<String> associationTypes)Association types filter to be searched for finding associated resources.SearchAssociatedResourcesDetailsbuild()SearchAssociatedResourcesDetails.BuildercompartmentId(String compartmentId)Compartment Identifier OCID.SearchAssociatedResourcesDetails.Buildercopy(SearchAssociatedResourcesDetails model)SearchAssociatedResourcesDetails.BuilderlimitLevel(Integer limitLevel)The field which determines the depth of hierarchy while searching for associated resources.SearchAssociatedResourcesDetails.BuilderresourceId(String resourceId)Monitored resource identifier for which the associated resources should be fetched.SearchAssociatedResourcesDetails.BuilderresourceType(String resourceType)A filter to return associated resources that match resources of type.
-
-
-
Method Detail
-
compartmentId
public SearchAssociatedResourcesDetails.Builder compartmentId(String compartmentId)
Compartment Identifier OCID.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
resourceType
public SearchAssociatedResourcesDetails.Builder resourceType(String resourceType)
A filter to return associated resources that match resources of type.Either resourceId or resourceType should be provided.
- Parameters:
resourceType- the value to set- Returns:
- this builder
-
resourceId
public SearchAssociatedResourcesDetails.Builder resourceId(String resourceId)
Monitored resource identifier for which the associated resources should be fetched.Either resourceId or resourceType should be provided.
- Parameters:
resourceId- the value to set- Returns:
- this builder
-
limitLevel
public 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.
- Parameters:
limitLevel- the value to set- Returns:
- this builder
-
associationTypes
public SearchAssociatedResourcesDetails.Builder associationTypes(List<String> associationTypes)
Association types filter to be searched for finding associated resources.- Parameters:
associationTypes- the value to set- Returns:
- this builder
-
build
public SearchAssociatedResourcesDetails build()
-
copy
public SearchAssociatedResourcesDetails.Builder copy(SearchAssociatedResourcesDetails model)
-
-