public static interface Resource.Builder extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
Modifier and Type | Method and Description |
---|---|
Resource.Builder |
resourceName(String resourceName)
The name of the resource referenced by the event returned.
|
Resource.Builder |
resourceType(String resourceType)
The type of a resource referenced by the event returned.
|
copy
applyMutation, build
Resource.Builder resourceType(String resourceType)
The type of a resource referenced by the event returned. When the resource type cannot be determined, null is returned. Some examples of resource types are: Instance for EC2, Trail for CloudTrail, DBInstance for RDS, and AccessKey for IAM. For a list of resource types supported for event lookup, see Resource Types Supported for Event Lookup.
resourceType
- The type of a resource referenced by the event returned. When the resource type cannot be determined,
null is returned. Some examples of resource types are: Instance for EC2, Trail for
CloudTrail, DBInstance for RDS, and AccessKey for IAM. For a list of resource types
supported for event lookup, see Resource Types Supported for Event Lookup.Resource.Builder resourceName(String resourceName)
The name of the resource referenced by the event returned. These are user-created names whose values will depend on the environment. For example, the resource name might be "auto-scaling-test-group" for an Auto Scaling Group or "i-1234567" for an EC2 Instance.
resourceName
- The name of the resource referenced by the event returned. These are user-created names whose values
will depend on the environment. For example, the resource name might be "auto-scaling-test-group" for
an Auto Scaling Group or "i-1234567" for an EC2 Instance.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.