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()An object that described the state of Amazon Inspector scans for an account.StatelambdaCode()An object that described the state of Amazon Inspector scans for an account.Map<String,SdkField<?>>sdkFieldNameToField()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()
An object that described the state of Amazon Inspector scans for an account.
- Returns:
- An object that described the state of Amazon Inspector scans for an account.
-
lambdaCode
public final State lambdaCode()
An object that described the state of Amazon Inspector scans for an account.
- Returns:
- An object that described the state of Amazon Inspector scans for an account.
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-