// Code generated by applyconfiguration-gen. DO NOT EDIT. package v1 // StaticIPAMRoutesApplyConfiguration represents an declarative configuration of the StaticIPAMRoutes type for use // with apply. type StaticIPAMRoutesApplyConfiguration struct { Destination *string `json:"destination,omitempty"` Gateway *string `json:"gateway,omitempty"` } // StaticIPAMRoutesApplyConfiguration constructs an declarative configuration of the StaticIPAMRoutes type for use with // apply. func StaticIPAMRoutes() *StaticIPAMRoutesApplyConfiguration { return &StaticIPAMRoutesApplyConfiguration{} } // WithDestination sets the Destination field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Destination field is set to the value of the last call. func (b *StaticIPAMRoutesApplyConfiguration) WithDestination(value string) *StaticIPAMRoutesApplyConfiguration { b.Destination = &value return b } // WithGateway sets the Gateway field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Gateway field is set to the value of the last call. func (b *StaticIPAMRoutesApplyConfiguration) WithGateway(value string) *StaticIPAMRoutesApplyConfiguration { b.Gateway = &value return b }