type ResourcePoolApplyConfiguration … // ResourcePoolApplyConfiguration constructs a declarative configuration of the ResourcePool type for use with // apply. func ResourcePool() *ResourcePoolApplyConfiguration { … } // WithName sets the Name 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 Name field is set to the value of the last call. func (b *ResourcePoolApplyConfiguration) WithName(value string) *ResourcePoolApplyConfiguration { … } // WithGeneration sets the Generation 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 Generation field is set to the value of the last call. func (b *ResourcePoolApplyConfiguration) WithGeneration(value int64) *ResourcePoolApplyConfiguration { … } // WithResourceSliceCount sets the ResourceSliceCount 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 ResourceSliceCount field is set to the value of the last call. func (b *ResourcePoolApplyConfiguration) WithResourceSliceCount(value int64) *ResourcePoolApplyConfiguration { … }