Interface Relationship.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Relationship.Builder,
,Relationship> SdkBuilder<Relationship.Builder,
,Relationship> SdkPojo
- Enclosing class:
Relationship
public static interface Relationship.Builder
extends SdkPojo, CopyableBuilder<Relationship.Builder,Relationship>
-
Method Summary
Modifier and TypeMethodDescriptionrelationshipName
(String relationshipName) The type of relationship with the related resource.resourceId
(String resourceId) The ID of the related resource (for example,sg-xxxxxx
).resourceName
(String resourceName) The custom name of the related resource, if available.resourceType
(String resourceType) The resource type of the related resource.resourceType
(ResourceType resourceType) The resource type of the related resource.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 Details
-
resourceType
The resource type of the related resource.
- Parameters:
resourceType
- The resource type of the related resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceType
The resource type of the related resource.
- Parameters:
resourceType
- The resource type of the related resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceId
The ID of the related resource (for example,
sg-xxxxxx
).- Parameters:
resourceId
- The ID of the related resource (for example,sg-xxxxxx
).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceName
The custom name of the related resource, if available.
- Parameters:
resourceName
- The custom name of the related resource, if available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relationshipName
The type of relationship with the related resource.
- Parameters:
relationshipName
- The type of relationship with the related resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-