Class NsRecordProps.Jsii$Proxy
- All Implemented Interfaces:
NsRecordProps
,RecordSetOptions
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
NsRecordProps
NsRecordProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.route53.NsRecordProps
NsRecordProps.Builder, NsRecordProps.Jsii$Proxy
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Jsii$Proxy
(NsRecordProps.Builder builder) Constructor that initializes the object based on literal property values passed by theNsRecordProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
A comment to add on the record.final Boolean
Whether to delete the same record set in the hosted zone if it already exists (dangerous!).final GeoLocation
The geographical origin for this record to return DNS records based on the user's location.final String
The subdomain name for this record.final Duration
getTtl()
The resource record cache time to live (TTL).The NS values.final IHostedZone
getZone()
The hosted zone in which to define the new record.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theNsRecordProps.Builder
.
-
-
Method Details
-
getValues
Description copied from interface:NsRecordProps
The NS values.- Specified by:
getValues
in interfaceNsRecordProps
-
getZone
Description copied from interface:RecordSetOptions
The hosted zone in which to define the new record.- Specified by:
getZone
in interfaceRecordSetOptions
-
getComment
Description copied from interface:RecordSetOptions
A comment to add on the record.Default: no comment
- Specified by:
getComment
in interfaceRecordSetOptions
-
getDeleteExisting
Description copied from interface:RecordSetOptions
Whether to delete the same record set in the hosted zone if it already exists (dangerous!).This allows to deploy a new record set while minimizing the downtime because the new record set will be created immediately after the existing one is deleted. It also avoids "manual" actions to delete existing record sets.
N.B.: this feature is dangerous, use with caution! It can only be used safely when
deleteExisting
is set totrue
as soon as the resource is added to the stack. Changing an existing Record Set'sdeleteExisting
property fromfalse -> true
after deployment will delete the record!Default: false
- Specified by:
getDeleteExisting
in interfaceRecordSetOptions
-
getGeoLocation
Description copied from interface:RecordSetOptions
The geographical origin for this record to return DNS records based on the user's location.- Specified by:
getGeoLocation
in interfaceRecordSetOptions
-
getRecordName
Description copied from interface:RecordSetOptions
The subdomain name for this record. This should be relative to the zone root name.For example, if you want to create a record for acme.example.com, specify "acme".
You can also specify the fully qualified domain name which terminates with a ".". For example, "acme.example.com.".
Default: zone root
- Specified by:
getRecordName
in interfaceRecordSetOptions
-
getTtl
Description copied from interface:RecordSetOptions
The resource record cache time to live (TTL).Default: Duration.minutes(30)
- Specified by:
getTtl
in interfaceRecordSetOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-