CopyableBuilder<Relationship.Builder,Relationship>
, SdkBuilder<Relationship.Builder,Relationship>
public static interface Relationship.Builder extends CopyableBuilder<Relationship.Builder,Relationship>
Modifier and Type | Method | Description |
---|---|---|
Relationship.Builder |
relationshipName(String relationshipName) |
The type of relationship with the related resource.
|
Relationship.Builder |
resourceId(String resourceId) |
The ID of the related resource (for example,
sg-xxxxxx ). |
Relationship.Builder |
resourceName(String resourceName) |
The custom name of the related resource, if available.
|
Relationship.Builder |
resourceType(String resourceType) |
The resource type of the related resource.
|
Relationship.Builder |
resourceType(ResourceType resourceType) |
The resource type of the related resource.
|
copy
apply, build
Relationship.Builder resourceType(String resourceType)
The resource type of the related resource.
resourceType
- The resource type of the related resource.ResourceType
Relationship.Builder resourceType(ResourceType resourceType)
The resource type of the related resource.
resourceType
- The resource type of the related resource.ResourceType
Relationship.Builder resourceId(String resourceId)
The ID of the related resource (for example, sg-xxxxxx
).
resourceId
- The ID of the related resource (for example, sg-xxxxxx
).Relationship.Builder resourceName(String resourceName)
The custom name of the related resource, if available.
resourceName
- The custom name of the related resource, if available.Relationship.Builder relationshipName(String relationshipName)
The type of relationship with the related resource.
relationshipName
- The type of relationship with the related resource.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.