Class CoverageEc2InstanceDetails
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.model.CoverageEc2InstanceDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CoverageEc2InstanceDetails.Builder,CoverageEc2InstanceDetails>
@Generated("software.amazon.awssdk:codegen") public final class CoverageEc2InstanceDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CoverageEc2InstanceDetails.Builder,CoverageEc2InstanceDetails>
Contains information about the Amazon EC2 instance runtime coverage details.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCoverageEc2InstanceDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentDetailsagentDetails()Information about the installed security agent.static CoverageEc2InstanceDetails.Builderbuilder()StringclusterArn()The cluster ARN of the Amazon ECS cluster running on the Amazon EC2 instance.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceId()The Amazon EC2 instance ID.StringinstanceType()The instance type of the Amazon EC2 instance.ManagementTypemanagementType()Indicates how the GuardDuty security agent is managed for this resource.StringmanagementTypeAsString()Indicates how the GuardDuty security agent is managed for this resource.List<SdkField<?>>sdkFields()static Class<? extends CoverageEc2InstanceDetails.Builder>serializableBuilderClass()CoverageEc2InstanceDetails.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
-
instanceId
public final String instanceId()
The Amazon EC2 instance ID.
- Returns:
- The Amazon EC2 instance ID.
-
instanceType
public final String instanceType()
The instance type of the Amazon EC2 instance.
- Returns:
- The instance type of the Amazon EC2 instance.
-
clusterArn
public final String clusterArn()
The cluster ARN of the Amazon ECS cluster running on the Amazon EC2 instance.
- Returns:
- The cluster ARN of the Amazon ECS cluster running on the Amazon EC2 instance.
-
agentDetails
public final AgentDetails agentDetails()
Information about the installed security agent.
- Returns:
- Information about the installed security agent.
-
managementType
public final ManagementType managementType()
Indicates how the GuardDuty security agent is managed for this resource.
-
AUTO_MANAGEDindicates that GuardDuty deploys and manages updates for this resource. -
MANUALindicates that you are responsible to deploy, update, and manage the GuardDuty security agent updates for this resource.
The
DISABLEDstatus doesn't apply to Amazon EC2 instances and Amazon EKS clusters.If the service returns an enum value that is not available in the current SDK version,
managementTypewill returnManagementType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommanagementTypeAsString().- Returns:
- Indicates how the GuardDuty security agent is managed for this resource.
-
AUTO_MANAGEDindicates that GuardDuty deploys and manages updates for this resource. -
MANUALindicates that you are responsible to deploy, update, and manage the GuardDuty security agent updates for this resource.
The
DISABLEDstatus doesn't apply to Amazon EC2 instances and Amazon EKS clusters. -
- See Also:
ManagementType
-
-
managementTypeAsString
public final String managementTypeAsString()
Indicates how the GuardDuty security agent is managed for this resource.
-
AUTO_MANAGEDindicates that GuardDuty deploys and manages updates for this resource. -
MANUALindicates that you are responsible to deploy, update, and manage the GuardDuty security agent updates for this resource.
The
DISABLEDstatus doesn't apply to Amazon EC2 instances and Amazon EKS clusters.If the service returns an enum value that is not available in the current SDK version,
managementTypewill returnManagementType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommanagementTypeAsString().- Returns:
- Indicates how the GuardDuty security agent is managed for this resource.
-
AUTO_MANAGEDindicates that GuardDuty deploys and manages updates for this resource. -
MANUALindicates that you are responsible to deploy, update, and manage the GuardDuty security agent updates for this resource.
The
DISABLEDstatus doesn't apply to Amazon EC2 instances and Amazon EKS clusters. -
- See Also:
ManagementType
-
-
toBuilder
public CoverageEc2InstanceDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CoverageEc2InstanceDetails.Builder,CoverageEc2InstanceDetails>
-
builder
public static CoverageEc2InstanceDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends CoverageEc2InstanceDetails.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.
-
-