Class FreeTrialInfo
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.FreeTrialInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FreeTrialInfo.Builder,FreeTrialInfo>
@Generated("software.amazon.awssdk:codegen") public final class FreeTrialInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FreeTrialInfo.Builder,FreeTrialInfo>
An object that contains information about the Amazon Inspector free trial for an account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFreeTrialInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FreeTrialInfo.Builderbuilder()Instantend()The date and time that the Amazon Inspector free trail ends for a given account.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends FreeTrialInfo.Builder>serializableBuilderClass()Instantstart()The date and time that the Amazon Inspector free trail started for a given account.FreeTrialStatusstatus()The order to sort results by.StringstatusAsString()The order to sort results by.FreeTrialInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.FreeTrialTypetype()The type of scan covered by the Amazon Inspector free trail.StringtypeAsString()The type of scan covered by the Amazon Inspector free trail.-
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
-
end
public final Instant end()
The date and time that the Amazon Inspector free trail ends for a given account.
- Returns:
- The date and time that the Amazon Inspector free trail ends for a given account.
-
start
public final Instant start()
The date and time that the Amazon Inspector free trail started for a given account.
- Returns:
- The date and time that the Amazon Inspector free trail started for a given account.
-
status
public final FreeTrialStatus status()
The order to sort results by.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnFreeTrialStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The order to sort results by.
- See Also:
FreeTrialStatus
-
statusAsString
public final String statusAsString()
The order to sort results by.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnFreeTrialStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The order to sort results by.
- See Also:
FreeTrialStatus
-
type
public final FreeTrialType type()
The type of scan covered by the Amazon Inspector free trail.
If the service returns an enum value that is not available in the current SDK version,
typewill returnFreeTrialType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of scan covered by the Amazon Inspector free trail.
- See Also:
FreeTrialType
-
typeAsString
public final String typeAsString()
The type of scan covered by the Amazon Inspector free trail.
If the service returns an enum value that is not available in the current SDK version,
typewill returnFreeTrialType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of scan covered by the Amazon Inspector free trail.
- See Also:
FreeTrialType
-
toBuilder
public FreeTrialInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FreeTrialInfo.Builder,FreeTrialInfo>
-
builder
public static FreeTrialInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends FreeTrialInfo.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.
-
-