Interface Resource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Resource.Builder,
,Resource> SdkBuilder<Resource.Builder,
,Resource> SdkPojo
- Enclosing class:
Resource
public static interface Resource.Builder
extends SdkPojo, CopyableBuilder<Resource.Builder,Resource>
-
Method Summary
Modifier and TypeMethodDescriptionresourceName
(String resourceName) The name of the resource referenced by the event returned.resourceType
(String resourceType) The type of a resource referenced by the event returned.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 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 Amazon RDS, and AccessKey for IAM. To learn more about how to look up and filter events by the resource types supported for a service, see Filtering CloudTrail Events.
- Parameters:
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 Amazon RDS, and AccessKey for IAM. To learn more about how to look up and filter events by the resource types supported for a service, see Filtering CloudTrail Events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-