Interface AssetRelationshipSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AssetRelationshipSummary.Builder,AssetRelationshipSummary>,SdkBuilder<AssetRelationshipSummary.Builder,AssetRelationshipSummary>,SdkPojo
- Enclosing class:
- AssetRelationshipSummary
public static interface AssetRelationshipSummary.Builder extends SdkPojo, CopyableBuilder<AssetRelationshipSummary.Builder,AssetRelationshipSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AssetRelationshipSummary.BuilderhierarchyInfo(Consumer<AssetHierarchyInfo.Builder> hierarchyInfo)The assets that are related through an asset hierarchy.AssetRelationshipSummary.BuilderhierarchyInfo(AssetHierarchyInfo hierarchyInfo)The assets that are related through an asset hierarchy.AssetRelationshipSummary.BuilderrelationshipType(String relationshipType)The relationship type of the assets in this relationship.AssetRelationshipSummary.BuilderrelationshipType(AssetRelationshipType relationshipType)The relationship type of the assets in this relationship.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
hierarchyInfo
AssetRelationshipSummary.Builder hierarchyInfo(AssetHierarchyInfo 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:
hierarchyInfo(AssetHierarchyInfo)
-
relationshipType
AssetRelationshipSummary.Builder relationshipType(String 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:
AssetRelationshipType,AssetRelationshipType
-
-
relationshipType
AssetRelationshipSummary.Builder relationshipType(AssetRelationshipType 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:
AssetRelationshipType,AssetRelationshipType
-
-
-