Class ListHostedZonesByVpcRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.route53.model.Route53Request
-
- software.amazon.awssdk.services.route53.model.ListHostedZonesByVpcRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListHostedZonesByVpcRequest.Builder,ListHostedZonesByVpcRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListHostedZonesByVpcRequest extends Route53Request implements ToCopyableBuilder<ListHostedZonesByVpcRequest.Builder,ListHostedZonesByVpcRequest>
Lists all the private hosted zones that a specified VPC is associated with, regardless of which Amazon Web Services account created the hosted zones.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListHostedZonesByVpcRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListHostedZonesByVpcRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmaxItems()(Optional) The maximum number of hosted zones that you want Amazon Route 53 to return.StringnextToken()If the previous response included aNextTokenelement, the specified VPC is associated with more hosted zones.List<SdkField<?>>sdkFields()static Class<? extends ListHostedZonesByVpcRequest.Builder>serializableBuilderClass()ListHostedZonesByVpcRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringvpcId()The ID of the Amazon VPC that you want to list hosted zones for.VPCRegionvpcRegion()For the Amazon VPC that you specified forVPCId, the Amazon Web Services Region that you created the VPC in.StringvpcRegionAsString()For the Amazon VPC that you specified forVPCId, the Amazon Web Services Region that you created the VPC in.-
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
-
vpcId
public final String vpcId()
The ID of the Amazon VPC that you want to list hosted zones for.
- Returns:
- The ID of the Amazon VPC that you want to list hosted zones for.
-
vpcRegion
public final VPCRegion vpcRegion()
For the Amazon VPC that you specified for
VPCId, the Amazon Web Services Region that you created the VPC in.If the service returns an enum value that is not available in the current SDK version,
vpcRegionwill returnVPCRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvpcRegionAsString().- Returns:
- For the Amazon VPC that you specified for
VPCId, the Amazon Web Services Region that you created the VPC in. - See Also:
VPCRegion
-
vpcRegionAsString
public final String vpcRegionAsString()
For the Amazon VPC that you specified for
VPCId, the Amazon Web Services Region that you created the VPC in.If the service returns an enum value that is not available in the current SDK version,
vpcRegionwill returnVPCRegion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvpcRegionAsString().- Returns:
- For the Amazon VPC that you specified for
VPCId, the Amazon Web Services Region that you created the VPC in. - See Also:
VPCRegion
-
maxItems
public final String maxItems()
(Optional) The maximum number of hosted zones that you want Amazon Route 53 to return. If the specified VPC is associated with more than
MaxItemshosted zones, the response includes aNextTokenelement.NextTokencontains an encrypted token that identifies the first hosted zone that Route 53 will return if you submit another request.- Returns:
- (Optional) The maximum number of hosted zones that you want Amazon Route 53 to return. If the specified
VPC is associated with more than
MaxItemshosted zones, the response includes aNextTokenelement.NextTokencontains an encrypted token that identifies the first hosted zone that Route 53 will return if you submit another request.
-
nextToken
public final String nextToken()
If the previous response included a
NextTokenelement, the specified VPC is associated with more hosted zones. To get more hosted zones, submit anotherListHostedZonesByVPCrequest.For the value of
NextToken, specify the value ofNextTokenfrom the previous response.If the previous response didn't include a
NextTokenelement, there are no more hosted zones to get.- Returns:
- If the previous response included a
NextTokenelement, the specified VPC is associated with more hosted zones. To get more hosted zones, submit anotherListHostedZonesByVPCrequest.For the value of
NextToken, specify the value ofNextTokenfrom the previous response.If the previous response didn't include a
NextTokenelement, there are no more hosted zones to get.
-
toBuilder
public ListHostedZonesByVpcRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListHostedZonesByVpcRequest.Builder,ListHostedZonesByVpcRequest>- Specified by:
toBuilderin classRoute53Request
-
builder
public static ListHostedZonesByVpcRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListHostedZonesByVpcRequest.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
-
-