@Generated(value="software.amazon.awssdk:codegen") public final class ResourceId extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceId.Builder,ResourceId>
The identifier for a resource object that contains resources where a finding was detected.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceId.Builder |
static class |
ResourceId.Type |
| Modifier and Type | Method and Description |
|---|---|
static ResourceId.Builder |
builder() |
String |
codeArtifactId()
The identifier for the code file uploaded to the resource where a finding was detected.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static ResourceId |
fromCodeArtifactId(String codeArtifactId)
Create an instance of this class with
codeArtifactId() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceId.Builder> |
serializableBuilderClass() |
ResourceId.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ResourceId.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String codeArtifactId()
The identifier for the code file uploaded to the resource where a finding was detected.
public ResourceId.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResourceId.Builder,ResourceId>public static ResourceId.Builder builder()
public static Class<? extends ResourceId.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static ResourceId fromCodeArtifactId(String codeArtifactId)
codeArtifactId() initialized to the given value.
The identifier for the code file uploaded to the resource where a finding was detected.
codeArtifactId - The identifier for the code file uploaded to the resource where a finding was detected.public ResourceId.Type type()
ResourceId.Type.UNKNOWN_TO_SDK_VERSION if the
service returned a member that is only known to a newer SDK version.
When this class is created directly in your code, this will be ResourceId.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.