Class GetIpamAddressHistoryRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.ec2.model.Ec2Request
-
- software.amazon.awssdk.services.ec2.model.GetIpamAddressHistoryRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetIpamAddressHistoryRequest.Builder,GetIpamAddressHistoryRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetIpamAddressHistoryRequest extends Ec2Request implements ToCopyableBuilder<GetIpamAddressHistoryRequest.Builder,GetIpamAddressHistoryRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetIpamAddressHistoryRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetIpamAddressHistoryRequest.Builderbuilder()Stringcidr()The CIDR you want the history of.BooleandryRun()A check for whether you have the required permissions for the action without actually making the request and provides an error response.InstantendTime()The end of the time period for which you are looking for history.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringipamScopeId()The ID of the IPAM scope that the CIDR is in.IntegermaxResults()The maximum number of historical results you would like returned per page.StringnextToken()The token for the next page of results.List<SdkField<?>>sdkFields()static Class<? extends GetIpamAddressHistoryRequest.Builder>serializableBuilderClass()InstantstartTime()The start of the time period for which you are looking for history.GetIpamAddressHistoryRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvpcId()The ID of the VPC you want your history records filtered by.-
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
-
dryRun
public final Boolean dryRun()
A check for whether you have the required permissions for the action without actually making the request and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- A check for whether you have the required permissions for the action without actually making the request
and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
-
cidr
public final String cidr()
The CIDR you want the history of. The CIDR can be an IPv4 or IPv6 IP address range. If you enter a /16 IPv4 CIDR, you will get records that match it exactly. You will not get records for any subnets within the /16 CIDR.
- Returns:
- The CIDR you want the history of. The CIDR can be an IPv4 or IPv6 IP address range. If you enter a /16 IPv4 CIDR, you will get records that match it exactly. You will not get records for any subnets within the /16 CIDR.
-
ipamScopeId
public final String ipamScopeId()
The ID of the IPAM scope that the CIDR is in.
- Returns:
- The ID of the IPAM scope that the CIDR is in.
-
vpcId
public final String vpcId()
The ID of the VPC you want your history records filtered by.
- Returns:
- The ID of the VPC you want your history records filtered by.
-
startTime
public final Instant startTime()
The start of the time period for which you are looking for history. If you omit this option, it will default to the value of EndTime.
- Returns:
- The start of the time period for which you are looking for history. If you omit this option, it will default to the value of EndTime.
-
endTime
public final Instant endTime()
The end of the time period for which you are looking for history. If you omit this option, it will default to the current time.
- Returns:
- The end of the time period for which you are looking for history. If you omit this option, it will default to the current time.
-
maxResults
public final Integer maxResults()
The maximum number of historical results you would like returned per page. Defaults to 100.
- Returns:
- The maximum number of historical results you would like returned per page. Defaults to 100.
-
nextToken
public final String nextToken()
The token for the next page of results.
- Returns:
- The token for the next page of results.
-
toBuilder
public GetIpamAddressHistoryRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetIpamAddressHistoryRequest.Builder,GetIpamAddressHistoryRequest>- Specified by:
toBuilderin classEc2Request
-
builder
public static GetIpamAddressHistoryRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetIpamAddressHistoryRequest.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
-
-