Class AssociateVpcWithHostedZoneRequest
- 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.AssociateVpcWithHostedZoneRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<AssociateVpcWithHostedZoneRequest.Builder,AssociateVpcWithHostedZoneRequest>
@Generated("software.amazon.awssdk:codegen") public final class AssociateVpcWithHostedZoneRequest extends Route53Request implements ToCopyableBuilder<AssociateVpcWithHostedZoneRequest.Builder,AssociateVpcWithHostedZoneRequest>
A complex type that contains information about the request to associate a VPC with a private hosted zone.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAssociateVpcWithHostedZoneRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssociateVpcWithHostedZoneRequest.Builderbuilder()Stringcomment()Optional: A comment about the association request.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhostedZoneId()The ID of the private hosted zone that you want to associate an Amazon VPC with.List<SdkField<?>>sdkFields()static Class<? extends AssociateVpcWithHostedZoneRequest.Builder>serializableBuilderClass()AssociateVpcWithHostedZoneRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.VPCvpc()A complex type that contains information about the VPC that you want to associate with a private hosted zone.-
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
-
hostedZoneId
public final String hostedZoneId()
The ID of the private hosted zone that you want to associate an Amazon VPC with.
Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association.
- Returns:
- The ID of the private hosted zone that you want to associate an Amazon VPC with.
Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association.
-
vpc
public final VPC vpc()
A complex type that contains information about the VPC that you want to associate with a private hosted zone.
- Returns:
- A complex type that contains information about the VPC that you want to associate with a private hosted zone.
-
comment
public final String comment()
Optional: A comment about the association request.
- Returns:
- Optional: A comment about the association request.
-
toBuilder
public AssociateVpcWithHostedZoneRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AssociateVpcWithHostedZoneRequest.Builder,AssociateVpcWithHostedZoneRequest>- Specified by:
toBuilderin classRoute53Request
-
builder
public static AssociateVpcWithHostedZoneRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends AssociateVpcWithHostedZoneRequest.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
-
-