func expandVMwareIpfixConfig(d *schema.ResourceData) *types.VMwareIpfixConfig {
	obj := &types.VMwareIpfixConfig{
		ActiveFlowTimeout:   int32(d.Get("netflow_active_flow_timeout").(int)),
		CollectorIpAddress:  d.Get("netflow_collector_ip_address").(string),
		CollectorPort:       int32(d.Get("netflow_collector_port").(int)),
		IdleFlowTimeout:     int32(d.Get("netflow_idle_flow_timeout").(int)),
		InternalFlowsOnly:   d.Get("netflow_internal_flows_only").(bool),
		ObservationDomainId: int64(d.Get("netflow_observation_domain_id").(int)),
		SamplingRate:        int32(d.Get("netflow_sampling_rate").(int)),
	}
	return obj
}
func expandVMwareIpfixConfig(d *schema.ResourceData) *types.VMwareIpfixConfig {
	obj := &types.VMwareIpfixConfig{
		ActiveFlowTimeout:   int32(d.Get("netflow_active_flow_timeout").(int)),
		CollectorIpAddress:  d.Get("netflow_collector_ip_address").(string),
		CollectorPort:       int32(d.Get("netflow_collector_port").(int)),
		IdleFlowTimeout:     int32(d.Get("netflow_idle_flow_timeout").(int)),
		InternalFlowsOnly:   d.Get("netflow_internal_flows_only").(bool),
		ObservationDomainId: int64(d.Get("netflow_observation_domain_id").(int)),
		SamplingRate:        int32(d.Get("netflow_sampling_rate").(int)),
	}
	return obj
}
func expandVMwareIpfixConfig ( d * schema . ResourceData ) * types . VMwareIpfixConfig { obj := & types . VMwareIpfixConfig { ActiveFlowTimeout : int32 ( d . Get ( " " ) . ( int ) ) , CollectorIpAddress : d . Get ( " " ) . ( string ) , CollectorPort : int32 ( d . Get ( " " ) . ( int ) ) , IdleFlowTimeout : int32 ( d . Get ( " " ) . ( int ) ) , InternalFlowsOnly : d . Get ( " " ) . ( bool ) , ObservationDomainId : int64 ( d . Get ( " " ) . ( int ) ) , SamplingRate : int32 ( d . Get ( " " ) . ( int ) ) , } return obj }
// expandVMwareIpfixConfig reads certain ResourceData keys and
// returns a VMwareIpfixConfig.
expandVMwareIpfixConfig reads certain ResourceData keys and returns a VMwareIpfixConfig .