Class CollectorHealthCheck
- java.lang.Object
-
- software.amazon.awssdk.services.databasemigration.model.CollectorHealthCheck
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CollectorHealthCheck.Builder,CollectorHealthCheck>
@Generated("software.amazon.awssdk:codegen") public final class CollectorHealthCheck extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CollectorHealthCheck.Builder,CollectorHealthCheck>
Describes the last Fleet Advisor collector health check.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCollectorHealthCheck.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CollectorHealthCheck.Builderbuilder()CollectorStatuscollectorStatus()The status of the Fleet Advisor collector.StringcollectorStatusAsString()The status of the Fleet Advisor collector.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanlocalCollectorS3Access()Whether the local collector can access its Amazon S3 bucket.List<SdkField<?>>sdkFields()static Class<? extends CollectorHealthCheck.Builder>serializableBuilderClass()CollectorHealthCheck.BuildertoBuilder()StringtoString()Returns a string representation of this object.BooleanwebCollectorGrantedRoleBasedAccess()Whether the role that you provided when creating the Fleet Advisor collector has sufficient permissions to access the Fleet Advisor web collector.BooleanwebCollectorS3Access()Whether the web collector can access its Amazon S3 bucket.-
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
-
collectorStatus
public final CollectorStatus collectorStatus()
The status of the Fleet Advisor collector.
If the service returns an enum value that is not available in the current SDK version,
collectorStatuswill returnCollectorStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcollectorStatusAsString().- Returns:
- The status of the Fleet Advisor collector.
- See Also:
CollectorStatus
-
collectorStatusAsString
public final String collectorStatusAsString()
The status of the Fleet Advisor collector.
If the service returns an enum value that is not available in the current SDK version,
collectorStatuswill returnCollectorStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcollectorStatusAsString().- Returns:
- The status of the Fleet Advisor collector.
- See Also:
CollectorStatus
-
localCollectorS3Access
public final Boolean localCollectorS3Access()
Whether the local collector can access its Amazon S3 bucket.
- Returns:
- Whether the local collector can access its Amazon S3 bucket.
-
webCollectorS3Access
public final Boolean webCollectorS3Access()
Whether the web collector can access its Amazon S3 bucket.
- Returns:
- Whether the web collector can access its Amazon S3 bucket.
-
webCollectorGrantedRoleBasedAccess
public final Boolean webCollectorGrantedRoleBasedAccess()
Whether the role that you provided when creating the Fleet Advisor collector has sufficient permissions to access the Fleet Advisor web collector.
- Returns:
- Whether the role that you provided when creating the Fleet Advisor collector has sufficient permissions to access the Fleet Advisor web collector.
-
toBuilder
public CollectorHealthCheck.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CollectorHealthCheck.Builder,CollectorHealthCheck>
-
builder
public static CollectorHealthCheck.Builder builder()
-
serializableBuilderClass
public static Class<? extends CollectorHealthCheck.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.
-
-