Class GetResourceConfigHistoryRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.config.model.ConfigRequest
-
- software.amazon.awssdk.services.config.model.GetResourceConfigHistoryRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetResourceConfigHistoryRequest.Builder,GetResourceConfigHistoryRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetResourceConfigHistoryRequest extends ConfigRequest implements ToCopyableBuilder<GetResourceConfigHistoryRequest.Builder,GetResourceConfigHistoryRequest>
The input for the GetResourceConfigHistory action.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetResourceConfigHistoryRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetResourceConfigHistoryRequest.Builderbuilder()ChronologicalOrderchronologicalOrder()The chronological order for configuration items listed.StringchronologicalOrderAsString()The chronological order for configuration items listed.InstantearlierTime()The chronologically earliest time in the time range for which the history requested.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlaterTime()The chronologically latest time in the time range for which the history requested.Integerlimit()The maximum number of configuration items returned on each page.StringnextToken()ThenextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.StringresourceId()The ID of the resource (for example.,sg-xxxxxx).ResourceTyperesourceType()The resource type.StringresourceTypeAsString()The resource type.List<SdkField<?>>sdkFields()static Class<? extends GetResourceConfigHistoryRequest.Builder>serializableBuilderClass()GetResourceConfigHistoryRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
resourceType
public final ResourceType resourceType()
The resource type.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The resource type.
- See Also:
ResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
The resource type.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The resource type.
- See Also:
ResourceType
-
resourceId
public final String resourceId()
The ID of the resource (for example.,
sg-xxxxxx).- Returns:
- The ID of the resource (for example.,
sg-xxxxxx).
-
laterTime
public final Instant laterTime()
The chronologically latest time in the time range for which the history requested. If not specified, current time is taken.
- Returns:
- The chronologically latest time in the time range for which the history requested. If not specified, current time is taken.
-
earlierTime
public final Instant earlierTime()
The chronologically earliest time in the time range for which the history requested. If not specified, the action returns paginated results that contain configuration items that start when the first configuration item was recorded.
- Returns:
- The chronologically earliest time in the time range for which the history requested. If not specified, the action returns paginated results that contain configuration items that start when the first configuration item was recorded.
-
chronologicalOrder
public final ChronologicalOrder chronologicalOrder()
The chronological order for configuration items listed. By default, the results are listed in reverse chronological order.
If the service returns an enum value that is not available in the current SDK version,
chronologicalOrderwill returnChronologicalOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchronologicalOrderAsString().- Returns:
- The chronological order for configuration items listed. By default, the results are listed in reverse chronological order.
- See Also:
ChronologicalOrder
-
chronologicalOrderAsString
public final String chronologicalOrderAsString()
The chronological order for configuration items listed. By default, the results are listed in reverse chronological order.
If the service returns an enum value that is not available in the current SDK version,
chronologicalOrderwill returnChronologicalOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromchronologicalOrderAsString().- Returns:
- The chronological order for configuration items listed. By default, the results are listed in reverse chronological order.
- See Also:
ChronologicalOrder
-
limit
public final Integer limit()
The maximum number of configuration items returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, Config uses the default.
- Returns:
- The maximum number of configuration items returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, Config uses the default.
-
nextToken
public final String nextToken()
The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.- Returns:
- The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
-
toBuilder
public GetResourceConfigHistoryRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetResourceConfigHistoryRequest.Builder,GetResourceConfigHistoryRequest>- Specified by:
toBuilderin classConfigRequest
-
builder
public static GetResourceConfigHistoryRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetResourceConfigHistoryRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-