@Generated(value="software.amazon.awssdk:codegen") public final class GetResourceConfigHistoryRequest extends ConfigRequest implements ToCopyableBuilder<GetResourceConfigHistoryRequest.Builder,GetResourceConfigHistoryRequest>
The input for the GetResourceConfigHistory action.
Modifier and Type | Class and Description |
---|---|
static interface |
GetResourceConfigHistoryRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetResourceConfigHistoryRequest.Builder |
builder() |
ChronologicalOrder |
chronologicalOrder()
The chronological order for configuration items listed.
|
String |
chronologicalOrderAsString()
The chronological order for configuration items listed.
|
Instant |
earlierTime()
The time stamp that indicates an earlier time.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Instant |
laterTime()
The time stamp that indicates a later time.
|
Integer |
limit()
The maximum number of configuration items returned on each page.
|
String |
nextToken()
The
nextToken string returned on a previous page that you use to get the next page of results in a
paginated response. |
String |
resourceId()
The ID of the resource (for example.,
sg-xxxxxx ). |
ResourceType |
resourceType()
The resource type.
|
String |
resourceTypeAsString()
The resource type.
|
static Class<? extends GetResourceConfigHistoryRequest.Builder> |
serializableBuilderClass() |
GetResourceConfigHistoryRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public ResourceType resourceType()
The resource type.
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return ResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
resourceTypeAsString()
.
ResourceType
public String resourceTypeAsString()
The resource type.
If the service returns an enum value that is not available in the current SDK version, resourceType
will
return ResourceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
resourceTypeAsString()
.
ResourceType
public String resourceId()
The ID of the resource (for example., sg-xxxxxx
).
sg-xxxxxx
).public Instant laterTime()
The time stamp that indicates a later time. If not specified, current time is taken.
public Instant earlierTime()
The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start from when the first configuration item was recorded.
public 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,
chronologicalOrder
will return ChronologicalOrder.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from chronologicalOrderAsString()
.
ChronologicalOrder
public 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,
chronologicalOrder
will return ChronologicalOrder.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from chronologicalOrderAsString()
.
ChronologicalOrder
public Integer limit()
The maximum number of configuration items returned on each page. The default is 10. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.
public String nextToken()
The nextToken
string returned on a previous page that you use to get the next page of results in a
paginated response.
nextToken
string returned on a previous page that you use to get the next page of
results in a paginated response.public GetResourceConfigHistoryRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GetResourceConfigHistoryRequest.Builder,GetResourceConfigHistoryRequest>
toBuilder
in class ConfigRequest
public static GetResourceConfigHistoryRequest.Builder builder()
public static Class<? extends GetResourceConfigHistoryRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.