@Generated(value="software.amazon.awssdk:codegen") public final class ResourceFilterCriteria extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceFilterCriteria.Builder,ResourceFilterCriteria>
The resource filter criteria for a Software bill of materials (SBOM) report.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceFilterCriteria.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<ResourceStringFilter> |
accountId()
The account IDs used as resource filter criteria.
|
static ResourceFilterCriteria.Builder |
builder() |
List<ResourceMapFilter> |
ec2InstanceTags()
The EC2 instance tags used as resource filter criteria.
|
List<ResourceStringFilter> |
ecrImageTags()
The ECR image tags used as resource filter criteria.
|
List<ResourceStringFilter> |
ecrRepositoryName()
The ECR repository names used as resource filter criteria.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAccountId()
For responses, this returns true if the service returned a value for the AccountId property.
|
boolean |
hasEc2InstanceTags()
For responses, this returns true if the service returned a value for the Ec2InstanceTags property.
|
boolean |
hasEcrImageTags()
For responses, this returns true if the service returned a value for the EcrImageTags property.
|
boolean |
hasEcrRepositoryName()
For responses, this returns true if the service returned a value for the EcrRepositoryName property.
|
int |
hashCode() |
boolean |
hasLambdaFunctionName()
For responses, this returns true if the service returned a value for the LambdaFunctionName property.
|
boolean |
hasLambdaFunctionTags()
For responses, this returns true if the service returned a value for the LambdaFunctionTags property.
|
boolean |
hasResourceId()
For responses, this returns true if the service returned a value for the ResourceId property.
|
boolean |
hasResourceType()
For responses, this returns true if the service returned a value for the ResourceType property.
|
List<ResourceStringFilter> |
lambdaFunctionName()
The AWS Lambda function name used as resource filter criteria.
|
List<ResourceMapFilter> |
lambdaFunctionTags()
The AWS Lambda function tags used as resource filter criteria.
|
List<ResourceStringFilter> |
resourceId()
The resource IDs used as resource filter criteria.
|
List<ResourceStringFilter> |
resourceType()
The resource types used as resource filter criteria.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceFilterCriteria.Builder> |
serializableBuilderClass() |
ResourceFilterCriteria.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAccountId()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<ResourceStringFilter> accountId()
The account IDs used as resource filter criteria.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAccountId() method.
public final boolean hasEc2InstanceTags()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ResourceMapFilter> ec2InstanceTags()
The EC2 instance tags used as resource filter criteria.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEc2InstanceTags() method.
public final boolean hasEcrImageTags()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ResourceStringFilter> ecrImageTags()
The ECR image tags used as resource filter criteria.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEcrImageTags() method.
public final boolean hasEcrRepositoryName()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ResourceStringFilter> ecrRepositoryName()
The ECR repository names used as resource filter criteria.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEcrRepositoryName() method.
public final boolean hasLambdaFunctionName()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ResourceStringFilter> lambdaFunctionName()
The AWS Lambda function name used as resource filter criteria.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLambdaFunctionName() method.
public final boolean hasLambdaFunctionTags()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ResourceMapFilter> lambdaFunctionTags()
The AWS Lambda function tags used as resource filter criteria.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLambdaFunctionTags() method.
public final boolean hasResourceId()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<ResourceStringFilter> resourceId()
The resource IDs used as resource filter criteria.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResourceId() method.
public final boolean hasResourceType()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<ResourceStringFilter> resourceType()
The resource types used as resource filter criteria.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasResourceType() method.
public ResourceFilterCriteria.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResourceFilterCriteria.Builder,ResourceFilterCriteria>public static ResourceFilterCriteria.Builder builder()
public static Class<? extends ResourceFilterCriteria.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.