@Generated(value="software.amazon.awssdk:codegen") public final class Resource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Resource.Builder,Resource>
Contains information about the resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Resource.Builder |
| Modifier and Type | Method and Description |
|---|---|
AccessKeyDetails |
accessKeyDetails()
The IAM access key details (IAM user information) of a user that engaged in the activity that prompted GuardDuty
to generate a finding.
|
static Resource.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
InstanceDetails |
instanceDetails()
The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a
finding.
|
String |
resourceType()
The type of the AWS resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Resource.Builder> |
serializableBuilderClass() |
Resource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic AccessKeyDetails accessKeyDetails()
The IAM access key details (IAM user information) of a user that engaged in the activity that prompted GuardDuty to generate a finding.
public InstanceDetails instanceDetails()
The information about the EC2 instance associated with the activity that prompted GuardDuty to generate a finding.
public String resourceType()
The type of the AWS resource.
public Resource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Resource.Builder,Resource>public static Resource.Builder builder()
public static Class<? extends Resource.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.