Class ResourceState
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.ResourceState
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceState.Builder,ResourceState>
@Generated("software.amazon.awssdk:codegen") public final class ResourceState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceState.Builder,ResourceState>
Details the state of Amazon Inspector for each resource type Amazon Inspector scans.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResourceState.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceState.Builderbuilder()Stateec2()An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.Stateecr()An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Statelambda()Returns the value of the Lambda property for this object.StatelambdaCode()Returns the value of the LambdaCode property for this object.List<SdkField<?>>sdkFields()static Class<? extends ResourceState.Builder>serializableBuilderClass()ResourceState.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
-
ec2
public final State ec2()
An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
- Returns:
- An object detailing the state of Amazon Inspector scanning for Amazon EC2 resources.
-
ecr
public final State ecr()
An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
- Returns:
- An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.
-
lambda
public final State lambda()
Returns the value of the Lambda property for this object.- Returns:
- The value of the Lambda property for this object.
-
lambdaCode
public final State lambdaCode()
Returns the value of the LambdaCode property for this object.- Returns:
- The value of the LambdaCode property for this object.
-
toBuilder
public ResourceState.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceState.Builder,ResourceState>
-
builder
public static ResourceState.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceState.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.
-
-