All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sisioh.aws4s.eb.model.RichCheckDNSAvailabilityRequest.scala Maven / Gradle / Ivy

There is a newer version: 1.0.16
Show newest version
package org.sisioh.aws4s.eb.model

import com.amazonaws.services.elasticbeanstalk.model.CheckDNSAvailabilityRequest
import org.sisioh.aws4s.PimpedType

object CheckDNSAvailabilityRequestFactory {

  def create() = new CheckDNSAvailabilityRequest()

  def create(cNAMEPrefix: String) = new CheckDNSAvailabilityRequest(cNAMEPrefix)

}

class RichCheckDNSAvailabilityRequest(val underlying: CheckDNSAvailabilityRequest)
    extends AnyVal with PimpedType[CheckDNSAvailabilityRequest] {

  def cNAMEPrefixOpt: Option[String] = Option(underlying.getCNAMEPrefix)

  def cNAMEPrefixOpt_=(value: Option[String]): Unit =
    underlying.setCNAMEPrefix(value.orNull)

  def withCNAMEPrefixOpt(value: Option[String]): CheckDNSAvailabilityRequest =
    underlying.withCNAMEPrefix(value.orNull)

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy