Class ResourceStatus
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.ResourceStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceStatus.Builder,ResourceStatus>
@Generated("software.amazon.awssdk:codegen") public final class ResourceStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceStatus.Builder,ResourceStatus>
Details the status 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 interfaceResourceStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceStatus.Builderbuilder()Statusec2()The status of Amazon Inspector scanning for Amazon EC2 resources.Stringec2AsString()The status of Amazon Inspector scanning for Amazon EC2 resources.Statusecr()The status of Amazon Inspector scanning for Amazon ECR resources.StringecrAsString()The status of Amazon Inspector scanning for Amazon ECR resources.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Statuslambda()The status of Amazon Inspector scanning for Amazon Web Services Lambda function.StringlambdaAsString()The status of Amazon Inspector scanning for Amazon Web Services Lambda function.StatuslambdaCode()The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.StringlambdaCodeAsString()The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.List<SdkField<?>>sdkFields()static Class<? extends ResourceStatus.Builder>serializableBuilderClass()ResourceStatus.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 Status ec2()
The status of Amazon Inspector scanning for Amazon EC2 resources.
If the service returns an enum value that is not available in the current SDK version,
ec2will returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromec2AsString().- Returns:
- The status of Amazon Inspector scanning for Amazon EC2 resources.
- See Also:
Status
-
ec2AsString
public final String ec2AsString()
The status of Amazon Inspector scanning for Amazon EC2 resources.
If the service returns an enum value that is not available in the current SDK version,
ec2will returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromec2AsString().- Returns:
- The status of Amazon Inspector scanning for Amazon EC2 resources.
- See Also:
Status
-
ecr
public final Status ecr()
The status of Amazon Inspector scanning for Amazon ECR resources.
If the service returns an enum value that is not available in the current SDK version,
ecrwill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromecrAsString().- Returns:
- The status of Amazon Inspector scanning for Amazon ECR resources.
- See Also:
Status
-
ecrAsString
public final String ecrAsString()
The status of Amazon Inspector scanning for Amazon ECR resources.
If the service returns an enum value that is not available in the current SDK version,
ecrwill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromecrAsString().- Returns:
- The status of Amazon Inspector scanning for Amazon ECR resources.
- See Also:
Status
-
lambda
public final Status lambda()
The status of Amazon Inspector scanning for Amazon Web Services Lambda function.
If the service returns an enum value that is not available in the current SDK version,
lambdawill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlambdaAsString().- Returns:
- The status of Amazon Inspector scanning for Amazon Web Services Lambda function.
- See Also:
Status
-
lambdaAsString
public final String lambdaAsString()
The status of Amazon Inspector scanning for Amazon Web Services Lambda function.
If the service returns an enum value that is not available in the current SDK version,
lambdawill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlambdaAsString().- Returns:
- The status of Amazon Inspector scanning for Amazon Web Services Lambda function.
- See Also:
Status
-
lambdaCode
public final Status lambdaCode()
The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.
If the service returns an enum value that is not available in the current SDK version,
lambdaCodewill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlambdaCodeAsString().- Returns:
- The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.
- See Also:
Status
-
lambdaCodeAsString
public final String lambdaCodeAsString()
The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.
If the service returns an enum value that is not available in the current SDK version,
lambdaCodewill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlambdaCodeAsString().- Returns:
- The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.
- See Also:
Status
-
toBuilder
public ResourceStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceStatus.Builder,ResourceStatus>
-
builder
public static ResourceStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceStatus.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.
-
-