Interface AssetRelationshipSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AssetRelationshipSummary.Builder,,AssetRelationshipSummary> SdkBuilder<AssetRelationshipSummary.Builder,,AssetRelationshipSummary> SdkPojo
- Enclosing class:
AssetRelationshipSummary
-
Method Summary
Modifier and TypeMethodDescriptiondefault AssetRelationshipSummary.BuilderhierarchyInfo(Consumer<AssetHierarchyInfo.Builder> hierarchyInfo) The assets that are related through an asset hierarchy.hierarchyInfo(AssetHierarchyInfo hierarchyInfo) The assets that are related through an asset hierarchy.relationshipType(String relationshipType) The relationship type of the assets in this relationship.relationshipType(AssetRelationshipType relationshipType) The relationship type of the assets in this relationship.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
hierarchyInfo
The assets that are related through an asset hierarchy.
This object is present if the
relationshipTypeisHIERARCHY.- Parameters:
hierarchyInfo- The assets that are related through an asset hierarchy.This object is present if the
relationshipTypeisHIERARCHY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hierarchyInfo
default AssetRelationshipSummary.Builder hierarchyInfo(Consumer<AssetHierarchyInfo.Builder> hierarchyInfo) The assets that are related through an asset hierarchy.
This object is present if the
This is a convenience method that creates an instance of therelationshipTypeisHIERARCHY.AssetHierarchyInfo.Builderavoiding the need to create one manually viaAssetHierarchyInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohierarchyInfo(AssetHierarchyInfo).- Parameters:
hierarchyInfo- a consumer that will call methods onAssetHierarchyInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
relationshipType
The relationship type of the assets in this relationship. This value is one of the following:
-
HIERARCHY– The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes thehierarchyInfoobject.
- Parameters:
relationshipType- The relationship type of the assets in this relationship. This value is one of the following:-
HIERARCHY– The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes thehierarchyInfoobject.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
relationshipType
The relationship type of the assets in this relationship. This value is one of the following:
-
HIERARCHY– The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes thehierarchyInfoobject.
- Parameters:
relationshipType- The relationship type of the assets in this relationship. This value is one of the following:-
HIERARCHY– The assets are related through an asset hierarchy. If you specify this relationship type, this asset relationship includes thehierarchyInfoobject.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-