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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Relationship.BuilderrelationshipName(String relationshipName)The type of relationship with the related resource.Relationship.BuilderresourceId(String resourceId)The ID of the related resource (for example,sg-xxxxxx).Relationship.BuilderresourceName(String resourceName)The custom name of the related resource, if available.Relationship.BuilderresourceType(String resourceType)The resource type of the related resource.Relationship.BuilderresourceType(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 Detail
-
resourceType
Relationship.Builder resourceType(String 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,ResourceType
-
resourceType
Relationship.Builder resourceType(ResourceType 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,ResourceType
-
resourceId
Relationship.Builder resourceId(String 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
Relationship.Builder resourceName(String 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
Relationship.Builder relationshipName(String 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.
-
-