// Code generated by applyconfiguration-gen. DO NOT EDIT. package v1 // StaticIPAMAddressesApplyConfiguration represents an declarative configuration of the StaticIPAMAddresses type for use // with apply. type StaticIPAMAddressesApplyConfiguration struct { Address *string `json:"address,omitempty"` Gateway *string `json:"gateway,omitempty"` } // StaticIPAMAddressesApplyConfiguration constructs an declarative configuration of the StaticIPAMAddresses type for use with // apply. func StaticIPAMAddresses() *StaticIPAMAddressesApplyConfiguration { return &StaticIPAMAddressesApplyConfiguration{} } // WithAddress sets the Address 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 Address field is set to the value of the last call. func (b *StaticIPAMAddressesApplyConfiguration) WithAddress(value string) *StaticIPAMAddressesApplyConfiguration { b.Address = &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 *StaticIPAMAddressesApplyConfiguration) WithGateway(value string) *StaticIPAMAddressesApplyConfiguration { b.Gateway = &value return b }