public static interface Relationship.Builder extends CopyableBuilder<Relationship.Builder,Relationship>
Modifier and Type | Method and 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(ResourceType resourceType)
The resource type of the related resource.
|
Relationship.Builder |
resourceType(String resourceType)
The resource type of the related resource.
|
copy
applyMutation, build
Relationship.Builder resourceType(String resourceType)
The resource type of the related resource.
resourceType
- The resource type of the related resource.ResourceType
,
ResourceType
Relationship.Builder resourceType(ResourceType resourceType)
The resource type of the related resource.
resourceType
- The resource type of the related resource.ResourceType
,
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.