Class CoverageResource
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.model.CoverageResource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CoverageResource.Builder,CoverageResource>
@Generated("software.amazon.awssdk:codegen") public final class CoverageResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CoverageResource.Builder,CoverageResource>
Information about the resource of the GuardDuty account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCoverageResource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The unique ID of the Amazon Web Services account.static CoverageResource.Builderbuilder()CoverageStatuscoverageStatus()Represents the status of the EKS cluster coverage.StringcoverageStatusAsString()Represents the status of the EKS cluster coverage.StringdetectorId()The unique ID of the GuardDuty detector associated with the resource.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringissue()Represents the reason why a coverage status wasUNHEALTHYfor the EKS cluster.CoverageResourceDetailsresourceDetails()Information about the resource for which the coverage statistics are retrieved.StringresourceId()The unique ID of the resource.List<SdkField<?>>sdkFields()static Class<? extends CoverageResource.Builder>serializableBuilderClass()CoverageResource.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The timestamp at which the coverage details for the resource were last updated.-
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
-
resourceId
public final String resourceId()
The unique ID of the resource.
- Returns:
- The unique ID of the resource.
-
detectorId
public final String detectorId()
The unique ID of the GuardDuty detector associated with the resource.
- Returns:
- The unique ID of the GuardDuty detector associated with the resource.
-
accountId
public final String accountId()
The unique ID of the Amazon Web Services account.
- Returns:
- The unique ID of the Amazon Web Services account.
-
resourceDetails
public final CoverageResourceDetails resourceDetails()
Information about the resource for which the coverage statistics are retrieved.
- Returns:
- Information about the resource for which the coverage statistics are retrieved.
-
coverageStatus
public final CoverageStatus coverageStatus()
Represents the status of the EKS cluster coverage.
If the service returns an enum value that is not available in the current SDK version,
coverageStatuswill returnCoverageStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcoverageStatusAsString().- Returns:
- Represents the status of the EKS cluster coverage.
- See Also:
CoverageStatus
-
coverageStatusAsString
public final String coverageStatusAsString()
Represents the status of the EKS cluster coverage.
If the service returns an enum value that is not available in the current SDK version,
coverageStatuswill returnCoverageStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcoverageStatusAsString().- Returns:
- Represents the status of the EKS cluster coverage.
- See Also:
CoverageStatus
-
issue
public final String issue()
Represents the reason why a coverage status was
UNHEALTHYfor the EKS cluster.- Returns:
- Represents the reason why a coverage status was
UNHEALTHYfor the EKS cluster.
-
updatedAt
public final Instant updatedAt()
The timestamp at which the coverage details for the resource were last updated. This is in UTC format.
- Returns:
- The timestamp at which the coverage details for the resource were last updated. This is in UTC format.
-
toBuilder
public CoverageResource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CoverageResource.Builder,CoverageResource>
-
builder
public static CoverageResource.Builder builder()
-
serializableBuilderClass
public static Class<? extends CoverageResource.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.
-
-