Class LambdaLayerAggregation
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.LambdaLayerAggregation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LambdaLayerAggregation.Builder,LambdaLayerAggregation>
@Generated("software.amazon.awssdk:codegen") public final class LambdaLayerAggregation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LambdaLayerAggregation.Builder,LambdaLayerAggregation>
The details that define a findings aggregation based on an AWS Lambda function's layers.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLambdaLayerAggregation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LambdaLayerAggregation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)List<StringFilter>functionNames()The names of the AWS Lambda functions associated with the layers.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasFunctionNames()For responses, this returns true if the service returned a value for the FunctionNames property.inthashCode()booleanhasLayerArns()For responses, this returns true if the service returned a value for the LayerArns property.booleanhasResourceIds()For responses, this returns true if the service returned a value for the ResourceIds property.List<StringFilter>layerArns()The Amazon Resource Name (ARN) of the AWS Lambda function layer.List<StringFilter>resourceIds()The resource IDs for the AWS Lambda function layers.List<SdkField<?>>sdkFields()static Class<? extends LambdaLayerAggregation.Builder>serializableBuilderClass()LambdaLayerSortBysortBy()The finding severity to use for sorting the results.StringsortByAsString()The finding severity to use for sorting the results.SortOrdersortOrder()The order to use for sorting the results.StringsortOrderAsString()The order to use for sorting the results.LambdaLayerAggregation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
hasFunctionNames
public final boolean hasFunctionNames()
For responses, this returns true if the service returned a value for the FunctionNames property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
functionNames
public final List<StringFilter> functionNames()
The names of the AWS Lambda functions associated with the layers.
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
hasFunctionNames()method.- Returns:
- The names of the AWS Lambda functions associated with the layers.
-
hasLayerArns
public final boolean hasLayerArns()
For responses, this returns true if the service returned a value for the LayerArns property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
layerArns
public final List<StringFilter> layerArns()
The Amazon Resource Name (ARN) of the AWS Lambda function layer.
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
hasLayerArns()method.- Returns:
- The Amazon Resource Name (ARN) of the AWS Lambda function layer.
-
hasResourceIds
public final boolean hasResourceIds()
For responses, this returns true if the service returned a value for the ResourceIds property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
resourceIds
public final List<StringFilter> resourceIds()
The resource IDs for the AWS Lambda function layers.
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
hasResourceIds()method.- Returns:
- The resource IDs for the AWS Lambda function layers.
-
sortBy
public final LambdaLayerSortBy sortBy()
The finding severity to use for sorting the results.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnLambdaLayerSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The finding severity to use for sorting the results.
- See Also:
LambdaLayerSortBy
-
sortByAsString
public final String sortByAsString()
The finding severity to use for sorting the results.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnLambdaLayerSortBy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The finding severity to use for sorting the results.
- See Also:
LambdaLayerSortBy
-
sortOrder
public final SortOrder sortOrder()
The order to use for sorting the results.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- The order to use for sorting the results.
- See Also:
SortOrder
-
sortOrderAsString
public final String sortOrderAsString()
The order to use for sorting the results.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- The order to use for sorting the results.
- See Also:
SortOrder
-
toBuilder
public LambdaLayerAggregation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LambdaLayerAggregation.Builder,LambdaLayerAggregation>
-
builder
public static LambdaLayerAggregation.Builder builder()
-
serializableBuilderClass
public static Class<? extends LambdaLayerAggregation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-